Fixed and unified pthread_once.
[glibc.git] / ChangeLog
blob0fdc6b5a57f6310d5fb47f1e09006569f5e147cc
1 2014-04-11  Torvald Riegel  <triegel@redhat.com>
3         [BZ #15215]
4         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
6         memory barriers.  Add comments.
7         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
8         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
10         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
12         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
14 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
17         * sysdeps/s390/s390-64/configure.ac: ... this ...
18         * sysdeps/s390/configure.ac: ... to here.
19         * sysdeps/s390/s390-32/configure: Delete file.
20         * sysdeps/s390/s390-64/configure: Delete file.
21         * sysdeps/s390/configure: Regenerate.
23 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
25         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
27 2014-04-11  Will Newton  <will.newton@linaro.org>
29         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
30         to zero if it is not defined elsewhere.  (mtrim): Test
31         the value of MALLOC_DEBUG with #if rather than #ifdef.
33 2014-04-10 Torvald Riegel  <triegel@redhat.com>
35         * benchtests/pthread_once-inputs: New file.
36         * benchtests/pthread_once-source.c: New file.
37         * benchtests/README: Update documentation.
39 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
40             H.J. Lu  <hongjiu.lu@intel.com>
42         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
43         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
44         * sysdeps/x86_64/configure: Regenerated.
45         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
46         macro.
47         (REGISTER_SAVE_RAX): Likewise.
48         (REGISTER_SAVE_RCX): Likewise.
49         (REGISTER_SAVE_RDX): Likewise.
50         (REGISTER_SAVE_RSI): Likewise.
51         (REGISTER_SAVE_RDI): Likewise.
52         (REGISTER_SAVE_R8): Likewise.
53         (REGISTER_SAVE_R9): Likewise.
54         (REGISTER_SAVE_BND0): Likewise.
55         (REGISTER_SAVE_BND1): Likewise.
56         (REGISTER_SAVE_BND2): Likewise.
57         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
58         bound registers when calling _dl_fixup.
60 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
63         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead of its
64         definition.
65         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
66         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
67         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
68         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
69         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
70         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
71         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
73 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
75         [BZ #15514]
76         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
77         pathconf(_PC_NAME_MAX).
79 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
82         Remove macro usage.
83         (__PTHREAD_SPINS): Move definition to ...
84         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
85         (__PTHREAD_SPINS): ... here.
86         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
87         (__PTHREAD_SPIN): Likewise.
88         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
89         (__PTHREAD_SPIN): Likewise.
90         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
91         (__PTHREAD_SPIN): Likewise.
92         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
93         (__PTHREAD_SPIN): Likewise.
94         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
95         (__PTHREAD_SPIN): Likewise.
96         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
97         (__PTHREAD_SPIN): Likewise.
98         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
99         (__PTHREAD_SPIN): Likewise.
100         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
101         (__PTHREAD_SPIN): Likewise.
102         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
103         (__PTHREAD_SPIN): Likewise.
104         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
105         (__PTHREAD_SPIN): Likewise.
106         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
107         (__PTHREAD_SPIN): Likewise.
108         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
109         (__PTHREAD_SPIN): Likewise.
111 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
113         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
114         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
115         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
116         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
117         imply folder.
118         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
119         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
120         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
121         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
122         correct imply path.
123         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
124         strlen symbol for non multi-arch builds.
125         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
126         missing hidden_def and weak_alias.
128 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
130         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
132 2014-04-07  Will Newton  <will.newton@linaro.org>
134         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
135         and contents.  [!_LIBC] Remove #ifndef and contents.
136         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
137         * string/memccpy.c (__memccpy): Use ANSI prototype.
138         * string/memfrob.c (memfrob): Likewise.
139         * string/strcoll.c (STRCOLL): Likewise.
140         * string/strlen.c (strlen): Likewise.
141         * string/strtok.c (STRTOK): Likewise.
142         * string/strcat.c: Remove unused #include of memcopy.h.
143         (strcat): Use ANSI prototype.
144         * string/strchr.c: Remove unused #include of memcopy.h.
145         (strchr): Use ANSI prototype.
146         * string/strcmp.c: Remove unused #include of memcopy.h.
147         (strcmp): Use ANSI prototype.
148         * string/strcpy.c: Remove unused #include of memcopy.h.
149         (strcpy): Use ANSI prototype.
151 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
153         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
154         * config.make.in (config-extra-cppflags): Set it from
155         libc_extra_cppflags.
156         * configure.ac (libc_extra_cflags): Make it accumulate over
157         configure fragments.
158         (libc_extra_cppflags): New flag.
159         * configure. Regenerate.
160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
161         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does not set
162         _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
165 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
167         [BZ #16815]
168         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
169         result for FE_DOWNWARD rounding mode.
170         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
171         Likewise.
172         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
174 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
176         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
177         in function argument name.
179 2014-04-03  David Svoboda  <svoboda@cert.org>
181         [BZ #5666]
182         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
183         explicitly.
185 2014-04-03  Roland McGrath  <roland@hack.frob.com>
187         * elf/dl-unmap-segments.h: New file.
188         * sysdeps/generic/ldsodefs.h
189         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
190         * elf/dl-close.c: Include <dl-unmap-segments.h>.
191         * elf/dl-fptr.c: Likewise.
192         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
193         * sysdeps/aarch64/tlsdesc.c: Likewise.
194         * sysdeps/arm/tlsdesc.c: Likewise.
195         * sysdeps/i386/tlsdesc.c: Likewise.
196         * sysdeps/tile/dl-runtime.c: Likewise.
197         * sysdeps/x86_64/tlsdesc.c: Likewise.
198         * elf/dl-load.h: New file.
199         * elf/dl-load.c: Include it.
200         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
201         Macros moved to dl-load.h.
202         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
203         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
204         Use _dl_unmap_segments in place of __munmap.
205         Break out segment-mapping loop into ...
206         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
208 2014-04-03  Will Newton  <will.newton@linaro.org>
210         * elf/dl-lookup.c (do_lookup_x): Remove comment
211         referring to nested function and move variable
212         declarations down to before first use.
214 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
216         [BZ #16799]
217         [BZ #16800]
218         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
219         with 0 numerator.
220         * math/s_catanf.c (__catanf): Likewise.
221         * math/s_catanh.c (__catanh): Likewise.
222         * math/s_catanhf.c (__catanhf): Likewise.
223         * math/s_catanhl.c (__catanhl): Likewise.
224         * math/s_catanl.c (__catanl): Likewise.
225         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
226         by positive zero when computing -Inf result.
227         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
228         (catanh_test): Likewise.
229         * sysdeps/i386/fpu/libm-test-ulps: Update.
230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
232         [BZ #16789]
233         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
234         instead of using underflowing value in computing result.
235         * math/s_clog10.c (__clog10): Likewise.
236         * math/s_clog10f.c (__clog10f): Likewise.
237         * math/s_clog10l.c (__clog10l): Likewise.
238         * math/s_clogf.c (__clogf): Likewise.
239         * math/s_clogl.c (__clogl): Likewise.
240         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
241         (clog10_test): Likewise.
242         * sysdeps/i386/fpu/libm-test-ulps: Update.
243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
245 2014-04-02  Alan Modra  <amodra@gmail.com>
247         [BZ #16739]
248         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
249         output when value is near a power of two.  Use int64_t for lx and
250         remove casts.  Use decimal rather than hex exponent constants.
251         Don't use long double multiplication when double will suffice.
252         * math/libm-test.inc (nextafter_test_data): Add tests.
253         * NEWS: Add 16739 and 16786 to bug list.
255 2014-04-02  Alan Modra  <amodra@gmail.com>
257         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
259 2014-04-02  Alan Modra  <amodra@gmail.com>
261         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
263 2014-04-01  Will Newton  <will.newton@linaro.org>
265         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
266         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
268 2014-04-01  Florian Weimer  <fweimer@redhat.com>
270         [BZ #13347]
271         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
272         * nptl/tst-setuid2.c: New file.
273         * nptl/Makefile (xtests): Add tst-setuid2.
275 2014-04-01  Alan Modra  <amodra@gmail.com>
277         [BZ #16786]
278         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
280 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
282         [BZ #6803]
283         [BZ #6804]
284         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
285         set errno as appropriate.
286         * math/w_scalbf.c (__scalbf): Likewise.
287         * math/w_scalbl.c (__scalbl): Likewise.
288         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
289         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
290         * math/libm-test.inc (scalb_test_data): Add errno expectations.
291         Add more NaN tests.
293         [BZ #16349]
294         * math/w_atan2.c: Include <errno.h>.
295         (__atan2): Set errno for result underflowing to zero.
296         * math/w_atan2f.c: Include <errno.h>.
297         (__atan2f): Set errno for result underflowing to zero.
298         * math/w_atan2l.c: Include <errno.h>.
299         (__atan2l): Set errno for result underflowing to zero.
300         * math/auto-libm-test-in: Don't allow missing errno for some atan2
301         tests.
302         * math/auto-libm-test-out: Regenerated.
304 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
306         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
307         Encode instruction correctly in little endian.
308         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
309         Likewise.
310         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
311         Likewise.
312         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
313         Likewise.
314         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
315         Likewise.
317 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
319         [BZ #9894]
320         * sysdeps/unix/sysv/linux/kernel-features.h
321         [__sparc__ && !__arch64__ && !__sparc_v9__]
322         (__ASSUME_SET_ROBUST_LIST): Do not define.
323         [__sparc__ && !__arch64__ && !__sparc_v9__]
324         (__ASSUME_FUTEX_LOCK_PI): Likewise.
325         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
326         Likewise.
327         * sysdeps/unix/sysv/linux/arm/kernel-features.h
328         (__ASSUME_FUTEX_LOCK_PI): Undefine.
329         (__ASSUME_REQUEUE_PI): Likewise.
330         (__ASSUME_SET_ROBUST_LIST): Likewise.
331         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
332         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
333         Undefine.
334         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
335         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
336         Likewise.
337         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
338         Likewise.
339         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
340         Likewise.
341         * sysdeps/unix/sysv/linux/mips/kernel-features.h
342         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
343         Undefine.
344         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
345         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
346         Likewise.
348         [BZ #16648]
349         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
350         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
351         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
353 2014-03-31  Will Newton  <will.newton@linaro.org>
355         * benchtests/Makefile (bench): Add ffs and ffsll to list
356         of tests.
357         * benchtests/ffs-inputs: New file.
358         * benchtests/ffsll-inputs: Likewise.
360 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
362         [BZ #16770]
363         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
364         too large before casting to int.
365         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
366         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
367         * math/libm-test.inc (scalb_test_data): Add more tests.
369 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
371         * benchtests/Makefile (DETAILED_OPT): New make option.
372         (bench-func): Run benchmark program with -d if DETAILED_OPT is
373         set.
374         * benchtests/bench-skeleton.c: Include stdbool.h.
375         (main): Store and print timings per input.
376         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
377         member to each argument value.
378         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
379         (_print_arg_data): Initialize per-input timing to 0.
381         * benchtests/Makefile (timing-type): New binary.
382         (bench-clean): Also remove bench-timing-type.
383         (bench): New target for timing-type.
384         (bench-func): Print output in JSON format.
385         * benchtests/bench-skeleton.c (main): Print output in JSON
386         format.
387         * benchtests/bench-timing-type.c: New file.
388         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
389         (TIMING_PRINT_STATS): Remove.
390         * benchtests/scripts/bench.py (_print_arg_data): Store variant
391         name separately.
393         * benchtests/bench-modf.c: Remove.
394         * benchtests/modf-inputs: New inputs file.
396 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
398         [BZ #16362]
399         * math/s_clog10.c (M_PI_LOG10E): New macro.
400         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
401         imaginary parts are 0.
402         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
403         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
404         imaginary parts are 0.
405         * math/s_clog10l.c (M_PI_LOG10El): New macro.
406         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
407         imaginary parts are 0.
408         * math/libm-test.inc (clog10_test_data): Update expected results
409         for when real and imaginary parts are 0.
411 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
413         * elf/dl-load.c: Finish conversion of __builtin_expect into
414         __glibc_{un}likely.
416 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
418         [BZ #16348]
419         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
420         1+x for argument with exponent below -67.
421         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
422         Likewise.
423         * math/auto-libm-test-in: Add more tests of exp.
424         * math/auto-libm-test-out: Regenerated.
426 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
428         [BZ #16759]
429         * inet/getnetgrent_r.c (get_nonempty_val): New function.
430         (nscd_getnetgrent): Use it.
432         [BZ #16760]
433         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
434         of stpcpy.
436 2014-03-27  Andi Kleen  <ak@linux.intel.com>
438         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
439         lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
440         lll_robust_timedlock, lll_unlock, lll_robust_unlock):
441         Remove out of line section. Use cfi intrinsics.
442         (LLL_STUB_UNWIND_INFO*): Remove.
443         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
444         lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
445         lll_robust_timedlock, lll_unlock, lll_robust_unlock):
446         Remove out of line section. Use cfi intrinsics.
447         (LLL_STUB_UNWIND_INFO*): Remove.
449 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
451         [BZ #16758]
452         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
453         blank values.
455 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
457         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
459 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
461         [BZ #16198]
462         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
463         fnstenv.
464         * math/test-fenv-preserve.c: New file.
465         * math/Makefile (tests): Add test-fenv-preserve.
467 2014-03-26  Will Newton <will.newton@linaro.org>
469         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
471 2014-03-25  Roland McGrath  <roland@hack.frob.com>
473         * scripts/versionlist.awk: Partition the version sets and emit all
474         GLIBC_* (sorted) before all others (sorted).
476 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
478         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
479         GLIBC_2.2.5 version.
481 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
483         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
484         calls.
486 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
488         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
489         previous change.
491 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
493         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
495 2014-03-25  Andreas Schwab  <schwab@suse.de>
497         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
498         label to be used after in6ailist is initialized.
500 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
502         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
503         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
505 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
507         [BZ #16357]
508         [BZ #16599]
509         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
510         min_plus_half.
511         (fp_formats): Update initializers.
512         (init_fp_formats): Initialize new field.
513         (output_for_one_input_case): Allow underflow for results up to
514         min_plus_half.
515         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
516         * math/auto-libm-test-in: Don't mark some underflows from asin and
517         atanh as spurious.
518         * math/auto-libm-test-out: Regenerated.
519         * sysdeps/i386/fpu/libm-test-ulps: Update.
520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
522 2014-03-25  Andreas Schwab  <schwab@suse.de>
524         * libio/Makefile (tst-ftell-partial-wide-ENV)
525         (tst-ftell-active-handler-ENV): Define.
527 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
529         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
531 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
533         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
535 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
537         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
538         * sysdeps/x86_64/fpu/multiarch/e_exp.c
539         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
541 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
543         [BZ #16634]
544         * elf/dl-load.c (open_verify): Add mode parameter.
545         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
546         (open_path): Change from boolean 'secure' to complete flag 'mode'
547         (_dl_map_object): Adjust.
548         * elf/Makefile (tests): Add tst-dlopen-aout.
549         * elf/tst-dlopen-aout.c: New test.
551 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
553         [BZ #16714]
554         * sysdeps/unix/sysv/linux/s390/bits/stat.h
555         (struct stat): Rename member pad0 to __glibc_reserved0.
557 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
559         [BZ #16712]
560         * sysdeps/s390/s390-32/bits/wordsize.h
561         (__WORDSIZE32_SIZE_ULONG): New define.
562         * sysdeps/s390/s390-64/bits/wordsize.h
563         (__WORDSIZE32_SIZE_ULONG): Likewise.
564         * sysdeps/generic/stdint.h (SIZE_MAX):
565         Define as UL if __WORDSIZE32_SIZE_ULONG.
567 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
569         [BZ #16713]
570         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
571         (__glibc_reserved0): New variable.
572         (sa_flags): Change type to int.
574 2014-03-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
576         * posix/Makefile (before-compile): Use += before-compile instead
577         of a :=.
579 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
581         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
582         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
584 2014-03-20  Andreas Schwab  <schwab@suse.de>
586         [BZ #16743]
587         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
588         non-matching result from nscd.
590 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
592         * scripts/bench.py: Moved to ...
593         * benchtests/scripts/bench.py: ... here.
594         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
596 2014-03-24  Andreas Schwab  <schwab@suse.de>
598         [BZ #16002]
599         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
600         alloca_account and account alloca use for struct in6ailist.
602 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
604         [BZ #16284]
605         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
606         rounding mode to recompute results that overflow to infinity or
607         underflow to zero.
608         * math/auto-libm-test-in: Don't mark tests as expected to fail for
609         bug 16284.
610         * math/auto-libm-test-out: Regenerated.
611         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
612         (ccosh_test): Likewise.
613         (csin_test_data): Use plus_oflow.
614         (csin_test): Use ALL_RM_TEST.
615         (csinh_test_data): Use plus_oflow.
616         (csinh_test): Use ALL_RM_TEST.
617         * sysdeps/i386/fpu/libm-test-ulps: Update.
618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
620 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
622         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
623         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
624         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
626         [BZ #16731]
627         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
628         when x - 1 is zero.
629         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
630         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
631         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
632         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
633         argument is 1.
634         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
635         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
636         zero.
637         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
638         * sysdeps/i386/fpu/libm-test-ulps: Update.
639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
641 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
643         * scripts/bench.pl: Remove file.
644         * scripts/bench.py: New benchmark script.
645         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
646         * benchtests/README: Mention python dependency.
647         * scripts/pylintrc: New file.
648         * scripts/pylint: New file.
650         * bits/mathdef.h: Use #ifdef instead of #if.
651         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
652         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
653         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
654         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
655         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
656         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
658 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
659             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
661         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
662         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
663         and strpbrk-ppc64 objects.
664         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
665         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
666         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
667         multiarch strpbrk for POWER7.
668         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
669         multiarch strpbrk for PPC64.
670         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
671         ifunc selector.
672         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
673         strpbrk for POWER7.
675 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
677         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
678         (atan_test): Likewise.
679         (atanh_test_data): Use NO_TEST_INLINE for two tests.
680         (atanh_test): Use ALL_RM_TEST.
681         (atan2_test_data): Likewise.
682         (cabs_test): Likewise.
683         (cacosh_test): Likewise.
684         (carg_test): Likewise.
685         (casin_test): Likewise.
686         (casinh_test): Likewise.
687         (cbrt_test): Likewise.
688         (csqrt_test): Likewise.
689         (erf_test): Likewise.
690         (erfc_test): Likewise.
691         (pow10_test): Likewise.
692         (exp2_test): Likewise.
693         (hypot_test): Likewise.
694         (j0_test): Likewise.
695         (j1_test): Likewise.
696         (lgamma_test): Likewise.
697         (gamma_test): Likewise.
698         (sincos_test): Likewise.
699         (tanh_test): Likewise.
700         (y0_test): Likewise.
701         (y1_test): Likewise.
702         * sysdeps/i386/fpu/libm-test-ulps: Update.
703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
705 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
707         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
708         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
709         and strcspn-ppc64 objects.
710         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
711         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
712         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
713         multiarch strcspn for POWER7.
714         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
715         multiarch strcspn for PPC64.
716         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
717         ifunc selector.
718         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
719         strcspn for POWER7.
721 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
723         * math/gen-libm-test.pl (generate_testfile): Expect only function
724         name as argument to AUTO_TESTS_* and pass results for all rounding
725         modes to parse_args.
726         (parse_auto_input): Separate inputs of automatic tests from
727         outputs before storing in %auto_tests.
728         * math/libm-test.inc (acos_test_data): Update call to
729         AUTO_TESTS_f_f.
730         (acos_test): Use ALL_RM_TEST.
731         (acos_tonearest_test_data): Remove.
732         (acos_test_tonearest): Likewise.
733         (acos_towardzero_test_data): Likewise.
734         (acos_test_towardzero): Likewise.
735         (acos_downward_test_data): Likewise.
736         (acos_test_downward): Likewise.
737         (acos_upward_test_data): Likewise.
738         (acos_test_upward): Likewise.
739         (acosh_test_data): Update call to AUTO_TESTS_f_f.
740         (asin_test_data): Likewise.
741         (asin_test): Use ALL_RM_TEST.
742         (asin_tonearest_test_data): Remove.
743         (asin_test_tonearest): Likewise.
744         (asin_towardzero_test_data): Likewise.
745         (asin_test_towardzero): Likewise.
746         (asin_downward_test_data): Likewise.
747         (asin_test_downward): Likewise.
748         (asin_upward_test_data): Likewise.
749         (asin_test_upward): Likewise.
750         (asinh_test_data): Update call to AUTO_TESTS_f_f.
751         (atan_test_data): Likewise.
752         (atanh_test_data): Likewise.
753         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
754         (cabs_test_data): Update call to AUTO_TESTS_c_f.
755         (carg_test_data): Likewise.
756         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
757         (ccos_test_data): Update call to AUTO_TESTS_c_c.
758         (ccosh_test_data): Likewise.
759         (cexp_test_data): Likewise.
760         (clog_test_data): Likewise.
761         (clog10_test_data): Likewise.
762         (cos_test_data): Update call to AUTO_TESTS_f_f.
763         (cos_test): Use ALL_RM_TEST.
764         (cos_tonearest_test_data): Remove.
765         (cos_test_tonearest): Likewise.
766         (cos_towardzero_test_data): Likewise.
767         (cos_test_towardzero): Likewise.
768         (cos_downward_test_data): Likewise.
769         (cos_test_downward): Likewise.
770         (cos_upward_test_data): Likewise.
771         (cos_test_upward): Likewise.
772         (cosh_test_data): Update call to AUTO_TESTS_f_f.
773         (cosh_test): Use ALL_RM_TEST.
774         (cosh_tonearest_test_data): Remove.
775         (cosh_test_tonearest): Likewise.
776         (cosh_towardzero_test_data): Likewise.
777         (cosh_test_towardzero): Likewise.
778         (cosh_downward_test_data): Likewise.
779         (cosh_test_downward): Likewise.
780         (cosh_upward_test_data): Likewise.
781         (cosh_test_upward): Likewise.
782         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
783         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
784         (ctan_test_data): Likewise.
785         (ctan_test): Use ALL_RM_TEST.
786         (ctan_tonearest_test_data): Remove.
787         (ctan_test_tonearest): Likewise.
788         (ctan_towardzero_test_data): Likewise.
789         (ctan_test_towardzero): Likewise.
790         (ctan_downward_test_data): Likewise.
791         (ctan_test_downward): Likewise.
792         (ctan_upward_test_data): Likewise.
793         (ctan_test_upward): Likewise.
794         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
795         (ctanh_test): Use ALL_RM_TEST.
796         (ctanh_tonearest_test_data): Remove.
797         (ctanh_test_tonearest): Likewise.
798         (ctanh_towardzero_test_data): Likewise.
799         (ctanh_test_towardzero): Likewise.
800         (ctanh_downward_test_data): Likewise.
801         (ctanh_test_downward): Likewise.
802         (ctanh_upward_test_data): Likewise.
803         (ctanh_test_upward): Likewise.
804         (erf_test_data): Update call to AUTO_TESTS_f_f.
805         (erfc_test_data): Likewise.
806         (exp_test_data): Likewise.
807         (exp_test): Use ALL_RM_TEST.
808         (exp_tonearest_test_data): Remove.
809         (exp_test_tonearest): Likewise.
810         (exp_towardzero_test_data): Likewise.
811         (exp_test_towardzero): Likewise.
812         (exp_downward_test_data): Likewise.
813         (exp_test_downward): Likewise.
814         (exp_upward_test_data): Likewise.
815         (exp_test_upward): Likewise.
816         (exp10_test_data): Update call to AUTO_TESTS_f_f.
817         (exp10_test): Use ALL_RM_TEST.
818         (exp10_tonearest_test_data): Remove.
819         (exp10_test_tonearest): Likewise.
820         (exp10_towardzero_test_data): Likewise.
821         (exp10_test_towardzero): Likewise.
822         (exp10_downward_test_data): Likewise.
823         (exp10_test_downward): Likewise.
824         (exp10_upward_test_data): Likewise.
825         (exp10_test_upward): Likewise.
826         (exp2_test_data): Update call to AUTO_TESTS_f_f.
827         (expm1_test_data): Likewise.
828         (expm1_test): Use ALL_RM_TEST.
829         (expm1_tonearest_test_data): Remove.
830         (expm1_test_tonearest): Likewise.
831         (expm1_towardzero_test_data): Likewise.
832         (expm1_test_towardzero): Likewise.
833         (expm1_downward_test_data): Likewise.
834         (expm1_test_downward): Likewise.
835         (expm1_upward_test_data): Likewise.
836         (expm1_test_upward): Likewise.
837         (fma_test_data): Update call to AUTO_TESTS_fff_f.
838         (fma_test): Use ALL_RM_TEST.
839         (fma_towardzero_test_data): Remove.
840         (fma_test_towardzero): Likewise.
841         (fma_downward_test_data): Likewise.
842         (fma_test_downward): Likewise.
843         (fma_upward_test_data): Likewise.
844         (fma_test_upward): Likewise.
845         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
846         (j0_test_data): Update call to AUTO_TESTS_f_f.
847         (j1_test_data): Likewise.
848         (jn_test_data): Update call to AUTO_TESTS_if_f.
849         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
850         (log_test_data): Update call to AUTO_TESTS_f_f.
851         (log10_test_data): Likewise.
852         (log1p_test_data): Likewise.
853         (log2_test_data): Likewise.
854         (pow_test_data): Update call to AUTO_TESTS_ff_f.
855         (pow_tonearest_test_data): Likewise.
856         (sin_test_data): Update call to AUTO_TESTS_f_f.
857         (sin_test): Use ALL_RM_TEST.
858         (sin_tonearest_test_data): Remove.
859         (sin_test_tonearest): Likewise.
860         (sin_towardzero_test_data): Likewise.
861         (sin_test_towardzero): Likewise.
862         (sin_downward_test_data): Likewise.
863         (sin_test_downward): Likewise.
864         (sin_upward_test_data): Likewise.
865         (sin_test_upward): Likewise.
866         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
867         (sinh_test_data): Update call to AUTO_TESTS_f_f.
868         (sinh_test): Use ALL_RM_TEST.
869         (sinh_tonearest_test_data): Remove.
870         (sinh_test_tonearest): Likewise.
871         (sinh_towardzero_test_data): Likewise.
872         (sinh_test_towardzero): Likewise.
873         (sinh_downward_test_data): Likewise.
874         (sinh_test_downward): Likewise.
875         (sinh_upward_test_data): Likewise.
876         (sinh_test_upward): Likewise.
877         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
878         (sqrt_test): Use ALL_RM_TEST.
879         (sqrt_tonearest_test_data): Remove.
880         (sqrt_test_tonearest): Likewise.
881         (sqrt_towardzero_test_data): Likewise.
882         (sqrt_test_towardzero): Likewise.
883         (sqrt_downward_test_data): Likewise.
884         (sqrt_test_downward): Likewise.
885         (sqrt_upward_test_data): Likewise.
886         (sqrt_test_upward): Likewise.
887         (tan_test_data): Update call to AUTO_TESTS_f_f.
888         (tan_test): Use ALL_RM_TEST.
889         (tan_tonearest_test_data): Remove.
890         (tan_test_tonearest): Likewise.
891         (tan_towardzero_test_data): Likewise.
892         (tan_test_towardzero): Likewise.
893         (tan_downward_test_data): Likewise.
894         (tan_test_downward): Likewise.
895         (tan_upward_test_data): Likewise.
896         (tan_test_upward): Likewise.
897         (tanh_test_data): Update call to AUTO_TESTS_f_f.
898         (tgamma_test_data): Likewise.
899         (y0_test_data): Likewise.
900         (y1_test_data): Likewise.
901         (yn_test_data): Update call to AUTO_TESTS_if_f.
902         (main): Do not call removed functions.
904 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
906         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
907         (ldexp_test_data): Remove.
908         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
909         scalbn_test_data.
910         (scalb_test): Use ALL_RM_TEST.
912 2014-03-19  Andreas Schwab  <schwab@suse.de>
914         * nscd/nscd.service: Also invalidate netgroup cache on reload.
916 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
918         [BZ #16649]
919         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
920         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
921         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
922         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
923         (__ASSUME_PREADV): Undefine.
924         (__ASSUME_PWRITEV): Likewise.
926 2014-03-18  Roland McGrath  <roland@hack.frob.com>
928         * bits/mman-linux.h: Add comment about non-Linux use.
929         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
930         bits/mman-linux.h resting place.
932         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
933         * bits/mman-linux.h: ... here.
935 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
937         * conform/conformtest.pl: Add standard definition when calling C
938         preprocessor on data files.
939         (checknamespace): Remove unused variable.
941 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
943         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
944         minus_oflow, plus_uflow and minus_uflow in expected results.
945         * math/libm-test.inc (scalbn_test_data): Add more tests of
946         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
947         minus_uflow.
948         (scalbn_test): Use ALL_RM_TEST.
949         (scalbln_test_data): Add more tests of negative arguments.  Use
950         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
951         (scalbln_test): Use ALL_RM_TEST.
953 2014-03-18  Roland McGrath  <roland@hack.frob.com>
955         * scripts/abilist.awk: Ignore symbols marked with .hidden.
957 2014-03-18  Will Newton  <will.newton@linaro.org>
959         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
960         inaccurate comment.
962 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
964         * Makerules [!subdir] (check-abi): Exit with error status if a
965         test failed.
967 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
969         * math/libm-test.inc (nearbyint_test_data): Include all tests used
970         for rint.  Include results for all rounding modes.
971         (nearbyint_test): Use ALL_RM_TEST.
972         (rint_test_data): Include all tests used for nearbyint.
974 2014-03-17  Will Newton  <will.newton@linaro.org>
976         * nptl/sysdeps/pthread/pthread.h: Revert previous
977         change.
979         * sysdeps/generic/ldsodefs.h: Revert previous
980         change.
982         * libio/genops.c: Revert previous change.
983         * libio/libioP.h: Likewise.
984         * stdio-common/vfprintf.c: Likewise.
986         * sysdeps/generic/math_private.h: Revert previous
987         change.
989         * sysdeps/generic/math_private.h: Check whether
990         HAVE_RM_CTX is defined with #ifdef rather
991         than #if.
993         * argp/argp-fmtstream.h: Check whether
994         __STRICT_ANSI__ is defined with #ifdef rather
995         than #if.
996         * argp/argp.h: Likewise.
998         * libio/genops.c: Check whether
999         _IO_JUMPS_OFFSET is defined with #ifdef rather
1000         than #if.
1001         * libio/libioP.h: Likewise.
1002         * stdio-common/vfprintf.c: Likewise.
1004         * sysdeps/generic/ldsodefs.h: Check whether
1005         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1006         than #if.
1008         * nptl/sysdeps/pthread/pthread.h: Check
1009         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1010         its value.
1012 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
1014         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1015         setting O_APPEND.
1016         * libio/tst-ftell-active-handler.c (do_append_test): Add a
1017         test case.
1019         [BZ #16680]
1020         * libio/fileops.c (_IO_file_open): Seek to end of file but
1021         don't cache the offset.
1022         (get_file_offset): Remove function.
1023         (do_ftell): Use cached offset when available.
1024         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1025         don't cache the offset.
1026         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1027         case.
1028         (do_one_test): Call it.
1029         (do_ftell_test): Fix up expected old offset for a+ mode.
1030         * libio/wfileops.c (do_ftell_wide): Used cached offset when
1031         available.
1033         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1034         up test status with function return status.
1035         (do_write_test): Likewise.
1036         (do_append_test): Likewise.
1038         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1039         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1040         Remove.
1042 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
1044         * math/gen-libm-test.pl (parse_args): Handle results specified for
1045         each rounding mode separately.
1046         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1047         tests and results from lrint_tonearest_test_data,
1048         lrint_towardzero_test_data, lrint_downward_test_data and
1049         lrint_upward_test_data.
1050         (lrint_test): Use ALL_RM_TEST.
1051         (lrint_tonearest_test_data): Remove.
1052         (lrint_test_tonearest): Likewise.
1053         (lrint_towardzero_test_data): Likewise.
1054         (lrint_test_towardzero): Likewise.
1055         (lrint_downward_test_data): Likewise.
1056         (lrint_test_downward): Likewise.
1057         (lrint_upward_test_data): Likewise.
1058         (lrint_test_upward): Likewise.
1059         (llrint_test_data): Merge in per-rounding-mode tests and results
1060         from llrint_tonearest_test_data, llrint_towardzero_test_data,
1061         llrint_downward_test_data and llrint_upward_test_data.
1062         (llrint_test): Use ALL_RM_TEST.
1063         (llrint_tonearest_test_data): Remove.
1064         (llrint_test_tonearest): Likewise.
1065         (llrint_towardzero_test_data): Likewise.
1066         (llrint_test_towardzero): Likewise.
1067         (llrint_downward_test_data): Likewise.
1068         (llrint_test_downward): Likewise.
1069         (llrint_upward_test_data): Likewise.
1070         (llrint_test_upward): Likewise.
1071         (rint_test_data): Merge in per-rounding-mode tests and results
1072         from rint_tonearest_test_data, rint_towardzero_test_data,
1073         rint_downward_test_data and rint_upward_test_data.  Add
1074         per-rounding-mode results for tests not in those arrays.
1075         (rint_test): Use ALL_RM_TEST.
1076         (rint_tonearest_test_data): Remove.
1077         (rint_test_tonearest): Likewise.
1078         (rint_towardzero_test_data): Likewise.
1079         (rint_test_towardzero): Likewise.
1080         (rint_downward_test_data): Likewise.
1081         (rint_test_downward): Likewise.
1082         (rint_upward_test_data): Likewise.
1083         (rint_test_upward): Likewise.
1084         (main): Don't call removed functions.
1086 2014-03-14  Roland McGrath  <roland@hack.frob.com>
1088         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1089         "Compiled on ..." crapola.  It is anti-useful.
1091 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
1093         * scripts/evaluate-test.sh: Handle fourth argument to determine
1094         whether test run should stop on failure.
1095         * Makeconfig (stop-on-test-failure): New variable.
1096         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1097         $(stop-on-test-failure).
1098         * Makefile (tests): Give a summary of results from testing and
1099         exit with failure status if they include an ERROR or FAIL.
1100         (xtests): Likewise.
1101         * manual/install.texi (Configuring and compiling): Mention
1102         stop-on-test-failure=y.
1103         * INSTALL: Regenerated.
1105 2014-03-14  Roland McGrath  <roland@hack.frob.com>
1107         * scripts/versionlist.awk: New file.
1108         * Makerules [$(build-shared) = yes]
1109         (postclean-generated): Add Versions.def, not Versions.def.v and
1110         Versions.def.v.i.
1111         ($(common-objpfx)Versions.def.v.i): Target removed.
1112         ($(common-objpfx)Versions.def): New target.
1113         ($(common-objpfx)Versions.all): Depend on that rather that
1114         $(common-objpfx)Versions.def.v.
1115         * Versions.def: File removed.
1117         * Makeconfig (+gccwarn): Add -Wundef.
1118         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1119         a dl-sysdep.h breaking its contract.
1120         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1121         * include/stackinfo.h: New file.
1122         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1123         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1124         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1125         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1126         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1127         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1128         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1129         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1130         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1131         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1132         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1133         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1134         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1135         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1136         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1138 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1140         [BZ #16707]
1141         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1142         implementation.
1143         * math/libm-test.inc (round_test_data): Add more tests.
1145 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1147         [BZ #16706]
1148         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1149         implementation.
1150         * math/libm-test.inc (nearbyint_test_data): Add more tests.
1152 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1154         [BZ #16701]
1155         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1156         implementation.
1157         * math/libm-test.inc (ceil_test_data): Add more tests.
1159 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1161         * math/libm-test.inc (trunc_test_data): Add more tests related to
1162         BZ#16414.
1164 2014-03-14  Roland McGrath  <roland@hack.frob.com>
1166         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1167         with #if rather than #ifdef.
1168         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1170 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
1172         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1173         first.  Disable AVX-512 GCC support if assembler doesn't support
1174         it.
1175         * sysdeps/x86_64/configure: Regenerated.
1177 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
1179         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1180         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1181         (__old_pthread_attr_setstack): Likewise.
1182         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1183         [!_STACK_GROWS_DOWN]: Likewise.
1185 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
1187         * config.make.in (have-bash2): Delete.
1188         * configure.ac (libc_cv_have_bash2): Delete.
1189         * configure: Regenerate.
1190         * elf/Makefile (common-ldd-rewrite): Rename to ...
1191         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
1192         (sh-ldd-rewrite): Delete.
1193         (bash-ldd-rewrite): Delete.
1194         (have-bash2): Delete checks.
1195         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
1197 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
1199         * config.make.in (have-ksh): Delete.
1200         (KSH): Delete.
1201         * configure.ac (libc_cv_have_ksh): Delete.
1202         * configure: Regenerate.
1204 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
1206         * elf/Makefile: Delete $(have-ksh) check.
1207         ($(objpfx)sotruss): Change KSH to BASH.
1208         * elf/sotruss.ksh: Rename to ...
1209         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
1210         function style to match POSIX.  Drop ksh vim mode setting.
1212 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
1214         * manual/time.texi (Specifying the Time Zone with TZ): Change
1215         Tuesday to Thursday.
1217 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
1219         * debug/tst-longjmp_chk2.c: Update header comment.
1220         (stackoverflow_handler): Add comment.  Call assert on pass value.
1222 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
1224         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1225         (HAVE_AVX512_ASM_SUPPORT): Likewise.
1226         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1227         (La_x86_64_vector): Add zmm.
1228         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1229         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1230         ($(objpfx)tst-audit10): New target.
1231         ($(objpfx)tst-audit10.out): Likewise.
1232         (tst-audit10-ENV): New.
1233         (AVX512-CFLAGS): Likewise.
1234         (CFLAGS-tst-audit10.c): Likewise.
1235         (CFLAGS-tst-auditmod10a.c): Likewise.
1236         (CFLAGS-tst-auditmod10b.c): Likewise.
1237         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1238         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1239         * sysdeps/x86_64/configure: Regenerated.
1240         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1241         AVX-512 zmm register support.
1242         (_dl_x86_64_save_sse): Likewise.
1243         (_dl_x86_64_restore_sse): Likewise.
1244         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1245         size vector registers.
1246         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1247         (ZMM_SIZE): Likewise.
1248         * sysdeps/x86_64/tst-audit10.c: New file.
1249         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1250         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1252 2014-03-13  Roland McGrath  <roland@hack.frob.com>
1254         * configure.ac (HAVE_EHDR_START): New check.
1255         * configure: Regenerated.
1256         * config.h.in (HAVE_EHDR_START): New #undef.
1257         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1258         assuming the lowest-addressed segment maps the start of the file.
1260 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
1262         * INSTALL: Regenerated.
1264 2014-03-13  Will Newton  <will.newton@linaro.org>
1266         * manual/setjmp.texi (System V contexts): Improve
1267         clarity and grammar of documentation.
1269 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1271         [BZ #16381]
1272         * elf/Makefile (tests): Add tst-pie2.
1273         (tests-pie): Add tst-pie2.
1274         * elf/tst-pie2.c: New file.
1275         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1276         for ET_EXEC.
1277         * elf/rtld.c (map_doit): Load executable as lt_executable.
1278         (dl_main): Likewise.
1280 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
1282         [BZ #16642]
1283         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1284         (__ASSUME_PSELECT): Undefine.
1286 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1288         [BZ #16689]
1289         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1290         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1291         static build.
1292         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1293         selector for static builds.
1295 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1297         [BZ #16695]
1298         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1299         key in the buffer.
1301 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1303         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1304         selector for static builds.
1306 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
1308         * sysdeps/mips/math_private.h [__mips_hard_float]
1309         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1310         libc_feresetround_mips_ctx.
1311         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1312         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1313         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1315         [BZ #16677]
1316         * math/s_nextafter.c (__nextafter): Do not return value from
1317         overflowing computation.
1318         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1319         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1320         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1321         Likewise.
1322         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1323         Likewise.
1324         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1325         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1327 2014-03-11  Roland McGrath  <roland@hack.frob.com>
1329         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1330         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1331         Move sfi_sp use from the load-multiple (that no longer sets sp) to
1332         the new mov targetting sp.
1334 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1336         [BZ #16683]
1337         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1338         Define it for static builds as well.
1339         (NO_BZERO_IMPL): Likewise.
1341 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1343         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1344         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1345         multiarch strspn for PPC64.
1346         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1347         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1348         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1349         (__libc_ifunc_impl_list): Likewise.
1350         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1351         multiarch optimizations
1352         * string/strspn.c (strspn): Using macro to redefine symbol name.
1354 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1355             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1357         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1358         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1359         multiarch strncat for PPC64.
1360         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1361         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1363         (__libc_ifunc_impl_list): Likewise.
1364         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1365         multiarch optimizations
1367 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1369         [BZ #16639]
1370         * nscd/nscd.service: Make service type forking.
1372 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1374         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1375         sign in non default rounding modes.
1376         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1378 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
1380         * math/libm-test.inc (ALL_RM_TEST): New macro.
1381         (ceil_test): Use ALL_RM_TEST.
1382         (cimag_test): Likewise.
1383         (conj_test): Likewise.
1384         (copysign_test): Likewise.
1385         (cproj_test): Likewise.
1386         (creal_test): Likewise.
1387         (fabs_test): Likewise.
1388         (floor_test): Likewise.
1389         (fmax_test): Likewise.
1390         (fmin_test): Likewise.
1391         (fmod_test): Likewise.
1392         (fpclassify_test): Likewise.
1393         (frexp_test): Likewise.
1394         (ilogb_test): Likewise.
1395         (isfinite_test): Likewise.
1396         (finite_test): Likewise.
1397         (isgreater_test): Likewise.
1398         (isgreaterequal_test): Likewise.
1399         (isinf_test): Likewise.
1400         (isless_test): Likewise.
1401         (islessequal_test): Likewise.
1402         (islessgreater_test): Likewise.
1403         (isnan_test): Likewise.
1404         (isnormal_test): Likewise.
1405         (issignaling_test): Likewise.
1406         (isunordered_test): Likewise.
1407         (logb_test): Likewise.
1408         (logb_downward_test_data): Remove.
1409         (logb_test_downward): Likewise.
1410         (lround_test): Use ALL_RM_TEST.
1411         (llround_test): Likewise.
1412         (modf_test): Likewise.
1413         (nexttoward_test): Likewise.
1414         (remainder_test): Likewise.
1415         (drem_test): Likewise.
1416         (remainder_tonearest_test_data): Likewise.
1417         (remainder_test_tonearest): Likewise.
1418         (drem_test_tonearest): Likewise.
1419         (remainder_towardzero_test_data): Likewise.
1420         (remainder_test_towardzero): Likewise.
1421         (drem_test_towardzero): Likewise.
1422         (remainder_downward_test_data): Likewise.
1423         (remainder_test_downward): Likewise.
1424         (drem_test_downward): Likewise.
1425         (remainder_upward_test_data): Likewise.
1426         (remainder_test_upward): Likewise.
1427         (drem_test_upward): Likewise.
1428         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
1429         (round_test): Use ALL_RM_TEST.
1430         (signbit_test): Likewise.
1431         (trunc_test): Likewise.
1432         (significand_test): Likewise.
1433         (main): Don't call removed functions.
1435 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
1437         [BZ #16674]
1438         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1439         || __USE_XOPEN2K8].
1440         (ILL_ILLOPN): Likewise.
1441         (ILL_ILLADR): Likewise.
1442         (ILL_ILLTRP): Likewise.
1443         (ILL_PRVOPC): Likewise.
1444         (ILL_PRVREG): Likewise.
1445         (ILL_COPROC): Likewise.
1446         (ILL_BADSTK): Likewise.
1447         (FPE_INTDIV): Likewise.
1448         (FPE_INTOVF): Likewise.
1449         (FPE_FLTDIV): Likewise.
1450         (FPE_FLTOVF): Likewise.
1451         (FPE_FLTUND): Likewise.
1452         (FPE_FLTRES): Likewise.
1453         (FPE_FLTINV): Likewise.
1454         (FPE_FLTSUB): Likewise.
1455         (SEGV_MAPERR): Likewise.
1456         (SEGV_ACCERR): Likewise.
1457         (BUS_ADRALN): Likewise.
1458         (BUS_ADRERR): Likewise.
1459         (BUS_OBJERR): Likewise.
1460         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1461         (TRAP_TRACE): Likewise.
1462         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1463         __USE_XOPEN2K8].
1464         (CLD_KILLED): Likewise.
1465         (CLD_DUMPED): Likewise.
1466         (CLD_TRAPPED): Likewise.
1467         (CLD_STOPPED): Likewise.
1468         (CLD_CONTINUED): Likewise.
1469         (POLL_IN): Likewise.
1470         (POLL_OUT): Likewise.
1471         (POLL_MSG): Likewise.
1472         (POLL_ERR): Likewise.
1473         (POLL_PRI): Likewise.
1474         (POLL_HUP): Likewise.
1475         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1476         Likewise.
1477         (ILL_ILLOPN): Likewise.
1478         (ILL_ILLADR): Likewise.
1479         (ILL_ILLTRP): Likewise.
1480         (ILL_PRVOPC): Likewise.
1481         (ILL_PRVREG): Likewise.
1482         (ILL_COPROC): Likewise.
1483         (ILL_BADSTK): Likewise.
1484         (FPE_INTDIV): Likewise.
1485         (FPE_INTOVF): Likewise.
1486         (FPE_FLTDIV): Likewise.
1487         (FPE_FLTOVF): Likewise.
1488         (FPE_FLTUND): Likewise.
1489         (FPE_FLTRES): Likewise.
1490         (FPE_FLTINV): Likewise.
1491         (FPE_FLTSUB): Likewise.
1492         (SEGV_MAPERR): Likewise.
1493         (SEGV_ACCERR): Likewise.
1494         (BUS_ADRALN): Likewise.
1495         (BUS_ADRERR): Likewise.
1496         (BUS_OBJERR): Likewise.
1497         (BUS_MCEERR_AR): Likewise.
1498         (BUS_MCEERR_AO): Likewise.
1499         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1500         (TRAP_TRACE): Likewise.
1501         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1502         __USE_XOPEN2K8].
1503         (CLD_KILLED): Likewise.
1504         (CLD_DUMPED): Likewise.
1505         (CLD_TRAPPED): Likewise.
1506         (CLD_STOPPED): Likewise.
1507         (CLD_CONTINUED): Likewise.
1508         (POLL_IN): Likewise.
1509         (POLL_OUT): Likewise.
1510         (POLL_MSG): Likewise.
1511         (POLL_ERR): Likewise.
1512         (POLL_PRI): Likewise.
1513         (POLL_HUP): Likewise.
1514         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1515         (ILL_ILLOPN): Likewise.
1516         (ILL_ILLADR): Likewise.
1517         (ILL_ILLTRP): Likewise.
1518         (ILL_PRVOPC): Likewise.
1519         (ILL_PRVREG): Likewise.
1520         (ILL_COPROC): Likewise.
1521         (ILL_BADSTK): Likewise.
1522         (FPE_INTDIV): Likewise.
1523         (FPE_INTOVF): Likewise.
1524         (FPE_FLTDIV): Likewise.
1525         (FPE_FLTOVF): Likewise.
1526         (FPE_FLTUND): Likewise.
1527         (FPE_FLTRES): Likewise.
1528         (FPE_FLTINV): Likewise.
1529         (FPE_FLTSUB): Likewise.
1530         (SEGV_MAPERR): Likewise.
1531         (SEGV_ACCERR): Likewise.
1532         (BUS_ADRALN): Likewise.
1533         (BUS_ADRERR): Likewise.
1534         (BUS_OBJERR): Likewise.
1535         (BUS_MCEERR_AR): Likewise.
1536         (BUS_MCEERR_AO): Likewise.
1537         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1538         (TRAP_TRACE): Likewise.
1539         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1540         __USE_XOPEN2K8].
1541         (CLD_KILLED): Likewise.
1542         (CLD_DUMPED): Likewise.
1543         (CLD_TRAPPED): Likewise.
1544         (CLD_STOPPED): Likewise.
1545         (CLD_CONTINUED): Likewise.
1546         (POLL_IN): Likewise.
1547         (POLL_OUT): Likewise.
1548         (POLL_MSG): Likewise.
1549         (POLL_ERR): Likewise.
1550         (POLL_PRI): Likewise.
1551         (POLL_HUP): Likewise.
1552         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1553         Likewise.
1554         (ILL_ILLOPN): Likewise.
1555         (ILL_ILLADR): Likewise.
1556         (ILL_ILLTRP): Likewise.
1557         (ILL_PRVOPC): Likewise.
1558         (ILL_PRVREG): Likewise.
1559         (ILL_COPROC): Likewise.
1560         (ILL_BADSTK): Likewise.
1561         (ILL_BADIADDR): Likewise.
1562         (ILL_BREAK): Likewise.
1563         (FPE_INTDIV): Likewise.
1564         (FPE_INTOVF): Likewise.
1565         (FPE_FLTDIV): Likewise.
1566         (FPE_FLTOVF): Likewise.
1567         (FPE_FLTUND): Likewise.
1568         (FPE_FLTRES): Likewise.
1569         (FPE_FLTINV): Likewise.
1570         (FPE_FLTSUB): Likewise.
1571         (FPE_DECOVF): Likewise.
1572         (FPE_DECDIV): Likewise.
1573         (FPE_DECERR): Likewise.
1574         (FPE_INVASC): Likewise.
1575         (FPE_INVDEC): Likewise.
1576         (SEGV_MAPERR): Likewise.
1577         (SEGV_ACCERR): Likewise.
1578         (SEGV_PSTKOVF): Likewise.
1579         (BUS_ADRALN): Likewise.
1580         (BUS_ADRERR): Likewise.
1581         (BUS_OBJERR): Likewise.
1582         (BUS_MCEERR_AR): Likewise.
1583         (BUS_MCEERR_AO): Likewise.
1584         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1585         (TRAP_TRACE): Likewise.
1586         (TRAP_BRANCH): Likewise.
1587         (TRAP_HWBKPT): Likewise.
1588         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1589         __USE_XOPEN2K8].
1590         (CLD_KILLED): Likewise.
1591         (CLD_DUMPED): Likewise.
1592         (CLD_TRAPPED): Likewise.
1593         (CLD_STOPPED): Likewise.
1594         (CLD_CONTINUED): Likewise.
1595         (POLL_IN): Likewise.
1596         (POLL_OUT): Likewise.
1597         (POLL_MSG): Likewise.
1598         (POLL_ERR): Likewise.
1599         (POLL_PRI): Likewise.
1600         (POLL_HUP): Likewise.
1601         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1602         (ILL_ILLOPN): Likewise.
1603         (ILL_ILLADR): Likewise.
1604         (ILL_ILLTRP): Likewise.
1605         (ILL_PRVOPC): Likewise.
1606         (ILL_PRVREG): Likewise.
1607         (ILL_COPROC): Likewise.
1608         (ILL_BADSTK): Likewise.
1609         (FPE_INTDIV): Likewise.
1610         (FPE_INTOVF): Likewise.
1611         (FPE_FLTDIV): Likewise.
1612         (FPE_FLTOVF): Likewise.
1613         (FPE_FLTUND): Likewise.
1614         (FPE_FLTRES): Likewise.
1615         (FPE_FLTINV): Likewise.
1616         (FPE_FLTSUB): Likewise.
1617         (SEGV_MAPERR): Likewise.
1618         (SEGV_ACCERR): Likewise.
1619         (BUS_ADRALN): Likewise.
1620         (BUS_ADRERR): Likewise.
1621         (BUS_OBJERR): Likewise.
1622         (BUS_MCEERR_AR): Likewise.
1623         (BUS_MCEERR_AO): Likewise.
1624         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1625         (TRAP_TRACE): Likewise.
1626         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1627         __USE_XOPEN2K8].
1628         (CLD_KILLED): Likewise.
1629         (CLD_DUMPED): Likewise.
1630         (CLD_TRAPPED): Likewise.
1631         (CLD_STOPPED): Likewise.
1632         (CLD_CONTINUED): Likewise.
1633         (POLL_IN): Likewise.
1634         (POLL_OUT): Likewise.
1635         (POLL_MSG): Likewise.
1636         (POLL_ERR): Likewise.
1637         (POLL_PRI): Likewise.
1638         (POLL_HUP): Likewise.
1639         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1640         (ILL_ILLOPN): Likewise.
1641         (ILL_ILLADR): Likewise.
1642         (ILL_ILLTRP): Likewise.
1643         (ILL_PRVOPC): Likewise.
1644         (ILL_PRVREG): Likewise.
1645         (ILL_COPROC): Likewise.
1646         (ILL_BADSTK): Likewise.
1647         (FPE_INTDIV): Likewise.
1648         (FPE_INTOVF): Likewise.
1649         (FPE_FLTDIV): Likewise.
1650         (FPE_FLTOVF): Likewise.
1651         (FPE_FLTUND): Likewise.
1652         (FPE_FLTRES): Likewise.
1653         (FPE_FLTINV): Likewise.
1654         (FPE_FLTSUB): Likewise.
1655         (SEGV_MAPERR): Likewise.
1656         (SEGV_ACCERR): Likewise.
1657         (BUS_ADRALN): Likewise.
1658         (BUS_ADRERR): Likewise.
1659         (BUS_OBJERR): Likewise.
1660         (BUS_MCEERR_AR): Likewise.
1661         (BUS_MCEERR_AO): Likewise.
1662         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1663         (TRAP_TRACE): Likewise.
1664         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1665         __USE_XOPEN2K8].
1666         (CLD_KILLED): Likewise.
1667         (CLD_DUMPED): Likewise.
1668         (CLD_TRAPPED): Likewise.
1669         (CLD_STOPPED): Likewise.
1670         (CLD_CONTINUED): Likewise.
1671         (POLL_IN): Likewise.
1672         (POLL_OUT): Likewise.
1673         (POLL_MSG): Likewise.
1674         (POLL_ERR): Likewise.
1675         (POLL_PRI): Likewise.
1676         (POLL_HUP): Likewise.
1677         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1678         (ILL_ILLOPN): Likewise.
1679         (ILL_ILLADR): Likewise.
1680         (ILL_ILLTRP): Likewise.
1681         (ILL_PRVOPC): Likewise.
1682         (ILL_PRVREG): Likewise.
1683         (ILL_COPROC): Likewise.
1684         (ILL_BADSTK): Likewise.
1685         (FPE_INTDIV): Likewise.
1686         (FPE_INTOVF): Likewise.
1687         (FPE_FLTDIV): Likewise.
1688         (FPE_FLTOVF): Likewise.
1689         (FPE_FLTUND): Likewise.
1690         (FPE_FLTRES): Likewise.
1691         (FPE_FLTINV): Likewise.
1692         (FPE_FLTSUB): Likewise.
1693         (SEGV_MAPERR): Likewise.
1694         (SEGV_ACCERR): Likewise.
1695         (BUS_ADRALN): Likewise.
1696         (BUS_ADRERR): Likewise.
1697         (BUS_OBJERR): Likewise.
1698         (BUS_MCEERR_AR): Likewise.
1699         (BUS_MCEERR_AO): Likewise.
1700         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1701         (TRAP_TRACE): Likewise.
1702         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1703         __USE_XOPEN2K8].
1704         (CLD_KILLED): Likewise.
1705         (CLD_DUMPED): Likewise.
1706         (CLD_TRAPPED): Likewise.
1707         (CLD_STOPPED): Likewise.
1708         (CLD_CONTINUED): Likewise.
1709         (POLL_IN): Likewise.
1710         (POLL_OUT): Likewise.
1711         (POLL_MSG): Likewise.
1712         (POLL_ERR): Likewise.
1713         (POLL_PRI): Likewise.
1714         (POLL_HUP): Likewise.
1715         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1716         (ILL_ILLOPN): Likewise.
1717         (ILL_ILLADR): Likewise.
1718         (ILL_ILLTRP): Likewise.
1719         (ILL_PRVOPC): Likewise.
1720         (ILL_PRVREG): Likewise.
1721         (ILL_COPROC): Likewise.
1722         (ILL_BADSTK): Likewise.
1723         (ILL_DBLFLT): Likewise.
1724         (ILL_HARDWALL): Likewise.
1725         (FPE_INTDIV): Likewise.
1726         (FPE_INTOVF): Likewise.
1727         (FPE_FLTDIV): Likewise.
1728         (FPE_FLTOVF): Likewise.
1729         (FPE_FLTUND): Likewise.
1730         (FPE_FLTRES): Likewise.
1731         (FPE_FLTINV): Likewise.
1732         (FPE_FLTSUB): Likewise.
1733         (SEGV_MAPERR): Likewise.
1734         (SEGV_ACCERR): Likewise.
1735         (BUS_ADRALN): Likewise.
1736         (BUS_ADRERR): Likewise.
1737         (BUS_OBJERR): Likewise.
1738         (BUS_MCEERR_AR): Likewise.
1739         (BUS_MCEERR_AO): Likewise.
1740         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1741         (TRAP_TRACE): Likewise.
1742         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1743         __USE_XOPEN2K8].
1744         (CLD_KILLED): Likewise.
1745         (CLD_DUMPED): Likewise.
1746         (CLD_TRAPPED): Likewise.
1747         (CLD_STOPPED): Likewise.
1748         (CLD_CONTINUED): Likewise.
1749         (POLL_IN): Likewise.
1750         (POLL_OUT): Likewise.
1751         (POLL_MSG): Likewise.
1752         (POLL_ERR): Likewise.
1753         (POLL_PRI): Likewise.
1754         (POLL_HUP): Likewise.
1755         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1756         (ILL_ILLOPN): Likewise.
1757         (ILL_ILLADR): Likewise.
1758         (ILL_ILLTRP): Likewise.
1759         (ILL_PRVOPC): Likewise.
1760         (ILL_PRVREG): Likewise.
1761         (ILL_COPROC): Likewise.
1762         (ILL_BADSTK): Likewise.
1763         (FPE_INTDIV): Likewise.
1764         (FPE_INTOVF): Likewise.
1765         (FPE_FLTDIV): Likewise.
1766         (FPE_FLTOVF): Likewise.
1767         (FPE_FLTUND): Likewise.
1768         (FPE_FLTRES): Likewise.
1769         (FPE_FLTINV): Likewise.
1770         (FPE_FLTSUB): Likewise.
1771         (SEGV_MAPERR): Likewise.
1772         (SEGV_ACCERR): Likewise.
1773         (BUS_ADRALN): Likewise.
1774         (BUS_ADRERR): Likewise.
1775         (BUS_OBJERR): Likewise.
1776         (BUS_MCEERR_AR): Likewise.
1777         (BUS_MCEERR_AO): Likewise.
1778         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1779         (TRAP_TRACE): Likewise.
1780         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1781         __USE_XOPEN2K8].
1782         (CLD_KILLED): Likewise.
1783         (CLD_DUMPED): Likewise.
1784         (CLD_TRAPPED): Likewise.
1785         (CLD_STOPPED): Likewise.
1786         (CLD_CONTINUED): Likewise.
1787         (POLL_IN): Likewise.
1788         (POLL_OUT): Likewise.
1789         (POLL_MSG): Likewise.
1790         (POLL_ERR): Likewise.
1791         (POLL_PRI): Likewise.
1792         (POLL_HUP): Likewise.
1793         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1794         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1796         [BZ #16670]
1797         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1798         before #include of <time.h>.
1799         [!__USE_XOPEN2K] (__need_timespec): Likewise.
1800         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1801         (test-xfail-UNIX98/sched.h/conform): Likewise.
1803 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1805         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1806         error absence of trapping exception support.
1807         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1809 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
1811         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1812         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1813         * timezone/Makefile (testdata): Move definition above include of
1814         Rules.
1815         (test-zones): New variable.
1816         (tests-special): Add zone files.
1817         (build-testdata): Use $(evaluate-test).
1819         * elf/Makefile (tests-special): Rename tests to end with .out.
1820         ($(objpfx)noload-mem): Likewise.
1821         ($(objpfx)tst-leaks1-mem): Likewise.
1822         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1823         * iconv/Makefile (xtests-special): Change test-iconvconfig to
1824         $(objpfx)test-iconvconfig.out.
1825         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
1826         set -e inside subshell and redirect output to file.
1827         * iconvdata/Makefile (generated): Rename tests to end with .out.
1828         Correct type.
1829         (tests-special): Rename tests to end with .out.
1830         ($(objpfx)mtrace-tst-loading): Likewise.
1831         * intl/Makefile (generated): Likewise.
1832         (tests-special): Likewise.
1833         ($(objpfx)mtrace-tst-gettext): Likewise.
1834         * misc/Makefile (generated): Likewise.
1835         (tests-special): Likewise.
1836         ($(objpfx)tst-error1-mem): Likewise.
1837         * nptl/Makefile (tests-special): Likewise.
1838         ($(objpfx)tst-stack3-mem): Likewise.
1839         (generated): Likewise.
1840         * posix/Makefile (generated): Likewise.
1841         (tests-special): Likewise.
1842         (xtests-special): Likewise.
1843         ($(objpfx)tst-fnmatch-mem): Likewise.
1844         ($(objpfx)bug-regex2-mem): Likewise.
1845         ($(objpfx)bug-regex14-mem): Likewise.
1846         ($(objpfx)bug-regex21-mem): Likewise.
1847         ($(objpfx)bug-regex31-mem): Likewise.
1848         ($(objpfx)tst-vfork3-mem): Likewise.
1849         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1850         ($(objpfx)tst-pcre-mem): Likewise.
1851         ($(objpfx)tst-boost-mem): Likewise.
1852         ($(objpfx)bug-ga2-mem): Likewise.
1853         ($(objpfx)bug-glob2-mem): Likewise.
1854         * resolv/Makefile (generate): Likewise.
1855         (tests-special): Likewise.
1856         (xtests-special): Likewise.
1857         (generated): Likewise.
1858         ($(objpfx)mtrace-tst-leaks): Likewise.
1859         ($(objpfx)mtrace-tst-leaks2): Likewise.
1861         * scripts/merge-test-results.sh: New file.
1862         * Makefile (tests-special-notdir): New variable.
1863         (tests): Run merge-test-results.sh.
1864         (xtests): Likewise.
1865         * Rules (tests-special-notdir): New variable.
1866         (xtests-special-notdir): Likewise.
1867         (tests): Run merge-test-results.sh
1868         (xtests): Likewise.
1870         * Makeconfig (test-xfail-name): New variable.
1871         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1872         compute variable name for expected failures.
1873         * conform/Makefile (conformtest-headers-data): New variable.
1874         (conformtest-standards): Likewise.
1875         (conformtest-headers-ISO): Likewise.
1876         (conformtest-headers-ISO99): Likewise.
1877         (conformtest-headers-ISO11): Likewise.
1878         (conformtest-headers-POSIX): Likewise.
1879         (conformtest-headers-XPG3): Likewise.
1880         (conformtest-headers-XPG4): Likewise.
1881         (conformtest-headers-UNIX98): Likewise.
1882         (conformtest-headers-XOPEN2K): Likewise.
1883         (conformtest-headers-POSIX2008): Likewise.
1884         (conformtest-headers-XOPEN2K8): Likewise.
1885         (conformtest-header-list-base): Likewise.
1886         (conformtest-header-list-tests): Likewise.
1887         (conformtest-header-base): Likewise.
1888         (conformtest-header-tests): Likewise.
1889         (tests-special): Add $(conformtest-header-list-tests).  If
1890         [$(fast-check) && !$(cross-compiling)], add
1891         $(conformtest-header-tests) instead of
1892         $(objpfx)run-conformtest.out.
1893         (generated): Add $(conformtest-header-list-base).  If
1894         [$(fast-check) && !$(cross-compiling)], add
1895         $(conformtest-header-base).  Remove previous setting.
1896         ($(conformtest-header-list-tests)): New target.
1897         (test-xfail-run-conformtest): Remove variable.
1898         ($(objpfx)run-conformtest.out): Remove target.
1899         (test-xfail-ISO11/complex.h/conform): New variable.
1900         (test-xfail-ISO11/stdalign.h/conform): Likewise.
1901         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1902         (test-xfail-XPG3/varargs.h/conform): Likewise.
1903         (test-xfail-XPG4/varargs.h/conform): Likewise.
1904         (test-xfail-UNIX98/varargs.h/conform): Likewise.
1905         (test-xfail-XPG4/ndbm.h/conform): Likewise.
1906         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1907         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1908         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1909         (test-xfail-XPG3/fcntl.h/conform): Likewise.
1910         (test-xfail-XPG3/ftw.h/conform): Likewise.
1911         (test-xfail-XPG3/grp.h/conform): Likewise.
1912         (test-xfail-XPG3/langinfo.h/conform): Likewise.
1913         (test-xfail-XPG3/limits.h/conform): Likewise.
1914         (test-xfail-XPG3/pwd.h/conform): Likewise.
1915         (test-xfail-XPG3/search.h/conform): Likewise.
1916         (test-xfail-XPG3/signal.h/conform): Likewise.
1917         (test-xfail-XPG3/stdio.h/conform): Likewise.
1918         (test-xfail-XPG3/stdlib.h/conform): Likewise.
1919         (test-xfail-XPG3/string.h/conform): Likewise.
1920         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1921         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1922         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1923         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1924         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1925         (test-xfail-XPG3/sys/types.h/conform): Likewise.
1926         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1927         (test-xfail-XPG3/termios.h/conform): Likewise.
1928         (test-xfail-XPG3/time.h/conform): Likewise.
1929         (test-xfail-XPG3/unistd.h/conform): Likewise.
1930         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1931         (test-xfail-XPG4/fcntl.h/conform): Likewise.
1932         (test-xfail-XPG4/langinfo.h/conform): Likewise.
1933         (test-xfail-XPG4/netdb.h/conform): Likewise.
1934         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1935         (test-xfail-XPG4/signal.h/conform): Likewise.
1936         (test-xfail-XPG4/stdio.h/conform): Likewise.
1937         (test-xfail-XPG4/stdlib.h/conform): Likewise.
1938         (test-xfail-XPG4/stropts.h/conform): Likewise.
1939         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1940         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1941         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1942         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1943         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1944         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1945         (test-xfail-XPG4/sys/time.h/conform): Likewise.
1946         (test-xfail-XPG4/sys/types.h/conform): Likewise.
1947         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1948         (test-xfail-XPG4/termios.h/conform): Likewise.
1949         (test-xfail-XPG4/ucontext.h/conform): Likewise.
1950         (test-xfail-XPG4/unistd.h/conform): Likewise.
1951         (test-xfail-XPG4/utmpx.h/conform): Likewise.
1952         (test-xfail-POSIX/sched.h/conform): Likewise.
1953         (test-xfail-POSIX/signal.h/conform): Likewise.
1954         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1955         (test-xfail-POSIX/tar.h/conform): Likewise.
1956         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1957         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1958         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1959         (test-xfail-UNIX98/netdb.h/conform): Likewise.
1960         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1961         (test-xfail-UNIX98/sched.h/conform): Likewise.
1962         (test-xfail-UNIX98/signal.h/conform): Likewise.
1963         (test-xfail-UNIX98/stdio.h/conform): Likewise.
1964         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1965         (test-xfail-UNIX98/stropts.h/conform): Likewise.
1966         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1967         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1968         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1969         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1970         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1971         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1972         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1973         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1974         (test-xfail-UNIX98/unistd.h/conform): Likewise.
1975         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1976         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1977         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1978         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1979         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1980         (test-xfail-XOPEN2K/math.h/conform): Likewise.
1981         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1982         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1983         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1984         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1985         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1986         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1987         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1988         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1989         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1990         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1991         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1992         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1993         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1994         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1995         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1996         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1997         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1998         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1999         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2000         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2001         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2002         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2003         (test-xfail-POSIX2008/signal.h/conform): Likewise.
2004         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2005         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2006         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2007         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2008         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2009         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2010         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2011         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2012         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2013         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2014         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2015         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2016         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2017         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2018         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2019         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2020         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2021         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2022         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2023         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2024         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2025         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2026         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2027         (conformtest-cc-flags): Likewise.
2028         ($(conformtest-header-tests): New target.
2029         * conform/check-header-lists.sh: New file.
2030         * conform/run-conformtest.sh: Remove.
2032         * conform/conformtest.pl: Allow ' and \ in values given for
2033         constants.
2034         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2035         inclusion.
2036         [POSIX] (sys/types.h): Likewise.
2037         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2038         inclusion.
2039         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2040         inclusion.
2041         * conform/data/signal.h-data (SIGIO): Remove expectation.
2042         [XPG3] (SIGBUS): Do not expect.
2043         [POSIX || XPG3] (SIGPOLL): Likewise.
2044         [POSIX || XPG3] (SIGPROF): Likewise.
2045         [POSIX || XPG3] (SIGSYS): Likewise.
2046         [XPG3] (SIGTRAP): Likewise.
2047         [POSIX || XPG3] (SIGURG): Likewise.
2048         [POSIX || XPG3] (SIGVTALRM): Likewise.
2049         [POSIX || XPG3] (SIGXCPU): Likewise.
2050         [POSIX || XPG3] (SIGXFSZ): Likewise.
2051         [POSIX] (SA_SIGINFO): Expect.
2052         [XPG3] (siginfo_t): Do not expect type or contents.
2053         [POSIX] (si_pid): Do not expect element.
2054         [POSIX] (si_uid): Likewise.
2055         [POSIX] (si_addr): Likewise.
2056         [POSIX] (si_status): Likewise.
2057         [POSIX] (si_band): Likewise.
2058         [XPG4] (si_value): Likewise.
2059         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2060         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2061         [POSIX || XPG3] (ILL_ILLADR): Likewise.
2062         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2063         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2064         [POSIX || XPG3] (ILL_PRVREG): Likewise.
2065         [POSIX || XPG3] (ILL_COPROC): Likewise.
2066         [POSIX || XPG3] (ILL_BADSTK): Likewise.
2067         [POSIX || XPG3] (FPE_INTDIV): Likewise.
2068         [POSIX || XPG3] (FPE_INTOVF): Likewise.
2069         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2070         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2071         [POSIX || XPG3] (FPE_FLTUND): Likewise.
2072         [POSIX || XPG3] (FPE_FLTRES): Likewise.
2073         [POSIX || XPG3] (FPE_FLTINV): Likewise.
2074         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2075         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2076         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2077         [POSIX || XPG3] (BUS_ADRALN): Likewise.
2078         [POSIX || XPG3] (BUS_ADRERR): Likewise.
2079         [POSIX || XPG3] (BUS_OBJERR): Likewise.
2080         [POSIX || XPG3] (CLD_EXITED): Likewise.
2081         [POSIX || XPG3] (CLD_KILLED): Likewise.
2082         [POSIX || XPG3] (CLD_DUMPED): Likewise.
2083         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2084         [POSIX || XPG3] (CLD_STOPPED): Likewise.
2085         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2086         [POSIX || XPG3] (POLL_IN): Likewise.
2087         [POSIX || XPG3] (POLL_OUT): Likewise.
2088         [POSIX || XPG3] (POLL_MSG): Likewise.
2089         [POSIX || XPG3] (POLL_ERR): Likewise.
2090         [POSIX || XPG3] (POLL_PRI): Likewise.
2091         [POSIX || XPG3] (POLL_HUP): Likewise.
2092         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2093         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2094         (SIG*): Do not allow.
2095         [XPG3] (si_*): Likewise.
2096         [XPG3] (SI_*): Likewise.
2097         [XPG3 || XPG4] (sigev_*): Likewise.
2098         [XPG3 || XPG4] (SIGEV_*): Likewise.
2099         [XPG3 || XPG4] (sival_*): Likewise.
2100         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2101         [POSIX || XPG3] (BUS_*): Likewise.
2102         [POSIX || XPG3] (CLD_*): Likewise.
2103         [POSIX || XPG3] (FPE_*): Likewise.
2104         [POSIX || XPG3] (ILL_*): Likewise.
2105         [POSIX || XPG3] (POLL_*): Likewise.
2106         [POSIX || XPG3] (SEGV_*): Likewise.
2107         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2108         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2109         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2110         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2111         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2112         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2113         Specify type and value.
2114         (TVERSLEN): Likewise.
2115         (REGTYPE): Likewise.
2116         (AREGTYPE): Likewise.
2117         (LNKTYPE): Likewise.
2118         (SYMTYPE): Likewise.
2119         (CHRTYPE): Likewise.
2120         (BLKTYPE): Likewise.
2121         (DIRTYPE): Likewise.
2122         (FIFOTYPE): Likewise.
2123         (CONTTYPE): Likewise.
2124         (TSUID): Likewise.
2125         (TSGID): Likewise.
2126         (TSVTX): Likewise.
2127         (TUREAD): Likewise.
2128         (TUWRITE): Likewise.
2129         (TUEXEC): Likewise.
2130         (TGREAD): Likewise.
2131         (TGWRITE): Likewise.
2132         (TGEXEC): Likewise.
2133         (TOREAD): Likewise.
2134         (TOWRITE): Likewise.
2135         (TOEXEC): Likewise.
2136         [POSIX] (TSVTX): Expect constant.
2138 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
2140         * Makefile (tests): Change dependencies to ....
2141         (tests-special): ... additions to this variable.
2142         (tests): Depend on $(tests-special).
2143         * Makerules (check-abi-list): New variable.
2144         (check-abi): Depend on $(check-abi-list).
2145         [$(subdir) = elf] (tests-special): Add
2146         $(objpfx)check-abi-libc.out.
2147         [$(build-shared) = yes && subdir] (tests-special): Add
2148         $(check-abi-list).
2149         [$(build-shared) = yes && subdir] (tests): Do not depend on
2150         check-abi.
2151         * Rules (tests): Depend on $(tests-special).
2152         (xtests): Depend on $(xtests-special).
2153         * catgets/Makefile (tests): Change dependencies to ....
2154         (tests-special): ... additions to this variable.
2155         * conform/Makefile (tests): Change dependencies to ....
2156         (tests-special): ... additions to this variable.
2157         * elf/Makefile (tests): Change dependencies to ....
2158         (tests-special): ... additions to this variable.
2159         * grp/Makefile (tests): Change dependencies to ....
2160         (tests-special): ... additions to this variable.
2161         * iconv/Makefile (xtests): Change dependencies to ....
2162         (xtests-special): ... additions to this variable.
2163         * iconvdata/Makefile (tests): Change dependencies to ....
2164         (tests-special): ... additions to this variable.
2165         * intl/Makefile (tests): Change dependencies to ....
2166         (tests-special): ... additions to this variable.  Also add
2167         $(objpfx)tst-gettext.out.
2168         * io/Makefile (tests): Change dependencies to ....
2169         (tests-special): ... additions to this variable.
2170         * libio/Makefile (tests): Change dependencies to ....
2171         (tests-special): ... additions to this variable.
2172         * malloc/Makefile (tests): Change dependencies to ....
2173         (tests-special): ... additions to this variable.
2174         * misc/Makefile (tests): Change dependencies to ....
2175         (tests-special): ... additions to this variable.
2176         * nptl/Makefile (tests): Change dependencies to ....
2177         (tests-special): ... additions to this variable.
2178         * nptl_db/Makefile (tests): Change dependencies to ....
2179         (tests-special): ... additions to this variable.
2180         * posix/Makefile (tests): Change dependencies to ....
2181         (tests-special): ... additions to this variable.
2182         (xtests): Change dependencies to ....
2183         (xtests-special): ... additions to this variable.
2184         * resolv/Makefile (tests): Change dependencies to ....
2185         (tests-special): ... additions to this variable.
2186         (xtests): Change dependencies to ....
2187         (xtests-special): ... additions to this variable.
2188         * stdio-common/Makefile (tests): Change dependencies to ....
2189         (tests-special): ... additions to this variable.
2190         (do-tst-unbputc): Remove target.
2191         (do-tst-printf): Likewise.
2192         * stdlib/Makefile (tests): Change dependencies to ....
2193         (tests-special): ... additions to this variable.
2194         * string/Makefile (tests): Change dependencies to ....
2195         (tests-special): ... additions to this variable.
2196         * sysdeps/x86/Makefile (tests): Change dependencies to ....
2197         (tests-special): ... additions to this variable.
2199         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2200         whole file.
2201         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2202         whole file.
2203         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2204         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2206         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2207         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2208         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2209         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2210         * conform/data/libgen.h-data [XPG3]: Likewise.
2211         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2212         * conform/data/ndbm.h-data [XPG3]: Likewise.
2213         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2214         * conform/data/netdb.h-data [XPG3]: Likewise.
2215         * conform/data/netinet/in.h-data [XPG3]: Likewise.
2216         * conform/data/poll.h-data [XPG3]: Likewise.
2217         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2218         * conform/data/strings.h-data [XPG3]: Likewise.
2219         * conform/data/stropts.h-data [XPG3]: Likewise.
2220         * conform/data/sys/mman.h-data [XPG3]: Likewise.
2221         * conform/data/sys/resource.h-data [XPG3]: Likewise.
2222         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2223         Likewise.
2224         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2225         * conform/data/sys/time.h-data [XPG3]: Likewise.
2226         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2227         * conform/data/sys/uio.h-data [XPG3]: Likewise.
2228         * conform/data/sys/un.h-data [XPG3]: Likewise.
2229         * conform/data/syslog.h-data [XPG3]: Likewise.
2230         * conform/data/ucontext.h-data [XPG3]: Likewise.
2231         * conform/data/utmpx.h-data [XPG3]: Likewise.
2232         * conform/data/varargs.h-data [UNIX98]: Enable file.
2234         * manual/Makefile (INSTALL_INFO): Remove variable setting.
2236         * math/libm-test.inc (struct test_f_f_data): Move expected results
2237         into structure for each rounding mode.
2238         (struct test_ff_f_data): Likewise.
2239         (struct test_ff_f_data_nexttoward): Likewise.
2240         (struct test_fi_f_data): Likewise.
2241         (struct test_fl_f_data): Likewise.
2242         (struct test_if_f_data): Likewise.
2243         (struct test_fff_f_data): Likewise.
2244         (struct test_c_f_data): Likewise.
2245         (struct test_f_f1_data): Likewise.
2246         (struct test_fF_f1_data): Likewise.
2247         (struct test_ffI_f1_data): Likewise.
2248         (struct test_c_c_data): Likewise.
2249         (struct test_cc_c_data): Likewise.
2250         (struct test_f_i_data): Likewise.
2251         (struct test_ff_i_data): Likewise.
2252         (struct test_f_l_data): Likewise.
2253         (struct test_f_L_data): Likewise.
2254         (struct test_fFF_11_data): Likewise.
2255         (RM_): New macro.
2256         (RM_FE_DOWNWARD): Likewise.
2257         (RM_FE_TONEAREST): Likewise.
2258         (RM_FE_TOWARDZERO): Likewise.
2259         (RM_FE_UPWARD): Likewise.
2260         (RUN_TEST_LOOP_f_f): Update references to expected results.
2261         (RUN_TEST_LOOP_2_f): Likewise.
2262         (RUN_TEST_LOOP_fff_f): Likewise.
2263         (RUN_TEST_LOOP_c_f): Likewise.
2264         (RUN_TEST_LOOP_f_f1): Likewise.
2265         (RUN_TEST_LOOP_fF_f1): Likewise.
2266         (RUN_TEST_LOOP_fI_f1): Likewise.
2267         (RUN_TEST_LOOP_ffI_f1): Likewise.
2268         (RUN_TEST_LOOP_c_c): Likewise.
2269         (RUN_TEST_LOOP_cc_c): Likewise.
2270         (RUN_TEST_LOOP_f_i): Likewise.
2271         (RUN_TEST_LOOP_f_i_tg): Likewise.
2272         (RUN_TEST_LOOP_ff_i_tg): Likewise.
2273         (RUN_TEST_LOOP_f_b): Likewise.
2274         (RUN_TEST_LOOP_f_b_tg): Likewise.
2275         (RUN_TEST_LOOP_f_l): Likewise.
2276         (RUN_TEST_LOOP_f_L): Likewise.
2277         (RUN_TEST_LOOP_fFF_11): Likewise.
2278         * math/gen-libm-test.pl (parse_args): Output four copies of
2279         expected results for each test.
2281         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2282         (__ASSUME_UTIMES): Remove.
2283         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2284         (__ASSUME_UTIMES): Likewise.
2286         * math/gen-auto-libm-tests.c: Update comment on output format.
2287         (output_for_one_input_case): Generate before-rounding and
2288         after-rounding information as conditions on output flags not
2289         floating-point format.
2290         * math/auto-libm-test-out: Regenerated.
2291         * math/gen-libm-test.pl (cond_value): New function.
2292         (or_cond_value): Use cond_value.
2293         (generate_testfile): Handle conditional exceptions.
2295 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
2297         * math/libm-test.inc (max_valid_error): New variable.
2298         (init_max_error): Take new argument specifying whether function
2299         results are exactly determined.  Set max_valid_error and bound
2300         other variables for errors based on this argument.
2301         (set_max_error): Do not record results above max_valid_error.
2302         (check_float_internal): Only accept errors of up to 0.5ulps if
2303         also at most max_valid_error.
2304         (START): Take new argument EXACT and pass it to init_max_error.
2305         (acos_test): Update call to START.
2306         (acos_test_tonearest): Likewise.
2307         (acos_test_towardzero): Likewise.
2308         (acos_test_downward): Likewise.
2309         (acos_test_upward): Likewise.
2310         (acosh_test): Likewise.
2311         (asin_test): Likewise.
2312         (asin_test_tonearest): Likewise.
2313         (asin_test_towardzero): Likewise.
2314         (asin_test_downward): Likewise.
2315         (asin_test_upward): Likewise.
2316         (asinh_test): Likewise.
2317         (atan_test): Likewise.
2318         (atanh_test): Likewise.
2319         (atan2_test): Likewise.
2320         (cabs_test): Likewise.
2321         (cacos_test): Likewise.
2322         (cacosh_test): Likewise.
2323         (carg_test): Likewise.
2324         (casin_test): Likewise.
2325         (casinh_test): Likewise.
2326         (catan_test): Likewise.
2327         (catanh_test): Likewise.
2328         (cbrt_test): Likewise.
2329         (ccos_test): Likewise.
2330         (ccosh_test): Likewise.
2331         (ceil_test): Likewise.
2332         (cexp_test): Likewise.
2333         (cimag_test): Likewise.
2334         (clog_test): Likewise.
2335         (clog10_test): Likewise.
2336         (conj_test): Likewise.
2337         (copysign_test): Likewise.
2338         (cos_test): Likewise.
2339         (cos_test_tonearest): Likewise.
2340         (cos_test_towardzero): Likewise.
2341         (cos_test_downward): Likewise.
2342         (cos_test_upward): Likewise.
2343         (cosh_test): Likewise.
2344         (cosh_test_tonearest): Likewise.
2345         (cosh_test_towardzero): Likewise.
2346         (cosh_test_downward): Likewise.
2347         (cosh_test_upward): Likewise.
2348         (cpow_test): Likewise.
2349         (cproj_test): Likewise.
2350         (creal_test): Likewise.
2351         (csin_test): Likewise.
2352         (csinh_test): Likewise.
2353         (csqrt_test): Likewise.
2354         (ctan_test): Likewise.
2355         (ctan_test_tonearest): Likewise.
2356         (ctan_test_towardzero): Likewise.
2357         (ctan_test_downward): Likewise.
2358         (ctan_test_upward): Likewise.
2359         (ctanh_test): Likewise.
2360         (ctanh_test_tonearest): Likewise.
2361         (ctanh_test_towardzero): Likewise.
2362         (ctanh_test_downward): Likewise.
2363         (ctanh_test_upward): Likewise.
2364         (erf_test): Likewise.
2365         (erfc_test): Likewise.
2366         (exp_test): Likewise.
2367         (exp_test_tonearest): Likewise.
2368         (exp_test_towardzero): Likewise.
2369         (exp_test_downward): Likewise.
2370         (exp_test_upward): Likewise.
2371         (exp10_test): Likewise.
2372         (exp10_test_tonearest): Likewise.
2373         (exp10_test_towardzero): Likewise.
2374         (exp10_test_downward): Likewise.
2375         (exp10_test_upward): Likewise.
2376         (pow10_test): Likewise.
2377         (exp2_test): Likewise.
2378         (expm1_test): Likewise.
2379         (expm1_test_tonearest): Likewise.
2380         (expm1_test_towardzero): Likewise.
2381         (expm1_test_downward): Likewise.
2382         (expm1_test_upward): Likewise.
2383         (fabs_test): Likewise.
2384         (fdim_test): Likewise.
2385         (floor_test): Likewise.
2386         (fma_test): Likewise.
2387         (fma_test_towardzero): Likewise.
2388         (fma_test_downward): Likewise.
2389         (fma_test_upward): Likewise.
2390         (fmax_test): Likewise.
2391         (fmin_test): Likewise.
2392         (fmod_test): Likewise.
2393         (fpclassify_test): Likewise.
2394         (frexp_test): Likewise.
2395         (hypot_test): Likewise.
2396         (ilogb_test): Likewise.
2397         (isfinite_test): Likewise.
2398         (finite_test): Likewise.
2399         (isgreater_test): Likewise.
2400         (isgreaterequal_test): Likewise.
2401         (isinf_test): Likewise.
2402         (isless_test): Likewise.
2403         (islessequal_test): Likewise.
2404         (islessgreater_test): Likewise.
2405         (isnan_test): Likewise.
2406         (isnormal_test): Likewise.
2407         (issignaling_test): Likewise.
2408         (isunordered_test): Likewise.
2409         (j0_test): Likewise.
2410         (j1_test): Likewise.
2411         (jn_test): Likewise.
2412         (ldexp_test): Likewise.
2413         (lgamma_test): Likewise.
2414         (gamma_test): Likewise.
2415         (lrint_test): Likewise.
2416         (lrint_test_tonearest): Likewise.
2417         (lrint_test_towardzero): Likewise.
2418         (lrint_test_downward): Likewise.
2419         (lrint_test_upward): Likewise.
2420         (llrint_test): Likewise.
2421         (llrint_test_tonearest): Likewise.
2422         (llrint_test_towardzero): Likewise.
2423         (llrint_test_downward): Likewise.
2424         (llrint_test_upward): Likewise.
2425         (log_test): Likewise.
2426         (log10_test): Likewise.
2427         (log1p_test): Likewise.
2428         (log2_test): Likewise.
2429         (logb_test): Likewise.
2430         (logb_test_downward): Likewise.
2431         (lround_test): Likewise.
2432         (llround_test): Likewise.
2433         (modf_test): Likewise.
2434         (nearbyint_test): Likewise.
2435         (nextafter_test): Likewise.
2436         (nexttoward_test): Likewise.
2437         (pow_test): Likewise.
2438         (pow_test_tonearest): Likewise.
2439         (pow_test_towardzero): Likewise.
2440         (pow_test_downward): Likewise.
2441         (pow_test_upward): Likewise.
2442         (remainder_test): Likewise.
2443         (drem_test): Likewise.
2444         (remainder_test_tonearest): Likewise.
2445         (drem_test_tonearest): Likewise.
2446         (remainder_test_towardzero): Likewise.
2447         (drem_test_towardzero): Likewise.
2448         (remainder_test_downward): Likewise.
2449         (drem_test_downward): Likewise.
2450         (remainder_test_upward): Likewise.
2451         (drem_test_upward): Likewise.
2452         (remquo_test): Likewise.
2453         (rint_test): Likewise.
2454         (rint_test_tonearest): Likewise.
2455         (rint_test_towardzero): Likewise.
2456         (rint_test_downward): Likewise.
2457         (rint_test_upward): Likewise.
2458         (round_test): Likewise.
2459         (scalb_test): Likewise.
2460         (scalbn_test): Likewise.
2461         (scalbln_test): Likewise.
2462         (signbit_test): Likewise.
2463         (sin_test): Likewise.
2464         (sin_test_tonearest): Likewise.
2465         (sin_test_towardzero): Likewise.
2466         (sin_test_downward): Likewise.
2467         (sin_test_upward): Likewise.
2468         (sincos_test): Likewise.
2469         (sinh_test): Likewise.
2470         (sinh_test_tonearest): Likewise.
2471         (sinh_test_towardzero): Likewise.
2472         (sinh_test_downward): Likewise.
2473         (sinh_test_upward): Likewise.
2474         (sqrt_test): Likewise.
2475         (sqrt_test_tonearest): Likewise.
2476         (sqrt_test_towardzero): Likewise.
2477         (sqrt_test_downward): Likewise.
2478         (sqrt_test_upward): Likewise.
2479         (tan_test): Likewise.
2480         (tan_test_tonearest): Likewise.
2481         (tan_test_towardzero): Likewise.
2482         (tan_test_downward): Likewise.
2483         (tan_test_upward): Likewise.
2484         (tanh_test): Likewise.
2485         (tgamma_test): Likewise.
2486         (trunc_test): Likewise.
2487         (y0_test): Likewise.
2488         (y1_test): Likewise.
2489         (yn_test): Likewise.
2490         (significand_test): Likewise.
2492         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2493         individual tests in comment.
2494         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2495         (prev_max_error): New variable.
2496         (prev_real_max_error): Likewise.
2497         (prev_imag_max_error): Likewise.
2498         (compare_ulp_data): Don't refer to test names in comment.
2499         (find_test_ulps): Remove function.
2500         (find_function_ulps): Likewise.
2501         (find_complex_function_ulps): Likewise.
2502         (init_max_error): Take function name as argument.  Look up ulps
2503         for that function.
2504         (print_ulps): Remove function.
2505         (print_max_error): Use prev_max_error instead of calling
2506         find_function_ulps.
2507         (print_complex_max_error): Use prev_real_max_error and
2508         prev_imag_max_error instead of calling find_complex_function_ulps.
2509         (check_float_internal): Take max_ulp parameter instead of calling
2510         find_test_ulps.  Don't call print_ulps.
2511         (check_float): Update call to check_float_internal.
2512         (check_complex): Update calls to check_float_internal.
2513         (START): Pass argument to init_max_error.
2514         * math/gen-libm-test.pl (%results): Don't include "kind"
2515         information.
2516         (parse_ulps): Don't handle ulps of individual tests.
2517         (print_ulps_file): Likewise.
2518         (output_ulps): Likewise.
2519         * math/README.libm-test: Update.
2520         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2521         individual tests.
2522         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2523         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2524         * sysdeps/arm/libm-test-ulps: Likewise.
2525         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2526         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2527         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2528         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2529         * sysdeps/microblaze/libm-test-ulps: Likewise.
2530         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2531         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2532         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2533         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2534         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2535         * sysdeps/sh/libm-test-ulps: Likewise.
2536         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2537         * sysdeps/tile/libm-test-ulps: Likewise.
2538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2540 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
2542         * math/libm-test.inc (print_complex_max_error): Check separately
2543         whether real and imaginary errors are within allowed range and
2544         pass 0 to print_complex_function_ulps instead of value within
2545         allowed range.
2547 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2549         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2550         formatting.
2551         (get_handles_fopen): Likewise.
2552         (do_write_test): Likewise.
2554         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2556         * libio/fileops.c (do_ftell): Use cached offset when
2557         available.
2558         * libio/iofwide.c (do_ftell_wide): Likewise.
2559         * libio/iofdopen.c (_IO_new_fdopen): Don't use
2560         _IO_file_attach.
2561         * libio/wfileops.c (_IO_fwide): Don't cache offset.
2563         [BZ #16532]
2564         * libio/libioP.h (get_file_offset): New function.
2565         * libio/fileops.c (get_file_offset): Likewise.
2566         (do_ftell): Likewise.
2567         (_IO_new_file_seekoff): Split out ftell logic.
2568         * libio/wfileops.c (do_ftell_wide): Likewise.
2569         (_IO_wfile_seekoff): Split out ftell logic.
2570         * libio/tst-ftell-active-handler.c: New test case.
2571         * libio/Makefile (tests): Add it.
2573 2014-03-03  Roland McGrath  <roland@hack.frob.com>
2575         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2576         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2578 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
2580         [BZ #16639]
2581         * nscd/connections.c (nscd_init): Call do_exit.
2582         (start_threads): Call do_exit and notify_parent.
2583         (begin_drop_privileges): Call do_exit.
2584         (finish_drop_privileges): Likewise.
2585         * nscd/selinux.c (preserve_capabilities): Likewise.
2586         (install_real_capabilities): Likewise.
2587         (nscd_selinux_enabled): Likewise.
2588         (avc_create_thread): Likewise.
2589         (avc_alloc_lock): Likewise.
2590         (nscd_avc_init): Likewise.
2591         * nscd/nscd.c (parent_fd): New static variable.
2592         (main): Create a pipe between parent and child processes.
2593         Skip closing parent_fd.
2594         (monitor_child): New function.
2595         (do_exit): Likewise.
2596         (notify_parent): Likewise.
2597         * nscd/nscd.h (notify_parent): Likewise.
2598         (do_exit): Likewise.
2600 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
2602         * malloc/malloc.c (__libc_calloc): Revert last change.
2604 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2606         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2608 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2610         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2611         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2612         implementation.
2613         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2614         (__libc_ifunc_impl_list): Likewise.
2615         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2616         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2617         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2618         * string/strrchr.c: Define STRRCHR.
2620 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
2622         * benchtest/bench-strtok.c (simple_strtok): Delete.
2623         (strtok_string): Use as benchmark.
2624         * string/strtok (STRTOK): New macro.
2626 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
2628         * manual/threads.texi: Add header and standard comments to all
2629         functions.
2631         * elf/dl-lookup.c (check_match): New function.
2632         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2633         (do_lookup_x): Remove nested function check_match. Use non-nested
2634         function check_match.
2636 2014-02-28  Roland McGrath  <roland@hack.frob.com>
2638         * csu/Makefile (generated, before-compile): Use += rather than =.
2639         * catgets/Makefile (generated, generated-dirs): Likewise.
2640         * debug/Makefile (generated): Likewise.
2641         * dlfcn/Makefile (generated): Likewise.
2642         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2643         * iconvdata/Makefile (before-compile, generated): Likewise.
2644         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2645         * libio/Makefile (generated): Likewise.
2646         * malloc/Makefile (generated): Likewise.
2647         * manual/Makefile (generated, generated-dirs): Likewise.
2648         * misc/Makefile (generated): Likewise.
2649         * posix/Makefile (generated): Likewise.
2650         * resolv/Makefile (generated): Likewise.
2651         * sunrpc/Makefile (generated, generated-dirs): Likewise.
2652         * timezone/Makefile (generated, generated-dirs): Likewise.
2654         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2656 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2658         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2659         implementation.
2660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2661         POWER8 llround ifunc implementation.
2662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2663         POWER8 implementation.
2664         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2665         POWER8 llround implementation.
2667 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2669         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2670         implementation.
2671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2672         POWER8 llrint ifunc implementation.
2673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2674         POWER8 implementation.
2675         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2676         POWER8 llrint implementation.
2678 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2680         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2681         implementation.
2682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2683         POWER8 finite ifunc implementation.
2684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2685         POWER8 implementation.
2686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2687         Likewise.
2688         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2689         POWER8 finite implementation.
2690         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2692 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2694         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2695         implementation.
2696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2697         POWER8 isinf ifunc implementation.
2698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2699         POWER8 implementation.
2700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2701         Likewise.
2702         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2703         POWER8 isinf implementation.
2704         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2706 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2708         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2709         Add hwcap2 initialization.
2710         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2711         implementation.
2712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2713         POWER8 isnan ifunc implementation.
2714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2715         POWER8 implementation.
2716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2717         Likewise.
2718         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2719         POWER8 isnan implementation.
2720         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2722 2014-02-27  Joey Ye  <joey.ye@arm.com>
2724         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2725         (_FP_NANFRAC_Q): Set to zero.
2727 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2729         [BZ #16623]
2730         * math/auto-libm-test-in: New test inputs.
2731         * math/auto-libm-test-out: Regenerate.
2732         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2733         and DA.
2734         (__cos): Likewise.
2735         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2737 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
2739         * scripts/evaluate-test.sh: Take new argument indicating whether
2740         failure is expected.
2741         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2742         indicating whether failure is expected.
2743         * conform/Makefile (test-xfail-run-conformtest): New variable.
2744         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2745         level.
2746         * posix/Makefile (test-xfail-annexc): New variable.
2747         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2749 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
2751         * argp/Makefile: Include Makeconfig immediately after defining
2752         subdir.
2753         * assert/Makefile: Likewise.
2754         * benchtests/Makefile: Likewise.
2755         * catgets/Makefile: Likewise.
2756         * conform/Makefile: Likewise.
2757         * crypt/Makefile: Likewise.
2758         * csu/Makefile: Likewise.
2759         (all): Remove target.
2760         * ctype/Makefile: Include Makeconfig immediately after defining
2761         subdir.
2762         * debug/Makefile: Likewise.
2763         * dirent/Makefile: Likewise.
2764         * dlfcn/Makefile: Likewise.
2765         * gmon/Makefile: Likewise.
2766         * gnulib/Makefile: Likewise.
2767         * grp/Makefile: Likewise.
2768         * gshadow/Makefile: Likewise.
2769         * hesiod/Makefile: Likewise.
2770         * hurd/Makefile: Likewise.
2771         (all): Remove target.
2772         * iconvdata/Makefile: Include Makeconfig immediately after
2773         defining subdir.
2774         * inet/Makefile: Likewise.
2775         * intl/Makefile: Likewise.
2776         * io/Makefile: Likewise.
2777         * libio/Makefile: Likewise.
2778         (all): Remove target.
2779         * locale/Makefile: Include Makeconfig immediately after defining
2780         subdir.
2781         * login/Makefile: Likewise.
2782         * mach/Makefile: Likewise.
2783         (all): Remove target.
2784         * malloc/Makefile: Include Makeconfig immediately after defining
2785         subdir.
2786         (all): Remove target.
2787         * manual/Makefile: Include Makeconfig immediately after defining
2788         subdir.
2789         * math/Makefile: Likewise.
2790         * misc/Makefile: Likewise.
2791         * nis/Makefile: Likewise.
2792         * nss/Makefile: Likewise.
2793         * po/Makefile: Likewise.
2794         (all): Remove target.
2795         * posix/Makefile: Include Makeconfig immediately after defining
2796         subdir.
2797         * pwd/Makefile: Likewise.
2798         * resolv/Makefile: Likewise.
2799         * resource/Makefile: Likewise.
2800         * rt/Makefile: Likewise.
2801         * setjmp/Makefile: Likewise.
2802         * shadow/Makefile: Likewise.
2803         * signal/Makefile: Likewise.
2804         * socket/Makefile: Likewise.
2805         * soft-fp/Makefile: Likewise.
2806         * stdio-common/Makefile: Likewise.
2807         * stdlib/Makefile: Likewise.
2808         * streams/Makefile: Likewise.
2809         * string/Makefile: Likewise.
2810         * sunrpc/Makefile: Likewise.
2811         (all): Remove target.
2812         * sysvipc/Makefile: Include Makeconfig immediately after defining
2813         subdir.
2814         * termios/Makefile: Likewise.
2815         * time/Makefile: Likewise.
2816         * timezone/Makefile: Likewise.
2817         (all): Remove target.
2818         * wcsmbs/Makefile: Include Makeconfig immediately after defining
2819         subdir.
2820         * wctype/Makefile: Likewise.
2822 2014-02-26  Steve Ellcey  <sellcey@mips.com>
2824         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2825         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2826         (libc_feholdexcept_setround_mips): Ditto.
2827         (libc_feholdsetround): New.
2828         (libc_feholdsetroundf): New.
2829         (libc_feholdsetroundl): New.
2830         (libc_feupdateenv_test_mips): New.
2831         (libc_feupdateenv_test): New.
2832         (libc_feupdateenv_testf): New.
2833         (libc_feupdateenv_testl): New.
2834         (libc_feresetround): New.
2835         (libc_feresetroundf): New.
2836         (libc_feresetroundl): New.
2837         (libc_fetestexcept_mips): New.
2838         (libc_fetestexcept): New.
2839         (libc_fetestexceptf): New.
2840         (libc_fetestexceptl): New.
2841         (HAVE_RM_CTX): New.
2842         (libc_feholdexcept_setround_mips_ctx): New.
2843         (libc_feholdexcept_setround_ctx): New.
2844         (libc_feholdexcept_setroundf_ctx): New.
2845         (libc_feholdexcept_setroundl_ctx): New.
2846         (libc_fesetenv_mips_ctx): New.
2847         (libc_fesetenv_ctx): New.
2848         (libc_fesetenv_ctxf): New.
2849         (libc_fesetenv_ctxl): New.
2850         (libc_feupdateenv_mips_ctx): New.
2851         (libc_feupdateenv_ctx): New.
2852         (libc_feupdateenvf_ctx): New.
2853         (libc_feupdateenvl_ctx): New.
2854         (libc_feholdsetround_mips_ctx): New.
2855         (libc_feholdsetround_ctx): New.
2856         (libc_feholdsetroundf_ctx): New.
2857         (libc_feholdsetroundl_ctx): New.
2858         (libc_feresetround_mips_ctx): New.
2859         (libc_feresetround_ctx): New.
2860         (libc_feresetroundf_ctx): New.
2861         (libc_feresetroundl_ctx): New.
2863 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
2865         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2867         * manual/ipc.texi: New file.
2868         * manual/Makefile (chapters): Add ipc.
2869         * manual/job.texi: Add "Inter-Process Communication" to next.
2870         * manual/process.texi: Add "Inter-Process Communication" to prev.
2872 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2874         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2876 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
2878         * malloc/malloc.c (__libc_calloc): Simplify implementation.
2880         * manual/arith.texi: Fix spaces after sentences.
2881         * manual/charset.texi: Likewise.
2882         * manual/errno.texi: Likewise.
2883         * manual/install.texi: Likewise.
2884         * manual/llio.texi: Likewise.
2885         * manual/locale.texi: Likewise.
2886         * manual/maint.texi: Likewise.
2887         * manual/math.texi: Likewise.
2888         * manual/memory.texi: Likewise.
2889         * manual/message.texi: Likewise.
2890         * manual/probes.texi: Likewise.
2891         * manual/resource.texi: Likewise.
2892         * manual/signal.texi: Likewise.
2893         * manual/socket.texi: Likewise.
2894         * manual/stdio.texi: Likewise.
2895         * manual/string.texi: Likewise.
2896         * manual/time.texi: Likewise.
2897         * manual/users.texi: Likewise.
2899 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
2901         [BZ #16632]
2902         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2903         _DEFAULT_SOURCE is defined.
2905 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
2906             Carlos O'Donell  <carlos@redhat.com>
2908         [BZ #16613]
2909         * elf/dl-tls.c (_dl_count_modids): New function.
2910         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2911         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2912         audit library and increment generation counter.
2913         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2914         * elf/tst-audit9.c: New file.
2915         * elf/tst-auditmod9a.c: New file.
2916         * elf/tst-auditmod9b.c: New file.
2917         * elf/Makefile: Add rules to build and run tst-audit9.
2919 2014-02-25  Florian Weimer  <fweimer@redhat.com>
2921         [BZ #15347]
2922         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2924 2014-02-25  Will Newton  <will.newton@linaro.org>
2926         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2927         (__longjmp): Restore sp and lr before restoring callee
2928         saved registers.  Add longjmp and longjmp_target
2929         SystemTap probe point.
2930         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2931         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2932         Define to zero to match jmpbuf layout.
2933         * sysdeps/arm/setjmp.S: Include stap-probe.h.
2934         (__sigsetjmp): Save sp and lr before saving callee
2935         saved registers.  Add setjmp SystemTap probe point.
2937 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2939         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2941 2014-02-24  Andreas Schwab  <schwab@suse.de>
2943         [BZ #15804]
2944         * elf/pldd.c (wait_for_ptrace_stop): New function.
2945         (main): Call it after attaching.
2947 2014-02-22  Roland McGrath  <roland@hack.frob.com>
2949         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2950         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2951         Versions files is now verboten.
2952         * hurd/Versions (libc: GLIBC_2.0):
2953         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2954         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2955         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2956         * mach/Versions: Likewise.
2958         * csu/Versions: Remove unused %include.
2959         * resolv/Versions: Likewise.
2961 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
2963         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2964         ($(objpfx)check-local-headers.out): Likewise.
2965         ($(objpfx)begin-end-check.out): Likewise.
2966         * Makerules (check-abi-%.out): Likewise.
2967         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2968         ($(objpfx)test2.cat): Likewise.
2969         ($(objpfx)de/libc.cat): Likewise.
2970         ($(objpfx)test-gencat.out): Likewise.
2971         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2972         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2973         ($(objpfx)noload-mem): Likewise.
2974         ($(objpfx)tst-pathopt.out): Likewise.
2975         ($(objpfx)tst-rtld-load-self.out): Likewise.
2976         ($(objpfx)tst-array1-cmp.out): Likewise.
2977         ($(objpfx)tst-array1-static-cmp.out): Likewise.
2978         ($(objpfx)tst-array2-cmp.out): Likewise.
2979         ($(objpfx)tst-array3-cmp.out): Likewise.
2980         ($(objpfx)tst-array4-cmp.out): Likewise.
2981         ($(objpfx)tst-array5-cmp.out): Likewise.
2982         ($(objpfx)tst-array5-static-cmp.out): Likewise.
2983         ($(objpfx)check-textrel.out): Likewise.
2984         ($(objpfx)check-execstack.out): Likewise.
2985         ($(objpfx)check-localplt.out): Likewise.
2986         ($(objpfx)order2-cmp.out): Likewise.
2987         ($(objpfx)tst-leaks1-mem): Likewise.
2988         ($(objpfx)tst-leaks1-static-mem): Likewise.
2989         ($(objpfx)tst-initorder-cmp.out): Likewise.
2990         ($(objpfx)tst-initorder2-cmp.out): Likewise.
2991         ($(objpfx)tst-unused-dep.out): Likewise.
2992         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2993         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2994         * iconv/Makefile (test-iconvconfig): Likewise.
2995         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2996         ($(objpfx)iconv-test.out): Likewise.
2997         ($(objpfx)tst-tables.out): Likewise.
2998         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2999         ($(objpfx)tst-gettext.out): Likewise.
3000         ($(objpfx)tst-translit.out): Likewise.
3001         ($(objpfx)tst-gettext2.out): Likewise.
3002         ($(objpfx)tst-gettext4.out): Likewise.
3003         ($(objpfx)tst-gettext6.out): Likewise.
3004         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3005         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3006         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3007         ($(objpfx)tst-fopenloc-mem.out): Likewise.
3008         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3009         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3010         * posix/Makefile ($(objpfx)globtest.out): Likewise.
3011         ($(objpfx)wordexp-tst.out): Likewise.
3012         ($(objpfx)annexc.out): Likewise.
3013         ($(objpfx)tst-fnmatch-mem): Likewise.
3014         ($(objpfx)bug-regex2-mem): Likewise.
3015         ($(objpfx)bug-regex14-mem): Likewise.
3016         ($(objpfx)bug-regex21-mem): Likewise.
3017         ($(objpfx)bug-regex31-mem): Likewise.
3018         ($(objpfx)tst-vfork3-mem): Likewise.
3019         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3020         ($(objpfx)tst-pcre-mem): Likewise.
3021         ($(objpfx)tst-boost-mem): Likewise.
3022         ($(objpfx)tst-getconf.out): Likewise.
3023         ($(objpfx)bug-ga2-mem): Likewise.
3024         ($(objpfx)bug-glob2-mem): Likewise.
3025         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3026         ($(objpfx)mtrace-tst-leaks2): Likewise.
3027         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3028         ($(objpfx)tst-printf.out): Likewise.
3029         ($(objpfx)tst-setvbuf1.out): Likewise.
3030         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3031         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3032         ($(objpfx)tst-fmtmsg.out): Likewise.
3033         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3034         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3036         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3037         * bits/sigaction.h [__USE_MISC]: Likewise.
3038         * bits/waitstatus.h: Update #endif comments.
3039         * ctype/ctype.h: Likewise.
3040         * dirent/dirent.h: Likewise.
3041         [__USE_MISC]: Remove redundant conditionals.
3042         * grp/grp.h: Update #endif comments.
3043         [__USE_GNU]: Remove redundant conditionals.
3044         [__USE_MISC]: Likewise.
3045         * inet/netinet/in.h [__USE_GNU]: Likewise.
3046         * io/sys/stat.h [__USE_MISC]: Likewise.
3047         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3048         * libio/bits/stdio.h: Update #endif comments.
3049         [__USE_MISC]: Remove redundant conditionals.
3050         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3051         * libio/stdio.h: Update #endif comments.
3052         [__USE_MISC]: Remove redundant conditionals.
3053         * math/bits/math-finite.h [__USE_MISC]: Likewise.
3054         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3055         * math/math.h: Update #else and #endif comments.
3056         [__USE_MISC]: Remove redundant conditionals.
3057         * misc/sys/uio.h: Update #endif comments.
3058         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3059         * posix/glob.h [__USE_MISC]: Likewise.
3060         * posix/sys/types.h: Update #endif comments.
3061         [__USE_MISC]: Remove redundant conditionals.
3062         * posix/sys/wait.h: Update #endif comments.
3063         [__USE_MISC]: Remove redundant conditionals.
3064         * posix/unistd.h: Update #endif comments.
3065         [__USE_MISC]: Remove redundant conditionals.
3066         * pwd/pwd.h [__USE_GNU]: Likewise.
3067         [__USE_MISC]: Likewise.
3068         * resolv/netdb.h [__USE_GNU]: Likewise.
3069         * signal/signal.h: Update #endif comments.
3070         [__USE_MISC]: Remove redundant conditionals.
3071         * stdlib/stdlib.h: Update #else and #endif comments.
3072         [__USE_MISC]: Remove redundant conditionals.
3073         [__USE_GNU]: Likewise.
3074         * string/bits/string2.h [__USE_MISC]: Likewise.
3075         * string/string.h: Update #endif comments.
3076         [__USE_MISC]: Remove redundant conditionals.
3077         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3078         Likewise.
3079         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3080         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3081         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3082         Likewise.
3083         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3084         Likewise.
3085         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3086         comments.
3087         [__USE_MISC]: Remove redundant conditionals.
3088         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3089         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3090         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3091         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3092         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3093         Likewise.
3094         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3095         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3096         Likewise.
3097         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3098         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3099         Likewise.
3100         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3101         Likewise.
3102         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3103         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3104         Likewise.
3105         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3106         Likewise.
3107         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3108         * sysdeps/x86/bits/string.h: Update #endif comments.
3109         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3110         conditionals.
3111         * time/sys/time.h: Update #endif comments.
3112         * time/time.h: Likewise.
3113         [__USE_MISC]: Remove redundant conditionals.
3115 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
3117         [BZ #16600]
3118         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3120 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
3122         * Versions.def (librt): Add GLIBC_2.17.
3124 2014-02-21  Adam Conrad  <adconrad@0c3.net>
3126         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3127         synonym for _SYS_AUXV_H to allow direct inclusion.
3128         * sysdeps/sparc/bits/hwcap.h: Likewise.
3129         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3130         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3131         * sysdeps/sparc/sysdep.h: Likewise.
3133 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3135         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3137 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3139         * benchtests/bench-strrchr.c: Print length instead of position.
3141 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
3143         [BZ #16611]
3144         * sysdeps/unix/sysv/linux/kernel-features.h
3145         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3146         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3147         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3148         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3149         Likewise.
3150         [__i386__ || __powerpc__ || __sh__ || __sparc__]
3151         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3152         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3153         (__ASSUME_SENDMMSG): Define instead of using previous
3154         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3155         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3156         (__ASSUME_SENDMMSG_SYSCALL): Define.
3157         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3158         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3159         Likewise.
3160         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3161         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3162         Likewise.
3163         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3164         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3165         Likewise.
3166         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3167         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3168         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3169         [__ASSUME_SENDMMSG]: Change conditionals to
3170         [__ASSUME_SENDMMSG_SOCKETCALL].
3171         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3172         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3173         Define.
3174         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3175         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3176         Likewise.
3177         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3178         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3179         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3180         [!__ASSUME_SENDMMSG]: Change conditional to
3181         [!__ASSUME_SENDMMSG_SOCKETCALL].
3182         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3183         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3184         Define.
3186         [BZ #16610]
3187         * sysdeps/unix/sysv/linux/kernel-features.h
3188         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3189         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3190         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3191         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3192         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3193         [__i386__ || __sparc__]
3194         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3195         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3196         (__ASSUME_RECVMMSG): Define instead of using previous
3197         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3198         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3199         (__ASSUME_RECVMMSG_SYSCALL): Define.
3200         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3201         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3202         Likewise.
3203         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3204         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3205         Likewise.
3206         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3207         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3208         Likewise.
3209         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3210         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3211         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3212         [__ASSUME_RECVMMSG]: Change condition to
3213         [__ASSUME_RECVMMSG_SOCKETCALL].
3214         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3215         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3216         Define.
3217         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3218         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3219         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3220         Likewise.
3221         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3222         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3223         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3224         [!__ASSUME_RECVMMSG]: Change condition to
3225         [!__ASSUME_RECVMMSG_SOCKETCALL].
3226         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3227         (__ASSUME_RECVMMSG_SYSCALL): Define.
3229         [BZ #16609]
3230         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3231         __powerpc__ || __s390__ || __sh__ || __sparc__]
3232         (__ASSUME_SOCKETCALL): Define.
3233         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3234         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3235         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3236         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3237         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3238         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3239         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3240         (__ASSUME_ACCEPT4): Define instead of using previous
3241         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3242         __powerpc__ || __sparc__ || __s390__)] condition.
3243         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3244         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3245         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3246         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3247         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3248         [!__ASSUME_ACCEPT4]: Change condition to
3249         [!__ASSUME_ACCEPT4_SOCKETCALL].
3250         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3251         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
3252         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3253         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3254         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3255         __ASSUME_ACCEPT4_SYSCALL.
3256         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3257         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3258         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3259         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3260         __ASSUME_ACCEPT4_SYSCALL.
3261         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3262         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3263         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3264         [__ASSUME_ACCEPT4]: Change condition to
3265         [__ASSUME_ACCEPT4_SOCKETCALL].
3266         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3267         (__ASSUME_SOCKETCALL): Define.
3268         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3269         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3270         (__ASSUME_SOCKETCALL): Define.
3271         (__ASSUME_ACCEPT4): Remove.
3272         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3273         Define.
3274         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3275         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3276         Likewise.
3277         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3278         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3280         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3281         macro.
3282         (HWCAP_ARM_LPAE): Likewise.
3283         (HWCAP_ARM_EVTSTRM): Likewise.
3284         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3285         Add vpfd32, lpae and evtstrm.
3286         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3287         Increase to 22.
3289 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
3291         * math/auto-libm-test-in: Add tests of clog10.
3292         * math/auto-libm-test-out: Regenerated.
3293         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3294         * sysdeps/i386/fpu/libm-test-ulps: Update.
3295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3297 2014-02-18  Andreas Schwab  <schwab@suse.de>
3299         [BZ #16574]
3300         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3301         Store non-zero if the second buffer was newly allocated.
3302         (send_dg): Likewise.
3303         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3304         to send_vc and send_dg.
3305         (res_nsend): Pass NULL for ansp2_malloced.
3306         * resolv/res_query.c (__libc_res_nquery): Add parameter
3307         answerp2_malloced and pass it down to __libc_res_nsend.
3308         (res_nquery): Pass additional NULL to __libc_res_nquery.
3309         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3310         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
3311         second answer buffer if answerp2_malloced was set.
3312         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3313         (__libc_res_nquerydomain): Add parameter
3314         answerp2_malloced and pass it down to __libc_res_nquery.
3315         (res_nquerydomain): Pass additional NULL to
3316         __libc_res_nquerydomain.
3317         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3318         additional NULL to __libc_res_nsend and __libc_res_nquery.
3319         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3320         additional NULL to __libc_res_nsearch.
3321         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
3322         parameter of __libc_res_nsearch to check for separately allocated
3323         second buffer.
3324         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3325         __libc_res_nquery.
3326         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3327         additional NULL to __libc_res_nquery.
3328         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3329         __libc_res_nsearch.
3330         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3331         * include/resolv.h: Update prototypes of __libc_res_nquery,
3332         __libc_res_nsearch, __libc_res_nsend.
3334 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
3336         * math/auto-libm-test-in: Add tests of fma.
3337         * math/auto-libm-test-out: Regenerated.
3338         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3339         (fma_towardzero_test_data): Likewise.
3340         (fma_downward_test_data): Likewise.
3341         (fma_upward_test_data): Likewise.
3342         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3343         mpc_mode.
3344         (rounding_modes): Add values for new field.
3345         (func_calc_method): Add value mpfr_fff_f.
3346         (func_calc_desc): Add mpfr_fff_f union field.
3347         (test_function): Add field exact_args.
3348         (FUNC): Add macro argument EXACT_ARGS.
3349         (FUNC_mpfr_f_f): Update call to FUNC.
3350         (FUNC_mpfr_f_f): Likewise.
3351         (FUNC_mpfr_ff_f): Likewise.
3352         (FUNC_mpfr_if_f): Likewise.
3353         (FUNC_mpc_c_f): Likewise.
3354         (FUNC_mpc_c_c): Likewise.
3355         (test_functions): Add fma.  Update calls to FUNC.
3356         (handle_input_arg): Add argument exact_args.
3357         (add_test): Update call to handle_input_arg.
3358         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
3359         (output_for_one_input_case): Update call to calc_generic_results.
3360         Recalculate exact zero results in each rounding mode.
3362         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3363         non-negative before setting low bit.
3364         * math/auto-libm-test-in: Mark one asin test possibly having
3365         spurious underflow.
3366         * math/auto-libm-test-out: Regenerated.
3367         * sysdeps/i386/fpu/libm-test-ulps: Update.
3368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3370 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
3372         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3373         * sysdeps/unix/sysv/linux/microblaze: Move directory from
3374         ports/sysdeps/unix/sysv/linux/microblaze.
3375         * README: Add missing listing for microblaze*-*-linux-gnu.
3377 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
3379         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3380         * sysdeps/unix/sysv/linux/ia64: Move directory from
3381         ports/sysdeps/unix/sysv/linux/ia64.
3382         * README: Update listing for ia64-*-linux-gnu.
3384 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
3385             Joseph Myers  <joseph@codesourcery.com>
3387         * Makeconfig (test-name): New variable.
3388         (evaluate-test): Likewise.
3389         * Makerules (do-test-clean): Remove .test-result files.
3390         (common-mostlyclean): Likewise.
3391         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3392         * scripts/evaluate-test.sh: New file.
3394 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
3396         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3397         separate $(objpfx)tst-fopenloc-cmp.out and
3398         $(objpfx)tst-fopenloc-mem.out targets.
3399         (tests): Update dependencies.
3400         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3401         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3402         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3403         (tst-rxspencer-no-utf8-ARGS): New variable.
3404         (tst-rxspencer-no-utf8-ENV): Likewise.
3405         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3406         instead of $(objpfx)tst-rxspencer-mem.
3407         ($(objpfx)tst-rxspencer-mem): Change target to
3408         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
3409         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3410         * posix/tst-rxspencer-no-utf8.c: New file.
3412         * elf/Makefile ($(objpfx)order.out): Remove rule.
3413         [$(run-built-tests) = yes] (tests): Depend on
3414         $(objpfx)order-cmp.out.
3415         ($(objpfx)order-cmp.out): New rule.
3416         [$(run-built-tests) = yes] (tests): Depend on
3417         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3418         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3419         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3420         $(objpfx)tst-array5-static-cmp.out.
3421         ($(objpfx)tst-array1.out): Remove rule.
3422         ($(objpfx)tst-array1-cmp.out): New rule.
3423         ($(objpfx)tst-array1-static.out): Remove rule.
3424         ($(objpfx)tst-array1-static-cmp.out): New rule.
3425         ($(objpfx)tst-array2.out): Remove rule.
3426         ($(objpfx)tst-array2-cmp.out): New rule.
3427         ($(objpfx)tst-array3.out): Remove rule.
3428         ($(objpfx)tst-array3-cmp.out): New rule.
3429         ($(objpfx)tst-array4.out): Remove rule.
3430         ($(objpfx)tst-array4-cmp.out): New rule.
3431         ($(objpfx)tst-array5.out): Remove rule.
3432         ($(objpfx)tst-array5-cmp.out): New rule.
3433         ($(objpfx)tst-array5-static.out): Remove rule.
3434         ($(objpfx)tst-array5-static-cmp.out): New rule.
3435         [$(run-built-tests) = yes] (tests): Depend on
3436         $(objpfx)order2-cmp.out.
3437         ($(objpfx)order2.out): Remove rule.
3438         ($(objpfx)order2-cmp.out): New rule.
3439         ($(objpfx)tst-initorder.out): Remove rule.
3440         [$(run-built-tests) = yes] (tests): Depend on
3441         $(objpfx)tst-initorder-cmp.out.
3442         ($(objpfx)tst-initorder-cmp.out): New rule.
3443         ($(objpfx)tst-initorder2.out): Remove rule.
3444         [$(run-built-tests) = yes] (tests): Depend on
3445         $(objpfx)tst-initorder2-cmp.out.
3446         ($(objpfx)tst-initorder2-cmp.out): New rule.
3447         [$(run-built-tests) = yes] (tests): Depend on
3448         $(objpfx)tst-unused-dep-cmp.out.
3449         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3450         ($(objpfx)tst-unused-dep-cmp.out): New rule.
3451         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3452         on $(objpfx)tst-setvbuf1-cmp.out.
3453         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3454         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3455         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3456         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3457         ($(objpfx)tst-svc.out): Remove rule.
3458         ($(objpfx)tst-svc-cmp.out): New rule.
3460 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
3462         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3463         * ctype/ctype.h [__USE_MISC]: Likewise.
3464         * dirent/dirent.h [__USE_MISC]: Likewise.
3465         * grp/grp.h [__USE_MISC]: Likewise.
3466         * io/fcntl.h [__USE_MISC]: Likewise.
3467         * io/sys/stat.h [__USE_MISC]: Likewise.
3468         * libio/stdio.h [__USE_MISC]: Likewise.
3469         * posix/unistd.h [__USE_MISC]: Likewise.
3470         * pwd/pwd.h [__USE_MISC]: Likewise.
3471         * stdlib.h [__USE_MISC]: Likewise.
3472         * string/bits/string2.h [__USE_MISC]: Likewise.
3473         * string/string.h [__USE_MISC]: Likewise.
3474         * time/time.h [__USE_MISC]: Likewise.
3476 2014-02-13  Andreas Schwab  <schwab@suse.de>
3478         [BZ #16574]
3479         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3480         second answer buffer if it was separately allocated.
3482 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
3484         * sysdeps/mips/math-tests.h: Include <features.h>.
3485         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3486         (ROUNDING_TESTS_long_double): Do not define.
3487         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3488         (EXCEPTION_TESTS_long_double): Likewise.
3489         * sysdeps/mips/mips64/libm-test-ulps: Update.
3491         * include/features.h (__USE_BSD): Remove macro definitions.
3492         (__USE_SVID): Likewise.
3493         (_BSD_SOURCE): Likewise.
3494         (_SVID_SOURCE): Likewise.
3495         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3496         from definition of _DEFAULT_SOURCE.
3497         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3498         [_DEFAULT_SOURCE].
3499         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3500         * bits/mman.h [__USE_BSD]: Likewise.
3501         * bits/termios.h [__USE_BSD]: Likewise.
3502         * bits/waitstatus.h [__USE_BSD]: Likewise.
3503         * ctype/ctype.h [__USE_SVID]: Likewise.
3504         * dirent/dirent.h [__USE_BSD]: Likewise.
3505         * grp/grp.h [__USE_SVID]: Likewise.
3506         [__USE_BSD]: Likewise.
3507         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3508         * io/fcntl.h [__USE_BSD]: Likewise.
3509         * io/ftw.h [__USE_BSD]: Likewise.
3510         * io/sys/stat.h [__USE_BSD]: Likewise.
3511         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3512         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3513         * libio/stdio.h [__USE_SVID]: Likewise.
3514         [__USE_BSD]: Likewise.
3515         * math/math.h [__USE_SVID]: Likewise.
3516         [__USE_BSD]: Likewise.
3517         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3518         * misc/bits/syslog.h [__USE_BSD]: Likewise.
3519         * misc/search.h [__USE_SVID]: Likewise.
3520         * misc/sys/mman.h [__USE_BSD]: Likewise.
3521         * misc/sys/syslog.h [__USE_BSD]: Likewise.
3522         * misc/sys/uio.h [__USE_BSD]: Likewise.
3523         * posix/bits/unistd.h [__USE_BSD]: Likewise.
3524         * posix/glob.h [__USE_BSD]: Likewise.
3525         * posix/regex.h [__USE_BSD]: Likewise.
3526         * posix/sys/types.h [__USE_BSD]: Likewise.
3527         [__USE_SVID]: Likewise.
3528         * posix/sys/utsname.h [__USE_SVID]: Likewise.
3529         * posix/sys/wait.h [__USE_BSD]: Likewise.
3530         [__USE_SVID]: Likewise.
3531         * posix/unistd.h [__USE_BSD]: Likewise.
3532         [__USE_SVID]: Likewise.
3533         * pwd/pwd.h [__USE_SVID]: Likewise.
3534         * resolv/netdb.h [__USE_BSD]: Likewise.
3535         * setjmp/setjmp.h [__USE_BSD]: Likewise.
3536         * signal/signal.h [__USE_BSD]: Likewise.
3537         [__USE_SVID]: Likewise.
3538         * socket/sys/socket.h [__USE_BSD]: Likewise.
3539         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3540         * stdlib/stdlib.h [__USE_BSD]: Likewise.
3541         [__USE_SVID]: Likewise.
3542         * string/bits/string2.h [__USE_BSD]: Likewise.
3543         [__USE_SVID]: Likewise.
3544         * string/bits/string3.h [__USE_BSD]: Likewise.
3545         * string/endian.h [__USE_BSD]: Likewise.
3546         * string/string.h [__USE_SVID]: Likewise.
3547         [__USE_BSD]: Likewise.
3548         * string/strings.h [__USE_BSD]: Likewise.
3549         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3550         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3551         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3552         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3553         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3554         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3555         Likewise.
3556         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3557         Likewise.
3558         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3559         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3560         Likewise.
3561         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3562         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3563         Likewise.
3564         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3565         Likewise.
3566         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3567         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3568         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3569         Likewise.
3570         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3571         Likewise.
3572         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3573         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3574         * termios/termios.h [__USE_BSD]: Likewise.
3575         * time/sys/time.h [__USE_BSD]: Likewise.
3576         * time/time.h [__USE_BSD]: Likewise.
3577         [__USE_SVID]: Likewise.
3579         * Makefile (subdir_targets): Remove subdir_lint.out.
3581         * stdio-common/Makefile (do-tst-unbputc): Remove target.
3582         (do-tst-printf): Likewise.
3583         (tests): Depend directly on $(objpfx)tst-unbputc.out and
3584         $(objpfx)tst-printf.out.
3586         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3588         * Makerules (check-abi-%): Change target to
3589         $(objpfx)check-abi-%.out.
3590         (check-abi target): Update dependencies.
3591         (check-abi-pattern variable): Redirect output of diff to $@.
3592         (check-abi variable): Likewise.
3593         * elf/Makefile (check-abi): Update dependencies.
3595         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3596         unused.
3597         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3598         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3599         subnormal range.
3600         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3601         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3602         value has largest subnormal exponent.
3603         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3604         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3605         * sysdeps/aarch64/soft-fp/sfp-machine.h
3606         (_FP_TININESS_AFTER_ROUNDING): New macro.
3607         * sysdeps/alpha/soft-fp/sfp-machine.h
3608         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3609         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3610         Likewise.
3611         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3612         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3613         * sysdeps/mips/soft-fp/sfp-machine.h
3614         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3615         * sysdeps/powerpc/soft-fp/sfp-machine.h
3616         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3617         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3618         Likewise.
3619         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3620         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3621         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3622         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3623         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3624         Likewise.
3626 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
3628         [BZ #16545]
3629         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3630         model 1.
3632 2014-02-12  Richard Henderson  <rth@redhat.com>
3634         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
3635         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3636         * sysdeps/unix/sysv/linux/alpha: Move directory from
3637         ports/sysdeps/unix/sysv/linux/alpha.
3638         * README: Update listing for alpha-*-linux-gnu.
3640 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
3642         * include/features.h: Update comment documenting feature test
3643         macros.
3644         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
3645         _DEFAULT_SOURCE.
3646         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3647         (_SVID_SOURCE): Likewise.
3648         (_DEFAULT_SOURCE): Update description of default features.
3649         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3650         with _GNU_SOURCE.
3651         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3652         (S_ISVTX): Likewise.
3653         * manual/math.texi (Mathematical Constants): Likewise.
3654         * manual/signal.texi (Interrupted Primitives): Likewise.
3655         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3656         * math/test-matherr.c (_SVID_SOURCE): Do not define.
3657         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3658         Don't refer to _SVID_SOURCE in warning text.
3660         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3662         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3663         already defined.
3664         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3665         * sysdeps/mips/dl-lookup.c: Remove.
3666         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3668 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3670         [BZ #16447]
3671         * math/auto-libm-test-in: Add testcase for expl.
3672         * math/auto-libm-test-out: Regenerate.
3673         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3674         calculation of unsafe.
3675         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3677 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3679         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3680         * sysdeps/unix/sysv/linux/aarch64: Move directory from
3681         ports/sysdeps/unix/sysv/linux/aarch64.
3682         * README: Update listing for aarch64*-*-linux-gnu.
3684 2014-02-11  Will Newton  <will.newton@linaro.org>
3686         * manual/probes.texi (Mathematical Function Probes): Use
3687         "triggered" instead of "hit".
3689 2014-02-11  Will Newton  <will.newton@linaro.org>
3691         * manual/probes.texi (Internal Probes): Add documentation
3692         of setjmp, longjmp and longjmp_target probes.
3694 2014-02-11  Will Newton  <will.newton@linaro.org>
3696         * include/stap-probe.h: Add comment about probe argument
3697         format.
3699 2014-02-11  Will Newton  <will.newton@linaro.org>
3701         * malloc/mtrace.c (attribute_hidden): Remove unused macro
3702         definition.  (tr_where, tr_freehook, tr_mallochook,
3703         tr_reallochook, tr_memalignhook): Use ANSI protoype.
3705 2014-02-11  David S. Miller  <davem@davemloft.net>
3707         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3708         processing int_tests.
3710 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
3712         * sysdeps/mips: Move directory from ports/sysdeps/mips.
3713         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3714         * sysdeps/unix/sysv/linux/mips: Move directory from
3715         ports/sysdeps/unix/sysv/linux/mips.
3716         * README: Update listing for mips-*-linux-gnu and
3717         mips64-*-linux-gnu.
3719 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
3721         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3722         * sysdeps/unix/sysv/linux/m68k: Move directory from
3723         ports/sysdeps/unix/sysv/linux/m68k.
3724         * README: Update listing for m68k-*-linux-gnu.
3726 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
3728         * sysdeps/tile: Move directory from ports/sysdeps/tile.
3729         * sysdeps/unix/sysv/linux/generic: Move directory from
3730         ports/sysdeps/unix/sysv/linux/generic.
3731         * sysdeps/unix/sysv/linux/tile: Move directory from
3732         ports/sysdeps/unix/sysv/linux/tile.
3733         * README: Update listing for tile*-*-linux-gnu.
3735 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
3737         * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3738         * benchtests/bench-memmem.c (simple_memmem): Likewise.
3739         * catgets/open_catalog.c (__open_catalog): Likewise.
3740         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3741         * debug/confstr_chk.c: Likewise.
3742         * debug/fread_chk.c (__fread_chk): Likewise.
3743         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3744         * debug/getgroups_chk.c: Likewise.
3745         * debug/mbsnrtowcs_chk.c: Likewise.
3746         * debug/mbsrtowcs_chk.c: Likewise.
3747         * debug/mbstowcs_chk.c: Likewise.
3748         * debug/memcpy_chk.c: Likewise.
3749         * debug/memmove_chk.c: Likewise.
3750         * debug/mempcpy_chk.c: Likewise.
3751         * debug/memset_chk.c: Likewise.
3752         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3753         * debug/strcat_chk.c (__strcat_chk): Likewise.
3754         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3755         * debug/strncat_chk.c (__strncat_chk): Likewise.
3756         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3757         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3758         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3759         * debug/wcpncpy_chk.c: Likewise.
3760         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3761         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3762         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3763         * debug/wcsncpy_chk.c: Likewise.
3764         * debug/wcsnrtombs_chk.c: Likewise.
3765         * debug/wcsrtombs_chk.c: Likewise.
3766         * debug/wcstombs_chk.c: Likewise.
3767         * debug/wmemcpy_chk.c: Likewise.
3768         * debug/wmemmove_chk.c: Likewise.
3769         * debug/wmempcpy_chk.c: Likewise.
3770         * debug/wmemset_chk.c: Likewise.
3771         * dirent/scandirat.c (SCANDIRAT): Likewise.
3772         * dlfcn/dladdr1.c (dladdr1): Likewise.
3773         * dlfcn/dladdr.c (dladdr): Likewise.
3774         * dlfcn/dlclose.c (dlclose_doit): Likewise.
3775         * dlfcn/dlerror.c (__dlerror): Likewise.
3776         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3777         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3778         * dlfcn/dlopen.c (dlopen_doit): Likewise.
3779         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3780         * dlfcn/dlsym.c (dlsym_doit): Likewise.
3781         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3782         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3783         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3784         Likewise.
3785         * elf/dl-conflict.c: Likewise.
3786         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3787         * elf/dl-dst.h: Likewise.
3788         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3789         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3790         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3791         * elf/dl-init.c (call_init, _dl_init): Likewise.
3792         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3793         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3794         _dl_map_object_from_fd, open_verify, open_path,
3795         _dl_map_object): Likewise.
3796         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3797         Likewise.
3798         * elf/dl-minimal.c (__libc_memalign): Likewise.
3799         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3800         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3801         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3802         * elf/dl-sym.c (do_sym): Likewise.
3803         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3804         _dl_tls_get_addr_soft): Likewise.
3805         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3806         * elf/dl-writev.h (_dl_writev): Likewise.
3807         * elf/ldconfig.c (search_dir): Likewise.
3808         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3809         dl_main): Likewise.
3810         * elf/setup-vdso.h (setup_vdso): Likewise.
3811         * grp/compat-initgroups.c (compat_call): Likewise.
3812         * grp/fgetgrent.c (fgetgrent): Likewise.
3813         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3814         * grp/putgrent.c (putgrent): Likewise.
3815         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3816         Likewise.
3817         * hurd/hurdinit.c: Likewise.
3818         * iconvdata/8bit-gap.c (struct): Likewise.
3819         * iconvdata/ansi_x3.110.c : Likewise.
3820         * iconvdata/big5.c : Likewise.
3821         * iconvdata/big5hkscs.c : Likewise.
3822         * iconvdata/cp1255.c: Likewise.
3823         * iconvdata/cp1258.c : Likewise.
3824         * iconvdata/cp932.c : Likewise.
3825         * iconvdata/euc-cn.c: Likewise.
3826         * iconvdata/euc-jisx0213.c : Likewise.
3827         * iconvdata/euc-jp.c: Likewise.
3828         * iconvdata/euc-jp-ms.c : Likewise.
3829         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3830         * iconvdata/gb18030.c : Likewise.
3831         * iconvdata/gbbig5.c (const): Likewise.
3832         * iconvdata/gbgbk.c: Likewise.
3833         * iconvdata/gbk.c : Likewise.
3834         * iconvdata/ibm1364.c : Likewise.
3835         * iconvdata/ibm930.c : Likewise.
3836         * iconvdata/ibm932.c: Likewise.
3837         * iconvdata/ibm933.c : Likewise.
3838         * iconvdata/ibm935.c : Likewise.
3839         * iconvdata/ibm937.c : Likewise.
3840         * iconvdata/ibm939.c : Likewise.
3841         * iconvdata/ibm943.c: Likewise.
3842         * iconvdata/iso_11548-1.c: Likewise.
3843         * iconvdata/iso-2022-cn.c : Likewise.
3844         * iconvdata/iso-2022-cn-ext.c : Likewise.
3845         * iconvdata/iso-2022-jp-3.c: Likewise.
3846         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3847         * iconvdata/iso-2022-kr.c : Likewise.
3848         * iconvdata/iso646.c (gconv_end): Likewise.
3849         * iconvdata/iso_6937-2.c : Likewise.
3850         * iconvdata/iso_6937.c : Likewise.
3851         * iconvdata/iso8859-1.c: Likewise.
3852         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3853         * iconvdata/shift_jisx0213.c : Likewise.
3854         * iconvdata/sjis.c : Likewise.
3855         * iconvdata/t.61.c : Likewise.
3856         * iconvdata/tcvn5712-1.c : Likewise.
3857         * iconvdata/tscii.c: Likewise.
3858         * iconvdata/uhc.c : Likewise.
3859         * iconvdata/unicode.c (gconv_end): Likewise.
3860         * iconvdata/utf-16.c (gconv_end): Likewise.
3861         * iconvdata/utf-32.c (gconv_end): Likewise.
3862         * iconvdata/utf-7.c (base64): Likewise.
3863         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3864         * iconv/gconv_close.c (__gconv_close): Likewise.
3865         * iconv/gconv_open.c (__gconv_open): Likewise.
3866         * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3867         ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3868         internal_ucs4le_loop_single, ucs4le_internal_loop,
3869         ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3870         * iconv/iconv.c (iconv): Likewise.
3871         * iconv/iconv_close.c: Likewise.
3872         * iconv/loop.c (SINGLE): Likewise.
3873         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3874         * include/atomic.h: Likewise.
3875         * inet/inet6_option.c (option_alloc): Likewise.
3876         * intl/bindtextdom.c (set_binding_values): Likewise.
3877         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3878         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3879         * intl/localealias.c (read_alias_file): Likewise.
3880         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3881         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3882         _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3883         * libio/fmemopen.c (fmemopen): Likewise.
3884         * libio/iofgets.c (_IO_fgets): Likewise.
3885         * libio/iofgets_u.c (fgets_unlocked): Likewise.
3886         * libio/iofgetws.c (fgetws): Likewise.
3887         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3888         * libio/iogetdelim.c (_IO_getdelim): Likewise.
3889         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3890         adjust_wide_data, _IO_wfile_seekoff): Likewise.
3891         * locale/findlocale.c (_nl_find_locale): Likewise.
3892         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3893         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3894         Likewise.
3895         * locale/setlocale.c (setlocale): Likewise.
3896         * login/programs/pt_chown.c (main): Likewise.
3897         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3898         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3899         * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3900         mmap, mmap64, mremap, munmap): Likewise.
3901         * math/e_exp2l.c: Likewise.
3902         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3903         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3904         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3905         * math/s_catan.c (__catan): Likewise.
3906         * math/s_catanf.c (__catanf): Likewise.
3907         * math/s_catanh.c (__catanh): Likewise.
3908         * math/s_catanhf.c (__catanhf): Likewise.
3909         * math/s_catanhl.c (__catanhl): Likewise.
3910         * math/s_catanl.c (__catanl): Likewise.
3911         * math/s_ccosh.c (__ccosh): Likewise.
3912         * math/s_ccoshf.c (__ccoshf): Likewise.
3913         * math/s_ccoshl.c (__ccoshl): Likewise.
3914         * math/s_cexp.c (__cexp): Likewise.
3915         * math/s_cexpf.c (__cexpf): Likewise.
3916         * math/s_cexpl.c (__cexpl): Likewise.
3917         * math/s_clog10.c (__clog10): Likewise.
3918         * math/s_clog10f.c (__clog10f): Likewise.
3919         * math/s_clog10l.c (__clog10l): Likewise.
3920         * math/s_clog.c (__clog): Likewise.
3921         * math/s_clogf.c (__clogf): Likewise.
3922         * math/s_clogl.c (__clogl): Likewise.
3923         * math/s_csin.c (__csin): Likewise.
3924         * math/s_csinf.c (__csinf): Likewise.
3925         * math/s_csinh.c (__csinh): Likewise.
3926         * math/s_csinhf.c (__csinhf): Likewise.
3927         * math/s_csinhl.c (__csinhl): Likewise.
3928         * math/s_csinl.c (__csinl): Likewise.
3929         * math/s_csqrt.c (__csqrt): Likewise.
3930         * math/s_csqrtf.c (__csqrtf): Likewise.
3931         * math/s_csqrtl.c (__csqrtl): Likewise.
3932         * math/s_ctan.c (__ctan): Likewise.
3933         * math/s_ctanf.c (__ctanf): Likewise.
3934         * math/s_ctanh.c (__ctanh): Likewise.
3935         * math/s_ctanhf.c (__ctanhf): Likewise.
3936         * math/s_ctanhl.c (__ctanhl): Likewise.
3937         * math/s_ctanl.c (__ctanl): Likewise.
3938         * math/w_pow.c: Likewise.
3939         * math/w_powf.c: Likewise.
3940         * math/w_powl.c: Likewise.
3941         * math/w_scalb.c (sysv_scalb): Likewise.
3942         * math/w_scalbf.c (sysv_scalbf): Likewise.
3943         * math/w_scalbl.c (sysv_scalbl): Likewise.
3944         * misc/error.c (error_tail): Likewise.
3945         * misc/pselect.c (__pselect): Likewise.
3946         * nis/nis_callback.c (__nis_create_callback): Likewise.
3947         * nis/nis_call.c (__nisfind_server): Likewise.
3948         * nis/nis_creategroup.c (nis_creategroup): Likewise.
3949         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3950         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3951         * nis/nis_getservlist.c (nis_getservlist): Likewise.
3952         * nis/nis_lookup.c (nis_lookup): Likewise.
3953         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3954         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3955         nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3956         * nis/nis_xdr.c (xdr_endpoint): Likewise.
3957         * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3958         internal_getgrgid_r): Likewise.
3959         * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3960         Likewise.
3961         * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3962         internal_getpwuid_r): Likewise.
3963         * nis/nss_compat/compat-spwd.c (getspent_next_file,
3964         internal_getspnam_r): Likewise.
3965         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3966         _nss_nis_getaliasbyname_r): Likewise.
3967         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3968         _nss_nis_getntohost_r): Likewise.
3969         * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3970         internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3971         Likewise.
3972         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3973         internal_nis_gethostent_r, internal_gethostbyname2_r,
3974         _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3975         _nss_nis_gethostbyname4_r): Likewise.
3976         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3977         initgroups_netid): Likewise.
3978         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3979         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3980         _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3981         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3982         _nss_nis_getprotobynumber_r): Likewise.
3983         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3984         _nss_nis_getsecretkey): Likewise.
3985         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3986         internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3987         Likewise.
3988         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3989         _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3990         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3991         _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3992         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3993         _nss_nis_getspnam_r): Likewise.
3994         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3995         Likewise.
3996         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3997         _nss_nisplus_getntohost_r): Likewise.
3998         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3999         _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4000         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
4001         _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
4002         * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
4003         Likewise.
4004         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
4005         _nss_nisplus_getnetbyaddr_r): Likewise.
4006         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
4007         _nss_nisplus_getprotobynumber_r): Likewise.
4008         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
4009         _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4010         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4011         Likewise.
4012         * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
4013         _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
4014         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
4015         _nss_nisplus_getspnam_r): Likewise.
4016         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
4017         * nscd/aicache.c (addhstaiX): Likewise.
4018         * nscd/cache.c (cache_search, prune_cache): Likewise.
4019         * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
4020         nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
4021         * nscd/grpcache.c (addgrbyX): Likewise.
4022         * nscd/hstcache.c (addhstbyX): Likewise.
4023         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4024         * nscd/mem.c (gc, mempool_alloc): Likewise.
4025         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
4026         Likewise.
4027         * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
4028         Likewise.
4029         * nscd/nscd_getai.c (__nscd_getai): Likewise.
4030         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4031         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4032         Likewise.
4033         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4034         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4035         * nscd/nscd_helper.c (__readvall, open_socket,
4036         __nscd_get_mapping, __nscd_get_map_ref): Likewise.
4037         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4038         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
4039         * nscd/pwdcache.c (addpwbyX): Likewise.
4040         * nscd/selinux.c (preserve_capabilities): Likewise.
4041         * nscd/servicescache.c (addservbyX): Likewise.
4042         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4043         * posix/fnmatch.c (fnmatch): Likewise.
4044         * posix/getopt.c (_getopt_internal_r): Likewise.
4045         * posix/glob.c (glob, glob_in_dir): Likewise.
4046         * posix/wordexp.c (exec_comm_child): Likewise.
4047         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
4048         gaih_getanswer_slice): Likewise.
4049         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4050         * resolv/res_init.c: Likewise.
4051         * resolv/res_mkquery.c (res_nmkquery): Likewise.
4052         * resolv/res_query.c (__libc_res_nquery): Likewise.
4053         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4054         Likewise.
4055         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4056         * stdio-common/perror.c (perror): Likewise.
4057         * stdio-common/printf_fp.c (___printf_fp): Likewise.
4058         * stdio-common/tmpnam.c (tmpnam): Likewise.
4059         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4060         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4061         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
4062         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4063         * stdlib/putenv.c (putenv): Likewise.
4064         * stdlib/setenv.c (__add_to_environ): Likewise.
4065         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4066         * stdlib/strtol_l.c (INTERNAL): Likewise.
4067         * string/memmem.c (memmem): Likewise.
4068         * string/strerror.c (strerror): Likewise.
4069         * string/strnlen.c (__strnlen): Likewise.
4070         * string/test-memmem.c (simple_memmem): Likewise.
4071         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4072         * sunrpc/pm_getport.c (__get_socket): Likewise.
4073         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4074         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4075         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
4076         elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4077         Likewise.
4078         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4079         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4080         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4081         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4082         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4083         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
4084         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
4085         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4086         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4087         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4088         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4089         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4090         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4091         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4092         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4093         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4094         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4095         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4096         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4097         Likewise.
4098         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4099         Likewise.
4100         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4101         Likewise.
4102         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4103         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4104         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4105         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4106         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4107         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4108         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4109         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4110         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4111         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4112         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4113         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4114         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4115         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4116         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4117         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
4118         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4119         Likewise.
4120         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4121         Likewise.
4122         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4123         Likewise.
4124         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4125         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4126         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4127         Likewise.
4128         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4129         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4130         * sysdeps/posix/opendir.c (__opendirat): Likewise.
4131         * sysdeps/posix/sleep.c: Likewise.
4132         * sysdeps/posix/tempname.c: Likewise.
4133         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4134         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4135         Likewise.
4136         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
4137         elf_machine_rela): Likewise.
4138         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4139         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4140         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4141         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4142         Likewise.
4143         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4144         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
4145         elf_machine_rela, elf_machine_lazy_rel): Likewise.
4146         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
4147         elf_machine_rela, elf_machine_lazy_rel): Likewise.
4148         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4149         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4150         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4151         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4152         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4153         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4154         elf_machine_lazy_rel): Likewise.
4155         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4156         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4157         elf_machine_lazy_rel): Likewise.
4158         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4159         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4160         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4161         * sysdeps/unix/grantpt.c (grantpt): Likewise.
4162         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4163         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4164         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4165         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4166         Likewise.
4167         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4168         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4169         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4170         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4171         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4172         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4173         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4174         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4175         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4176         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4177         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4178         Likewise.
4179         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4180         (__posix_fallocate64_l64): Likewise.
4181         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4182         (posix_fallocate): Likewise.
4183         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
4184         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4185         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
4186         getifaddrs_internal): Likewise.
4187         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4188         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4189         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4190         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4191         * sysdeps/unix/sysv/linux/posix_fallocate64.c
4192         (__posix_fallocate64_l64): Likewise.
4193         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4194         Likewise.
4195         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4196         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4197         Likewise.
4198         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4199         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4200         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4201         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4202         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4203         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4204         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4205         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4206         Likewise.
4207         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4208         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4209         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4210         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4211         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4212         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4213         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4214         Likewise.
4215         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4216         (posix_fallocate): Likewise.
4217         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4218         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4219         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4220         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4221         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4222         Likewise.
4223         * time/asctime.c (asctime_internal): Likewise.
4224         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4225         * time/tzset.c (__tzset_parse_tz): Likewise.
4226         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4227         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4228         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4229         * wcsmbs/wcsmbsload.h: Likewise.
4231 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
4233         [BZ #15894]
4234         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4236 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
4238         * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4239         arena_get2): Remove THREAD_STATS conditionals.
4240         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4241         __malloc_stats, int): Likewise.
4243 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
4245         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4246         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
4248 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
4250         * manual/setjmp.texi: Fix typos/grammar errors.
4252 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
4254         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4255         Only return early when n is <= 0.  Delete unused return statement.
4257 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
4259         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4260         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4261         * debug/tst-longjmp_chk3.c: New file.
4263 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
4265         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4266         (test_main): Replace code with set_fortify_handler call.
4267         * debug/test-strcpy_chk.c: Likewise.
4268         * debug/tst-chk1.c: Likewise.
4269         * debug/tst-longjmp_chk.c: Likewise.
4270         * test-skeleton.c: Include fcntl.h & paths.h
4271         (set_fortify_handler): Define.
4273 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
4275         * debug/tst-longjmp_chk.c: Add header comment and include
4276         ../test-skeleton.c.
4277         (do_test): Mark static.
4278         (TEST_FUNCTION): Define.
4280 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
4282         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4283         (IP_PMTUDISC_INTERFACE): Likewise.
4284         (IP_MULTICAST_IF): Likewise.
4285         (IP_MULTICAST_TTL): Likewise.
4286         (IP_MULTICAST_LOOP): Likewise.
4287         (IP_ADD_MEMBERSHIP): Likewise.
4288         (IP_DROP_MEMBERSHIP): Likewise.
4289         (IP_UNBLOCK_SOURCE): Likewise.
4290         (IP_BLOCK_SOURCE): Likewise.
4291         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4292         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4293         (IP_MSFILTER): Likewise.
4294         (MCAST_JOIN_GROUP): Likewise.
4295         (MCAST_BLOCK_SOURCE): Likewise.
4296         (MCAST_UNBLOCK_SOURCE): Likewise.
4297         (MCAST_LEAVE_GROUP): Likewise.
4298         (MCAST_JOIN_SOURCE_GROUP): Likewise.
4299         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4300         (MCAST_MSFILTER): Likewise.
4301         (IP_MULTICAST_ALL): Likewise.
4302         (IP_UNICAST_IF): Likewise.
4304 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
4306         * timezone/Makefile: Delete $(have-ksh) check.
4307         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4308         * timezone/tzselect.ksh: Add +x mode bits.
4310 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
4312         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4313         (ANON_INODE_FS_MAGIC): Likewise.
4314         (BDEVFS_MAGIC): Likewise.
4315         (BINFMTFS_MAGIC): Likewise.
4316         (BTRFS_TEST_MAGIC): Likewise.
4317         (CRAMFS_MAGIC_WEND): Likewise.
4318         (DEBUGFS_MAGIC): Likewise.
4319         (ECRYPTFS_SUPER_MAGIC): Likewise.
4320         (EXT3_SUPER_MAGIC): Likewise.
4321         (EXT4_SUPER_MAGIC): Likewise.
4322         (FUTEXFS_SUPER_MAGIC): Likewise.
4323         (HOSTFS_SUPER_MAGIC): Likewise.
4324         (HUGETLBFS_MAGIC): Likewise.
4325         (MINIX3_SUPER_MAGIC): Likewise.
4326         (MTD_INODE_FS_MAGIC): Likewise.
4327         (NILFS_SUPER_MAGIC): Likewise.
4328         (OPENPROM_SUPER_MAGIC): Likewise.
4329         (PIPEFS_MAGIC): Likewise.
4330         (PSTOREFS_MAGIC): Likewise.
4331         (QNX6_SUPER_MAGIC): Likewise.
4332         (RAMFS_MAGIC): Likewise.
4333         (REISERFS_SUPER_MAGIC_STRING): Likewise.
4334         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4335         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4336         (SECURITYFS_MAGIC): Likewise.
4337         (SELINUX_MAGIC): Likewise.
4338         (SMACK_MAGIC): Likewise.
4339         (SOCKFS_MAGIC): Likewise.
4340         (SQUASHFS_MAGIC): Likewise.
4341         (STACK_END_MAGIC): Likewise.
4342         (TMPFS_MAGIC): Likewise.
4343         (USBDEVICE_SUPER_MAGIC): Likewise.
4344         (V9FS_MAGIC): Likewise.
4345         (XENFS_SUPER_MAGIC): Likewise.
4346         (CRAMFS_MAGIC): Fix typo in comment.
4347         (EXT2_SUPER_MAGIC): Update comment.
4348         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4350 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
4352         * sysdeps/arm: Move directory from ports/sysdeps/arm.
4353         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4354         * sysdeps/unix/sysv/linux/arm: Move directory from
4355         ports/sysdeps/unix/sysv/linux/arm.
4356         * README: Update listing for arm-*-linux-gnueabi.
4358         * README: Remove mention of am33.
4360 2014-02-07  Roland McGrath  <roland@hack.frob.com>
4362         * bits/sigset.h (__sigemptyset): Use a statement expression rather
4363         than the comma operator, to avoid "rhs of comma has no effect"
4364         compiler warnings.
4365         (__sigfillset, __sigandset, __sigorset): Likewise.
4366         * include/signal.h (__sigemptyset): Likewise.
4367         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4369 2014-02-07  Allan McRae  <allan@archlinux.org>
4371         * version.h (RELEASE): Set to "development".
4372         (VERSION): Set to "2.19.90"
4373         * NEWS: Add 2.20 section.
4375 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
4377         [BZ #16529]
4378         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4380 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
4382         * manual/contrib.texi: Update entry for Carlos O'Donell,
4383         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4385 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
4387         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4389         * sysdeps/unix/sysv/linux/kernel-features.h
4390         [__LINUX_KERNEL_VERSION >= 0x020621]
4391         (__ASSUME_PROC_PID_TASK_COMM): Define.
4393 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4395         [BZ #16398]
4396         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4397         conversion when destination buffer does not have enough space.
4398         * libio/tst-ftell-partial-wide.c: New test case.
4399         * libio/Makefile (tests): Add tst-ftell-partial-wide.
4401         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4402         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
4403         Leonard and Allan McRae.
4405 2014-02-04  David S. Miller  <davem@davemloft.net>
4407         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4408         32-bit.
4410 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4413         file
4414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4415         New file
4416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4417         file.
4418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4419         file.
4420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4421         New file.
4422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4423         file.
4424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4425         file.
4426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4427         New file.
4428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4429         New file.
4430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4431         New file.
4432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4433         New file.
4434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4435         New file.
4436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4437         New file.
4439 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4441         * nptl/shlib-versions: Change powerpc*le start to 2.17.
4442         * shlib-versions: Likewise.
4444 2014-02-04  Roland McGrath  <roland@hack.frob.com>
4445             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4447         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4448         (abilist-pattern): New variable, set to %-le.abilist.
4450         * Makerules (abilist-pattern): New variable.
4451         (vpath): Use $(abilist-pattern) in place of %.abilist.
4452         (check-abi-% pattern rule): Likewise.
4453         (check-abi, update-abi): Likewise.
4455 2014-02-04  Eric Wong  <normalperson@yhbt.net>
4457         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4459 2014-02-04  Eric Wong  <normalperson@yhbt.net>
4461         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4463 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
4465         * manual/startup.texi: Add next, previous, and top entries for
4466         the `Program Arguments' and `Environment Variables' nodes.
4468 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
4470         * manual/macros.texi: Add comments before MTASC-safety macros.
4472         * manual/users.texi: Document MTASC-safety properties.
4474         * manual/threads.texi (pthread_key_create, pthread_key_delete,
4475         pthread_getspecific, pthread_setspecific): Format with
4476         @deftypefun, and add @safety note.
4477         * manual/signal.texi: Move comments that analyze the above
4478         functions to their home place.
4480 2014-02-03  Allan McRae  <allan@archlinux.org>
4482         * po/sl.po: Update Slovenian translation from translation project.
4484 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
4486         * manual/time.texi (timegm): Add missing blank after @c.
4487         Reported by Joseph Myers <joseph@codesourcery.com>.
4489 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
4491         * manual/check-safety.sh: New.
4492         * manual/Makefile ($(objpfx)stamp-summary): Run it.
4494         * manual/terminal.texi: Document MTASC-safety properties.
4496         * manual/filesys.texi: Document MTASC-safety properties.
4498         * manual/errno.texi: Document MTASC-safety properties.
4500         * manual/intro.texi: Document safety identifiers and
4501         conditionals.
4503         * manual/string.texi (wcstok): Fix prototype.
4504         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4506         * manual/time.texi: Document MTASC-safety properties.
4508         * manual/string.texi: Document MTASC-safety properties.
4510         * manual/threads.texi: Document MTASC-safety properties.
4512         * manual/stdio.texi: Document MTASC-safety properties.
4514         * manual/syslog.texi: Document MTASC-safety properties.
4516         * manual/sysinfo.texi: Document MTASC-safety properties.
4518         * manual/startup.texi: Document MTASC-safety properties.
4520         * manual/socket.texi: Document MTASC-safety properties.
4522         * manual/signal.texi: Document MTASC-safety properties.
4524 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
4526         * manual/setjmp.texi: Document MTASC-safety properties.
4528         * manual/search.texi: Document MTASC-safety properties.
4530         * manual/resource.texi: Document MTASC-safety properties.
4532         * manual/process.texi: Document MTASC-safety properties.
4534         * manual/platform.texi: Document MTASC-safety properties.
4536         * manual/pipe.texi: Document MTASC-safety properties.
4538         * manual/pattern.texi: Document MTASC-safety properties.
4540         * manual/message.texi: Document MTASC-safety properties.
4542         [BZ #12751]
4543         * manual/memory.texi: Document MTASC-safety properties.
4545         * manual/math.texi: Document MTASC-safety properties.
4547         * manual/locale.texi: Document MTASC-safety properties.
4549         * manual/llio.texi: Document MTASC-safety properties.
4551         * manual/libdl.texi: New.
4553         * manual/lang.texi: Document MTASC-safety properties.
4555         * manual/job.texi: Document MTASC-safety properties.
4557         * manual/getopt.texi: Document MTASC-safety properties.
4559         * manual/ctype.texi: Document MTASC-safety properties.
4561 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
4563         [BZ #16046]
4564         * csu/libc-tls.c (static_map): Remove variable.
4565         (__libc_setup_tls): Use main executable's link map for TLS data.
4566         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4567         casing for LM_ID_BASE and GL(dl_nns).
4568         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4569         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
4570         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4571         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4572         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4573         member.
4574         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4575         l_phnum members.
4577 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
4579         * manual/debug.texi: Document MTASC-safety properties.
4581 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
4583         [BZ #16510]
4584         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4585         of __x86_64__ when disabling x87 inline functions.
4587 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
4589         * manual/charset.texi: Document MTASC-safety properties.
4591         * manual/crypt.texi: Document MTASC-safety properties.
4593         * manual/conf.texi: Document MTASC-safety properties.
4595         * manual/arith.texi: Document MTASC-safety properties.
4597         * manual/argp.texi: Document MTASC-safety properties.
4599         * manual/macros.texi: Introduce macros to document multi
4600         thread, asynchronous signal and asynchronous cancellation
4601         safety properties.
4602         * manual/intro.texi: Introduce the properties themselves.
4604 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4606         * sysdeps/sh/sh4/Makefile: New file.
4608 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
4610         * math/gen-libm-test.pl ($srcdir): New variable.
4611         ($auto_input): Use it.
4613 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4615         [BZ #16506]
4616         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4617         access beyond array bounds when parsing netgroups file.
4619         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4620         the old buffer before realloc.
4622 2014-01-27  Allan McRae  <allan@archlinux.org>
4624         * po/fr.po: Update French translation from translation project.
4626 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4628         * sysdeps/sh/libm-test-ulps: Regenerate.
4630 2014-01-24  David S. Miller  <davem@davemloft.net>
4632         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4634 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4636         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4637         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4639 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4641         [BZ #16474]
4642         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4643         string pointers after reallocation.
4645 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4647         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4648         __SH4A__ instead of __SH_FPU_ANY__.
4650 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4652         * sysdeps/sh/fpu_control.h: New file.
4653         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4654         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4655         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4656         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4657         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4658         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4659         * sysdeps/sh/sys/ucontext.h: Remove.
4660         * sysdeps/sh/sys: Remove directory.
4662 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4664         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4665         s390/sys/ucontext.h.
4666         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4667         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4669 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
4671         [BZ #15605]
4672         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4674 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4676         [BZ#16431]
4677         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4678         Adjust the vDSO correctly for internal calls.
4679         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4681 2014-01-20  Allan McRae  <allan@archlinux.org>
4683         * po/ca.po: Update Catalan translation from translation project.
4685 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
4687         * sysdeps/s390/sotruss-lib.c: New file.
4689 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4691         [BZ#16430]
4692         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
4693         (__GI___gettimeofday): Alias for a different internal symbol to avoid
4694         local calls issues by not having a PLT stub required for IFUNC calls.
4695         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4697 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
4699         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4700         * math/test-fpucw-static.c: Likewise.
4702 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4704         [BZ #16453]
4705         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4707 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4709         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4710         implementation for powerpc.
4712 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
4714         [BZ #14782]
4715         * sysdeps/posix/system.c (__libc_system): Do not enable
4716         asynchronous cancellation.
4718 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4720         [BZ #16427]
4721         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4722         handling only for numbers special also in the IEEE case.
4724 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4726         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4728 2014-01-11  Allan McRae  <allan@archlinux.org>
4730         * po/bg.po: Update Bulgarian translation from translation project.
4732         * po/de.po: Update German translation from translation project.
4734 2014-01-10  Roland McGrath  <roland@hack.frob.com>
4736         * sysdeps/generic/gcc-compat.h: New file.
4738 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4740         * benchtests/asin-inputs: Correct slow inputs.
4741         * benchtests/acos-inputs: Likewise.
4743 2014-01-10  Allan McRae  <allan@archlinux.org>
4745         * po:sv.po: Update Swedish translation from translation project.
4747         * po/vi.po: Update Vietnamese translation from translation project.
4749         * po/eo.po: Update Esperanto translation from translation project.
4751         * po/cs.po: Update Czech translation from translation project.
4753         * po/nl.po: Update Dutch translation from translation project.
4755         * po/pl.po: Update Polish translation from translation project.
4757         * po/ru.po: Update Russian translation from translation project.
4759         * po/uk.po: Update Ukrainian translation from translation project.
4761 2014-01-08  Brooks Moses  <bmoses@google.com>
4763         * elf/dl-load.c: Fix comment typo.
4765 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
4767         * po/header.pot: Rename to...
4768         * po/pot.header: ... this.
4769         * po/Makefile: Use pot.header.
4771 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
4772             Maxim Kuvyrkov  <maxim@kugelworks.com>
4774         [BZ #16394]
4775         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4776         SRC and DEST against LEN.
4778 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4780         [BZ #16414]
4781         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4782         implementation.
4783         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4785 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4789 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
4791         [BZ #16408]
4792         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4793         for large positive arguments.
4795 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
4797         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4799         * math/auto-libm-test-in: Mark various tests with
4800         xfail-rounding:ldbl-128ibm.
4801         * math/auto-libm-test-out: Regenerated.
4803         [BZ #16407]
4804         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4805         Increase overflow threshold.
4807 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
4809         [BZ #14286]
4810         * stdio-common/vfprintf.c: Check for integer overflow.
4812 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4814         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4815         the first argument and return value of __tls_get_addr_internal.
4817 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4819         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4820         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4822 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4824         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4825         * sysdeps/s390/rtld-global-offsets.sym: New file.
4826         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4827         GLIBC_2.19 symbol.
4828         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4829         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4830         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4831         ... this.
4832         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4833         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4834         ... this.
4835         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4836         Regenerate.
4837         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4838         Regenerate.
4839         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4840         halfs of GPRs for high_gprs contexts.
4841         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4842         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
4843         field.
4844         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4845         uc_flags field.
4846         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4847         64 bit versions:
4848         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4849         for high GPRs (uc_high_gprs) and for future extensions
4850         (__reserved).
4851         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4852         for future extensions (__reserved).
4853         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4854         64 bit versions:
4855         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4856         SC_HIGHGPRS offset definition.
4857         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4858         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4860 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4862         * Versions.def: Add GLIBC_2.19 for libpthread.
4863         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4864         siglongjmp for libpthread with GLIBC_2.19 symver.
4865         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4866         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4867         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4868         * sysdeps/s390/__longjmp.c: New file.
4869         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4870         * sysdeps/s390/longjmp.c: New file.
4871         * sysdeps/s390/setjmp.S: New file.
4872         * sysdeps/s390/sigjmp.S: New file.
4873         * sysdeps/s390/v1-longjmp.c: New file.
4874         * sysdeps/s390/v1-setjmp.h: New file.
4875         * sysdeps/s390/v1-sigjmp.c: New file.
4876         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4877         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4878         GLIBC_2.19 version.
4879         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4880         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4881         versioned symbols for ____longjmp_chk.
4882         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4883         Likewise.
4884         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4885         Regenerate.
4886         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4887         Regenerate.
4888         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4889         Regenerate.
4890         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4891         Regenerate.
4892         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4893         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4894         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4895         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4896         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4897         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4898         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4899         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4900         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4901         * sysdeps/s390/rtld-__longjmp.c: New file.
4902         * sysdeps/s390/rtld-setjmp.S: New file.
4904 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
4906         [BZ #16400]
4907         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4908         Return -__logl (x) for small positive arguments without evaluating
4909         a polynomial.
4911 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
4913         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4914         Rename to ...
4915         (__ptrace_peeksiginfo_args): ... this.
4916         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4917         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4918         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4920 2014-01-06  Allan McRae  <allan@archlinux.org>
4922         * inet/netinet/in.h: Fix typo in comment.
4924 2014-01-05  Andreas Jaeger  <aj@suse.de>
4926         * sysdeps/i386/fpu/libm-test-ulps: Update.
4928 2014-01-05  Allan McRae  <allan@archlinux.org>
4930         * po/libc.pot: Regenerated.
4932         * malloc/memusagestat.c: Fix gettext call formatting.
4934 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
4936         * nscd/nscd.c: Improve usage() output.
4938 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
4940         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4941         * sysdeps/unix/sysv/linux/configure: Regenerated.
4942         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4943         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4945 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
4947         [BZ #16390]
4948         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4949         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4951 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4953         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4954         extra tokens at end of #undef directive.
4955         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4956         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4957         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4959 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
4961         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4963         * math/auto-libm-test-in: Mark various tests with
4964         xfail-rounding:ldbl-128ibm.
4965         * math/auto-libm-test-out: Regenerated.
4967 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
4969         [BZ #16386]
4970         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4971         numbers with subnormal high part when calculating exponent.
4973         [BZ #16385]
4974         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4975         fabs.
4977         [BZ #16384]
4978         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4979         M_LN2l.
4980         (__ieee754_acoshl): Use __log1pl not __log1p.
4982 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
4984         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4985         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4986         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4987         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4988         Convert to GNU style.
4989         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4990         mem2mem_check, mem2chunk_check, top_check, realloc_check,
4991         memalign_check, __malloc_set_state): Likewise.
4992         * malloc/mallocbug.c (main): Likewise.
4993         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4994         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4995         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4996         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4997         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4998         * malloc/malloc.h: Likewise.
4999         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
5000         memalignhook, reallochook, mabort): Likewise.
5001         * malloc/mcheck.h: Likewise.
5002         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
5003         mmap64, mremap, munmap, dest): Likewise.
5004         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5005         * malloc/morecore.c (__default_morecore): Likewise.
5006         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5007         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
5008         _obstack_allocated_p, obstack_free, _obstack_memory_used,
5009         print_and_abort): Likewise.
5010         * malloc/obstack.h: Likewise.
5011         * malloc/set-freeres.c (__libc_freeres): Likewise.
5012         * malloc/tst-mallocstate.c (main): Likewise.
5013         * malloc/tst-mtrace.c (main): Likewise.
5014         * malloc/tst-realloc.c (do_test): Likewise.
5016 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5018         [BZ #16366]
5019         * nscd/netgroupcache.c (do_notfound): New function.
5020         (addgetnetgrentX): Use it.
5022         [BZ # 16365]
5023         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5024         NSS_STATUS_NOTFOUND.
5026 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
5028         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5031 2014-01-01  Allan McRae  <allan@archlinux.org>
5033         * scripts/update-copyrights: Update configure input file suffix.
5035         * NEWS: Update copyright year.
5036         * catgets/gencat.c: Likewise.
5037         * csu/version.c: Likewise.
5038         * debug/catchsegv.sh: Likewise.
5039         * debug/pcprofiledump.c: Likewise.
5040         * debug/xtrace.sh: Likewise.
5041         * elf/ldconfig.c: Likewise.
5042         * elf/ldd.bash.in: Likewise.
5043         * elf/pldd.c: Likewise.
5044         * elf/sotruss.ksh: Likewise.
5045         * elf/sprof.c: Likewise.
5046         * iconv/iconv_prog.c: Likewise.
5047         * iconv/iconvconfig.c: Likewise.
5048         * locale/programs/locale.c: Likewise.
5049         * locale/programs/localedef.c: Likewise.
5050         * login/programs/pt_chown.c: Likewise.
5051         * malloc/memusage.sh: Likewise.
5052         * malloc/memusagestat.c: Likewise.
5053         * malloc/mtrace.pl: Likewise.
5054         * manual/libc.texinfo: Likewise.
5055         * nscd/nscd.c: Likewise.
5056         * nss/getent.c: Likewise.
5057         * nss/makedb.c: Likewise.
5058         * posix/getconf.c: Likewise.
5059         * scripts/test-installation.pl: Likewise.
5061         * All files with FSF copyright notices: Update copyright dates
5062         using scripts/update-copyrights.
5063         * intl/plural.c: Regenerated.
5064         * locale/programs/charmap-kw.h: Likewise.
5065         * locale/programs/locfile-kw.h: Likewise.
5067 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
5069         * sysdeps/unix/sysv/linux/configure: Regenerated.
5070         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5071         the linux/fanotify.h header.
5072         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5073         HAVE_LINUX_FANOTIFY_H is defined.
5075 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
5077         * benchtests/cos-inputs: New inputs.
5078         * benchtests/sin-inputs: Likewise.
5080         * benchtests/atan-inputs: New inputs. Fix name of multiple
5081         precision fallback inputs.
5083         * benchtests/atanh-inputs: New inputs.
5084         * benchtests/tanh-inputs: Likewise.
5086         * benchtests/acosh-inputs: New inputs.
5087         * benchtests/asinh-inputs: Likewise.
5089         * benchtests/cosh-inputs: New inputs.
5090         * benchtests/sinh-inputs: Likewise.
5092         * benchtests/acos-inputs: Add more inputs.
5093         * benchtests/asin-inputs: Likewise.
5095 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
5097         [BZ #16375]
5098         * manual/arith.texi: Fix spelling.
5099         * manual/charset.texi: Likewise.
5100         * manual/errno.texi: Likewise.
5101         * manual/filesys.texi: Likewise.
5102         * manual/lang.texi: Likewise.
5103         * manual/llio.texi: Likewise.
5104         * manual/locale.texi: Likewise.
5105         * manual/message.texi: Likewise.
5106         * manual/resource.texi: Likewise.
5107         * manual/search.texi: Likewise.
5108         * manual/setjmp.texi: Likewise.
5109         * manual/stdio.texi: Likewise.
5110         * manual/string.texi: Likewise.
5111         * manual/sysinfo.texi: Likewise.
5112         * manual/time.texi: Likewise.
5114 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
5116         * po/sl.po: New file.
5118 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
5120         * .gitignore: Add core/.gdbinit/.gdb_history.
5122 2013-12-27  Allan McRae  <allan@archlinux.org>
5124         [BZ #16369]
5125         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5126         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5128 2013-12-24  Brooks Moses  <bmoses@google.com>
5130         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5131         all compilers that claim C++98 compliance, not just GCC.
5132         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5133         Likewise.
5135 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
5137         * NEWS: Restore accidentally deleted bug-fix entries.
5139 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
5140             Ondřej Bílka  <neleai@seznam.cz>
5142         [BZ #15073]
5143         * malloc/malloc.c (_int_free): Perform sanity check only if we
5144         have_lock.
5146 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
5148         [BZ #12986]
5149         * manual/stdio.texi (String Input Conversions): Clarify that character
5150         classes are not supported.
5152 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5154         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5156 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
5158         [BZ #16337]
5159         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5160         Calculate results for small negative arguments directly rather
5161         than using reflection formula with special underflow handling.
5163         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5164         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5165         sysdeps/unix/bsd/bsd4.4/syscalls.list.
5166         (fchflags): Likewise.
5167         (revoke): Likewise.
5168         (setlogin): Likewise.
5169         (sigaltstack): Likewise.
5170         (wait4): Likewise.
5171         (sigblock): Remove.
5172         (sigsetmask): Likewise.
5173         (wait3): Likewise.
5174         (waitpid): Likewise.
5175         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5176         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5177         file.
5178         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5179         * sysdeps/unix/bsd/Makefile: ... here.
5180         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5181         * sysdeps/unix/bsd/Versions: ... here.
5182         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5183         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5184         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5185         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5186         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5187         * sysdeps/unix/bsd/sigblock.c: ... here.
5188         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5189         * sysdeps/unix/bsd/sigsetmask.c: ... here.
5190         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5191         * sysdeps/unix/bsd/sigvec.c: ... here.
5192         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5193         * sysdeps/unix/bsd/tcdrain.c: ... here.
5194         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5195         * sysdeps/unix/bsd/tcgetattr.c: ... here.
5196         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5197         * sysdeps/unix/bsd/tcsetattr.c: ... here.
5198         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5199         * sysdeps/unix/bsd/wait.c: ... here.
5200         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5201         * sysdeps/unix/bsd/wait3.c: ... here.
5202         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5203         * sysdeps/unix/bsd/waitpid.c: ... here.
5205 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
5207         [BZ #16356]
5208         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5209         round-to-nearest for [!USE_AS_EXPM1L].
5210         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5211         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
5212         more tests of exp and exp10.  Expect some exp10 tests to miss
5213         exceptions or fail in directed rounding modes.
5214         * math/auto-libm-test-out: Regenerated.
5215         * math/libm-test.inc (exp10_tonearest_test_data): New array.
5216         (exp10_test_tonearest): New function.
5217         (exp10_towardzero_test_data): New array.
5218         (exp10_test_towardzero): New function.
5219         (exp10_downward_test_data): New array.
5220         (exp10_test_downward): New function.
5221         (exp10_upward_test_data): New array.
5222         (exp10_test_upward): New function.
5223         (main): Call the new functions.
5224         * sysdeps/i386/fpu/libm-test-ulps: Update.
5225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5227 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
5229         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5230         asinh, atan, atan2, atanh, cbrt, cos and cosh.
5231         * math/auto-libm-test-out: Regenerated.
5232         * math/libm-test.inc (acosh_test_data): Add more tests.
5233         (atanh_test_data): Likewise.
5234         (ceil_test_data): Likewise.
5235         (copysign_test_data): Likewise.
5236         * sysdeps/i386/fpu/libm-test-ulps: Update.
5237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5239         * timezone/checktab.awk: Update from tzcode 2013i.
5240         * timezone/private.h: Likewise.
5241         * timezone/scheck.c: Likewise.
5242         * timezone/tzfile.h: Likewise.
5243         * timezone/tzselect.ksh: Likewise.
5244         * timezone/zdump.c: Likewise.
5245         * timezone/zic.c: Likewise.
5247         * math/auto-libm-test-in: Add tests of cpow.
5248         * math/auto-libm-test-out: Regenerated.
5249         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5250         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5251         mpc_cc_c.
5252         (func_calc_desc): Add mpc_cc_c union field.
5253         (test_functions): Add cpow.
5254         (special_fill_2pi): New function.
5255         (special_real_inputs): Add 2pi.
5256         (calc_generic_results): Handle mpc_cc_c.
5257         * sysdeps/i386/fpu/libm-test-ulps: Update.
5258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5260         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5261         csqrt, ctan and ctanh.
5262         * math/auto-libm-test-out: Regenerated.
5263         * math/libm-test.inc (TEST_COND_x86_64): New macro.
5264         (TEST_COND_x86): Likewise.
5265         (ccos_test_data): Use AUTO_TESTS_c_c.
5266         (ccosh_test_data): Likewise.
5267         (cexp_test_data): Likewise.
5268         (clog_test_data): Likewise.
5269         (csqrt_test_data): Likewise.
5270         (ctan_test_data): Likewise.
5271         (ctan_tonearest_test_data): Likewise.
5272         (ctan_towardzero_test_data): Likewise.
5273         (ctan_downward_test_data): Likewise.
5274         (ctan_upward_test_data): Likewise.
5275         (ctanh_test_data): Likewise.
5276         (ctanh_tonearest_test_data): Likewise.
5277         (ctanh_towardzero_test_data): Likewise.
5278         (ctanh_downward_test_data): Likewise.
5279         (ctanh_upward_test_data): Likewise.
5280         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5281         mpc_c_c.
5282         (func_calc_desc): Add mpc_c_c union field.
5283         (FUNC_mpc_c_c): New macro.
5284         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5285         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5286         ctanh.
5287         (special_fill_min_subnorm_p120): New function.
5288         (special_real_inputs): Add min_subnorm_p120.
5289         (calc_generic_results): Handle mpc_c_c.
5290         * sysdeps/i386/fpu/libm-test-ulps: Update.
5291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5293 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
5295         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5296         do_sin_slow): New functions.
5297         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5298         cslow2, csloww1, csloww2): Use the new functions.
5300         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5301         Use M to change sign of result instead of X.  Assume X is
5302         positive.
5303         (csloww1): Likewise.
5304         (__sin): Adjust.
5305         (__cos): Adjust.
5307         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5308         arguments A and DA.
5309         (__sin): Adjust.
5310         (__cos): Likewise.
5312         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5313         (__cos): Likewise.
5314         (sloww1): Don't adjust sign of DX.
5315         (csloww1): Likewise.
5316         (sloww2): Use X directly and don't adjust sign of DX.
5317         (csloww2): Likewise.
5319 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
5321         * math/auto-libm-test-in: Add tests of cabs and carg.
5322         * math/auto-libm-test-out: Regenerated.
5323         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5324         (carg_test_data): Likewise.
5325         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5326         mpc_c_f.
5327         (func_calc_desc): Add mpc_c_f union field.
5328         (test_functions): Add cabs and carg.
5329         (calc_generic_results): Handle mpc_c_f.
5331         * sysdeps/powerpc/powerpc32/libgcc-compat.S
5332         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5333         as a macro and a compat symbol.
5334         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5335         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5336         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5337         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5338         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5339         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5340         not use .hidden.
5341         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5342         Likewise.
5343         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5344         Likewise.
5345         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5346         Likewise.
5347         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5348         Likewise.
5349         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5350         Likewise.
5351         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5352         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5353         from GLIBC_2.3.2.
5355 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5357         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5359 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
5361         * manual/texinfo.tex: Update to version 2013-11-26.10 with
5362         trailing whitespace removed.
5363         * scripts/config.guess: Update to version 2013-11-29.
5364         * scripts/config.sub: Update to version 2013-10-01.
5366         * math/auto-libm-test-in: Add tests of sincos.
5367         * math/auto-libm-test-out: Regenerated.
5368         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5369         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5370         mpfr_f_11.
5371         (func_calc_desc): Add mpfr_f_11 union field.
5372         (test_functions): Add sincos.
5373         (calc_generic_results): Handle mpfr_f_11.
5374         * sysdeps/i386/fpu/libm-test-ulps: Update.
5375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5377 2013-12-19  Andreas Schwab  <schwab@suse.de>
5379         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5380         CALL_MCOUNT.
5381         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5382         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5383         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5385 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
5387         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5388         * sysdeps/i386/fpu/libm-test-ulps: Update.
5389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5391         [BZ #16293]
5392         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5393         round-to-nearest mode when using frndint.
5394         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5395         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5396         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5397         Likewise.
5398         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
5399         sinh test to fail.
5400         * math/auto-libm-test-out: Regenerated.
5401         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5402         (TEST_COND_x86): Likewise.
5403         (expm1_tonearest_test_data): New array.
5404         (expm1_test_tonearest): New function.
5405         (expm1_towardzero_test_data): New array.
5406         (expm1_test_towardzero): New function.
5407         (expm1_downward_test_data): New array.
5408         (expm1_test_downward): New function.
5409         (expm1_upward_test_data): New array.
5410         (expm1_test_upward): New function.
5411         (main): Run the new test functions.
5412         * sysdeps/i386/fpu/libm-test-ulps: Update.
5413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5415         * include/features.h: Update comment documenting feature test
5416         macros.  Mention _DEFAULT_SOURCE in comment.
5417         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5418         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5419         _BSD_SOURCE and _SVID_SOURCE.
5420         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5421         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5422         !_SVID_SOURCE]: Likewise.
5423         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5424         (__USE_POSIX_IMPLICITLY): Define.
5425         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5426         (_POSIX_SOURCE): Undefine and redefine.
5427         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5428         (_POSIX_C_SOURCE): Likewise.
5429         * manual/creature.texi (_DEFAULT_SOURCE): Document.
5430         (Feature Test Macros): Update documentation of default features.
5432 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5434         * benchtests/Makefile: Add bench-strtok.
5435         * benchtests/bench-strtok.c: New file: strtok benchtest.
5437 2013-12-19  Allan McRae  <allan@archlinux.org>
5439         * manual/install.texi: Suppress menu for plain text output.
5440         * INSTALL: Regenerated.
5442 2013-12-18  Brooks Moses  <bmoses@google.com>
5444         [BZ #15846]
5445         * misc/getauxval.c: Include errno.h.
5446         (__getauxval): Set errno to ENOENT if the requested type is not
5447         found.
5448         * misc/sys/auxv.h (getauxval): Document that it may set errno;
5449         don't declare with __attribute_const__.
5450         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5451         * manual/startup.texi: Document that getauxval sets errno.
5453 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
5455         * math/auto-libm-test-in: Add tests of jn and yn.
5456         * math/auto-libm-test-out: Regenerated.
5457         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5458         (yn_test_data): Likewise.
5459         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5460         mpfr_if_f.
5461         (func_calc_desc): Add mpfr_if_f union field.
5462         (FUNC_mpfr_if_f): New macro.
5463         (test_functions): Add jn and yn.
5464         (calc_generic_results): Assert type of second input for
5465         mpfr_ff_f.  Handle mpfr_if_f.
5466         (output_for_one_input_case): Disable all checking for arguments
5467         fitting floating-point types in case of an integer argument.
5468         * sysdeps/i386/fpu/libm-test-ulps: Update.
5469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5472         Don't expect fegetround reference in libm.so.
5474 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5476         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5477         $(config-cflags-nofma).
5479 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
5481         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5482         * math/auto-libm-test-out: Regenerated.
5484         [BZ #16338]
5485         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5486         to determine exponent and adjust argument to have exponent of -1.
5487         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5488         log2.
5489         * math/auto-libm-test-out: Regenerated.
5490         * sysdeps/i386/fpu/libm-test-ulps: Update.
5491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5493 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
5495         * manual/probes.texi: Remove cases when per-thread arenas are
5496         disabled.
5498 2013-12-18  Andreas Schwab  <schwab@suse.de>
5500         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5501         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5502         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5503         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5504         * sysdeps/i386/i686/multiarch/Makefile: Update.
5505         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5507 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
5509         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5510         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5512 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
5514         [BZ #15968]
5515         Support TZ transition times < 00:00:00.
5516         This is needed for version-3 tz-format files; it supports time
5517         stamps past 2037 for America/Godthab (the only entry in the tz
5518         database for which this change is relevant).
5519         * manual/time.texi (TZ Variable): Document transition times
5520         from -167:59:59 through -00:00:01.
5521         * time/tzset.c (tz_rule): Time of day is now signed.
5522         (__tzset_parse_tz): Parse negative time of day.
5524         Document TZ transition times >= 25:00:00.
5525         * manual/time.texi (TZ Variable): Document transition times from
5526         25:00:00 through 167:59:59.  These are already supported, and this
5527         support will help with version-3 tz-format files.
5529         * manual/time.texi (TZ Variable): Modernize North America example
5530         to reflect current (i.e., 2007-and-later) daylight saving rules.
5532         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5534 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
5536         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5537         * sysdeps/unix/bsd/bits/stat.h: Likewise.
5538         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5539         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5540         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5541         * sysdeps/unix/bsd/bsdstat.h: Likewise.
5542         * sysdeps/unix/bsd/clock.c: Likewise.
5543         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5544         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5545         * sysdeps/unix/bsd/init-posix.c: Likewise.
5546         * sysdeps/unix/bsd/poll.c: Likewise.
5547         * sysdeps/unix/bsd/ptsname.c: Likewise.
5548         * sysdeps/unix/bsd/seekdir.c: Likewise.
5549         * sysdeps/unix/bsd/setegid.c: Likewise.
5550         * sysdeps/unix/bsd/seteuid.c: Likewise.
5551         * sysdeps/unix/bsd/setgid.c: Likewise.
5552         * sysdeps/unix/bsd/setrgid.c: Likewise.
5553         * sysdeps/unix/bsd/setruid.c: Likewise.
5554         * sysdeps/unix/bsd/setsid.c: Likewise.
5555         * sysdeps/unix/bsd/setuid.c: Likewise.
5556         * sysdeps/unix/bsd/sigaction.c: Likewise.
5557         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5558         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5559         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5560         * sysdeps/unix/bsd/telldir.c: Likewise.
5561         * sysdeps/unix/bsd/times.c: Likewise.
5562         * sysdeps/unix/bsd/usleep.c: Likewise.
5564         * misc/Makefile (install-lib): Remove libbsd-compat.a.
5565         ($(objpfx)libbsd-compat.a): Remove rule.
5567         * include/features.h (__FAVOR_BSD): Do not define.
5568         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5569         features conflicting with POSIX.
5570         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5571         (_BSD_SOURCE): Remove description of not being a subset of other
5572         feature test macros.
5573         * manual/job.texi (getpgrp): Do not document BSD version.
5574         (getpgid): Do not document by reference to BSD getpgrp.
5575         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5576         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5577         * signal/signal.h [__FAVOR_BSD]: Likewise.
5578         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5579         instead of making contents conditional on [__FAVOR_BSD].
5580         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5582 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5584         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5586 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
5588         [BZ #16314]
5589         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5590         values below 2**-450, not 2**-500.
5591         * math/auto-libm-test-in: Don't allow spurious underflow from
5592         hypot.
5593         * math/auto-libm-test-out: Regenerated.
5595         [BZ #16316]
5596         [BZ #16330]
5597         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5598         values of ha and hb and sort them after adjusting subnormal
5599         arguments.
5600         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5601         Likewise.
5602         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5603         values of ea and eb and sort them after adjusting subnormal
5604         arguments.
5605         * math/auto-libm-test-in: Do not expect some hypot tests of
5606         subnormals to fail.  Add more hypot tests.
5607         * math/auto-libm-test-out: Regenerated.
5609 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5611         [BZ #13304]
5612         * sysdeps/sh/s_fma.c: New file.
5613         * sysdeps/sh/s_fmaf.c: New file.
5614         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
5615         version.
5616         * sysdeps/sh/Implies: Add sh/soft-fp.
5618 2013-12-16  Roland McGrath  <roland@hack.frob.com>
5620         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
5621         level of indirection to members `objname', `errstring', `malloced'.
5622         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5623         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
5624         it as the __longjmp argument (just pass 1 instead).
5625         (_dl_catch_error): Initialize C with argument pointers and address of
5626         volatile local ERRCODE rather than copying values out of C at return.
5628 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
5630         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5631         * math/auto-libm-test-out: Regenerated.
5632         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5633         (hypot_test_data): Likewise.
5634         (pow_test_data): Likewise.
5635         (pow_tonearest_test_data): Likewise.
5636         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5637         mpfr_ff_f.
5638         (func_calc_desc): Add mpfr_ff_f union field.
5639         (FUNC_mpfr_ff_f): New macro.
5640         (test_functions): Add atan2, hypot and pow.
5641         (special_fill_min): New function.
5642         (special_fill_minus_min): Likewise.
5643         (special_fill_min_subnorm): Likewise.
5644         (special_fill_minus_min_subnorm): Likewise.
5645         (special_real_inputs): Add min, -min, min_subnorm and
5646         -min_subnorm.
5647         (calc_generic_results): Handle mpfr_ff_f.
5648         * sysdeps/i386/fpu/libm-test-ulps: Update.
5649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5651 2013-12-16  Will Newton  <will.newton@linaro.org>
5653         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5654         (Aligned Memory Blocks): Add documentation for aligned_alloc
5655         and suggest it as an alternative to posix_memalign.
5656         (Hooks for Malloc): Document __memalign_hook is also called
5657         for aligned_alloc.  (Summary of Malloc): Add summary for
5658         aligned alloc.  Document __memalign_hook is also called
5659         for aligned_alloc.
5661 2013-12-16  Will Newton  <will.newton@linaro.org>
5663         * manual/memory.texi (Malloc Examples): Clarify default
5664         alignment documentation.  Suggest posix_memalign rather
5665         than memalign or valloc.
5666         (Aligned Memory Blocks): Remove suggestion to use memalign
5667         or valloc.  Remove obsolete comment about BSD.
5668         Document memalign errno values and mark the function obsolete.
5669         Document posix_memalign returned error codes.  Mark valloc
5670         as obsolete.  (Hooks for Malloc): __memalign_hook is also
5671         called for posix_memalign and valloc.
5672         (Summary of Malloc): Add posix_memalign to function summary.
5673         __memalign_hook is also called for posix_memalign and valloc.
5675 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5677         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5678         TAYLOR_SIN.
5679         (__sin): Adjust.
5680         (__cos): Likewise.
5681         (sloww): Use mynumber union.  Expand ternary operator into
5682         if-else statements.
5683         (cslow): use mynumber union.
5685 2013-12-16  Allan McRae  <allan@archlinux.org>
5687         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5688         * configure: Regenerated.
5690         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5692         [BZ #14120]
5693         * configure.ac: Added --enable-maintainer-mode. Check for
5694         autoconf when enabled.
5695         * configure: Regenerated.
5697         * nscd/nscd.service: New file.
5698         * nscd/nscd.tmpfiles: New file.
5700 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
5702         [BZ #12100]
5703         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5704         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5705         * sysdeps/x86_64/multiarch/strstr.c: ... here.
5706         (strstr): Add __strstr_sse2_unaligned ifunc.
5707         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5708         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5709         (strcasestr): Remove __strcasestr_sse42 ifunc.
5710         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5711         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5712         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5714 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5716         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5717         * sysdeps/sh/bits/fenv.h: ... here.
5718         * sysdeps/sh/sh4/fpu/bits: Remove directory.
5720 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5722         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5724 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5726         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5727         hypotf multiarch implementations.
5728         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5729         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5730         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5731         multiarch hypot for PPC64.
5732         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5733         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5734         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5735         multiarch hypotf for PPC64.
5737 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5739         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5740         modff multiarch implementations.
5741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5744         multiarch modf for PPC64.
5745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5748         multiarch modff for PPC64.
5750 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5752         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5753         and logl multiarch implementations.
5754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5757         multiarch logb for PPC64.
5758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5761         multiarch logb for PPC64.
5762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5765         multiarch logb for PPC64.
5767 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5769         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5770         isinff multiarch implementation.
5771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5772         file.
5773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5775         multiarch isinf for PPC64.
5776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5777         file.
5778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5779         multiarch isinff for PPC64.
5781 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5783         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5784         finitef multiarch implementation.
5785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5786         file.
5787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5789         multiarch finite for PPC64.
5790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5791         file.
5792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5793         multiarch finitef for PPC64.
5795 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5797         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5798         lrint multiarch implementation.
5799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5800         file.
5801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5803         multiarch llrint for PPC64.
5804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5805         multiarch lrint for PPC64.
5807 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5809         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5810         copysignf multiarch implementation.
5811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5812         file.
5813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5814         file.
5815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5816         multiarch copysign for PPC64.
5817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5818         multiarch copysignf for PPC64.
5820 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5822         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5823         multiarch implementation.
5824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5825         file.
5826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5827         file.
5828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5829         file.
5830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5831         file.
5832         multiarch llround for PPC64.
5833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5834         multiarch trunc for PPC64.
5835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5836         multiarch truncf for PPC64.
5838 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5840         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5841         multiarch implementation.
5842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5843         file.
5844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5845         file.
5846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5847         file.
5848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5849         file.
5850         multiarch llround for PPC64.
5851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5852         multiarch round for PPC64.
5853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5854         multiarch roundf for PPC64.
5856 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5858         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5859         multiarch implementation.
5860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5861         file.
5862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5863         file.
5864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5865         file.
5866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5867         file.
5868         multiarch llround for PPC64.
5869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5870         multiarch floor for PPC64.
5871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5872         multiarch floorf for PPC64.
5874 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5876         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5877         multiarch implementation.
5878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5879         file.
5880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5881         file.
5882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5883         file.
5884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5885         file.
5886         multiarch llround for PPC64.
5887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5888         multiarch ceil for PPC64.
5889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5890         multiarch ceilf for PPC64.
5892 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5894         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5895         multiarch implementation.
5896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5897         file.
5898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5899         file.
5900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5901         file.
5902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5903         multiarch llround for PPC64.
5904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5905         multiarch lround for PPC64.
5907 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5909         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5910         multiarch implementation.
5911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5914         file.
5915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5918         multiarch isnan for PPC64.
5919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5920         multiarch isnanf for PPC64.
5922 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5924         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5925         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5926         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5927         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5928         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5931 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5933         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5934         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5935         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5936         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5938 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5940         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5941         multiarch implementations.
5942         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5943         (__libc_ifunc_impl_list): Likewise.
5944         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5945         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5946         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5947         multiarch stpcpy for PPC64.
5949 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5951         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5952         multiarch implementations.
5953         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5954         (__libc_ifunc_impl_list): Likewise.
5955         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5956         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5957         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5958         multiarch strcpy for PPC64.
5960 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5962         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5963         redefine function name.
5964         (_wordcopy_fwd_dest_aligned): Likewise.
5965         (_wordcopy_bwd_aligned): Likewise.
5966         (_wordcopy_bwd_dest_aligned): Likewise.
5967         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5968         multiarch implementations.
5969         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5970         (__libc_ifunc_impl_list): Likewise.
5971         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5972         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5973         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5974         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5975         multiarch wcscpy for PPC64.
5977 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5979         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5980         multiarch implementations.
5981         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5982         (__libc_ifunc_impl_list): Likewise.
5983         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5984         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5985         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5986         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5987         multiarch wcscpy for PPC64.
5989 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5991         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5992         multiarch implementations.
5993         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5994         (__libc_ifunc_impl_list): Likewise.
5995         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5996         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5997         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5998         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5999         multiarch wcsrchr for PPC64.
6001 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6003         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6004         multiarch implementations.
6005         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6006         (__libc_ifunc_impl_list): Likewise.
6007         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6008         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6009         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6010         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6011         multiarch wcschr for PPC64.
6013 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6015         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6016         multiarch implementations.
6017         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6018         (__libc_ifunc_impl_list): Likewise.
6019         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6020         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6021         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6022         multiarch strchrnul for PPC64.
6024 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6026         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6027         implementations.
6028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6029         (__libc_ifunc_impl_list): Likewise.
6030         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6031         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6032         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6033         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6034         strchr for PPC64.
6036 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6038         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6039         implementations.
6040         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6041         (__libc_ifunc_impl_list): Likewise.
6042         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6043         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6044         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6045         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6046         strncmp for PPC64.
6048 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6050         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6051         multiarch implementations.
6052         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6053         (__libc_ifunc_impl_list): Likewise.
6054         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6055         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6056         strncasecmp for PPC64.
6057         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6058         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6059         multiarch strncasecmp_l for PPC64.
6061 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6063         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6064         multiarch implementations.
6065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6066         (__libc_ifunc_impl_list): Likewise.
6067         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6068         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6069         multiarch strcasecmp for PPC64.
6070         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6071         file.
6072         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6073         multiarch strcasecmp_l for PPC64.
6075 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6077         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6078         implementations.
6079         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6080         (__libc_ifunc_impl_list): Likewise.
6081         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6082         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6083         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6084         strnlen for PPC64.
6086 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6088         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6089         implementations.
6090         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6091         (__libc_ifunc_impl_list): Likewise.
6092         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6093         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6094         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6095         strlen for PPC64.
6097 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6099         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6100         implementations.
6101         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6102         (__libc_ifunc_impl_list): Likewise.
6103         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6104         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6105         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6106         rawmemrchr for PPC64.
6108 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6110         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6111         implementation.
6112         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6113         (__libc_ifunc_impl_list): Likewise.
6114         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6115         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6116         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6117         memrchr for PPC64.
6119 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6121         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6122         implementation.
6123         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6124         (__libc_ifunc_impl_list): Likewise.
6125         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6126         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6127         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6128         memchr for PPC64.
6130 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6132         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6133         implementation.
6134         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6135         (__libc_ifunc_impl_list): Likewise.
6136         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6137         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6138         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6139         mempcpy for PPC64.
6141 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6143         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6144         avoid cretion of __bzero symbol.
6145         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6146         Likewise.
6147         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6148         Likewise.
6149         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6150         Likewise.
6151         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6152         multiarch implementations.
6153         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6154         (__libc_ifunc_impl_list): Likewise.
6155         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6156         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6157         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6158         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6159         bzero for PPC32.
6160         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6161         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6162         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6163         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6164         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6165         memset for PPC64.
6166         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6168 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6170         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6171         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6172         implementations.
6173         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6174         (__libc_ifunc_impl_list): Likewise.
6175         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6176         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6177         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6178         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6179         memcmp for PPC64.
6181 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6183         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6184         multiarch for POWER/PPC64.
6185         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6186         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6187         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6188         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6189         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6190         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6191         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6192         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6193         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6194         memcpy for PPC64.
6196 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6198         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6199         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6200         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6201         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6202         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6203         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6204         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6205         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6206         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6207         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6208         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6209         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6210         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6211         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6212         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6221 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6223         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6225 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6227         * benchtests/Makefile (bench): Add exp2 and log2.
6228         (LDLIBS-bench-exp2): Add -lm.
6229         (LDLIBS-bench-log2): Likewise.
6230         * benchtests/exp2-inputs: New inputs file.
6231         * benchtests/log2-inputs: New inputs file.
6232         * benchtests/log-inputs: Add new inputs.
6233         * benchtests/tan-inputs: Likewise.
6235 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6237         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6238         definition...
6239         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6240         csloww1, csloww2): ... from here.
6242         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6243         instead of structures.
6244         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6245         (POLYNOMIAL): Likewise.
6246         (TAYLOR_SLOW): Likewise.
6247         (__sin): Likewise.
6248         (__cos): Likewise.
6249         (slow1): Likewise.
6250         (slow2): Likewise.
6251         (sloww): Likewise.
6252         (sloww1); Likewise.
6253         (sloww2): Likewise.
6254         (bsloww1): Likewise.
6255         (bsloww2): Likewise.
6256         (cslow2): Likewise.
6257         (csloww): Likewise.
6258         (csloww1): Likewise.
6259         (csloww2): Likewise.
6261 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
6263         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6264         (__malloc_assert, __libc_realloc, __libc_calloc,
6265         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6266         memcpy and memset.
6267         * malloc/hooks.c (realloc_check): Likewise.
6269 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
6271         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6272         * malloc/arena.c: Remove PER_THREAD conditional.
6273         [!PER_THREAD]: Remove code.
6274         (ptmalloc_unlock_all2): Likewise.
6275         (ptmalloc_init): Likewise.
6276         (_int_new_arena): Likewise.
6277         (arena_get2): Likewise.
6278         * malloc/hooks.c (__malloc_get_state): Likewise.
6279         (__malloc_set_state): Likewise.
6280         * malloc/malloc.c: Likewise.
6281         (struct malloc_state): Likewise.
6282         (struct malloc_par): Likewise.
6283         (__libc_realloc): Likewise.
6284         (__libc_mallopt): Likewise.
6286 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6288         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6290 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
6292         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6293         macro to a function.  Check for zero perturb_byte.
6294         (_int_malloc, _int_free): Remove zero perturb_byte checks.
6296 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
6298         * malloc/malloc.c: (force_reg): Remove.
6299         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6300         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6301         force_reg by atomic_forced_read.
6302         * malloc/arena.c (ptmalloc_init): Likewise.
6303         * malloc/hooks.c (top_check): Likewise.
6305 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6307         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6309 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
6311         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6313 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
6315         * math/auto-libm-test-in: Add tests of lgamma.
6316         * math/auto-libm-test-out: Regenerated.
6317         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6318         (M_LOG_2_SQRT_PIl): Likewise.
6319         (lgamma_test_data): Use AUTO_TESTS_f_f1.
6320         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6321         mpfr_f_f1.
6322         (func_calc_desc): Add mpfr_f_f1 union field.
6323         (ARGS1): New macro.
6324         (ARGS2): Likewise.
6325         (ARGS3): Likewise.
6326         (ARGS4): Likewise.
6327         (RET1): Likewise.
6328         (RET2): Likewise.
6329         (CALC): Likewise.
6330         (FUNC): Likewise.
6331         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6332         (test_functions): Add lgamma.
6333         (calc_generic_results): Handle mpfr_f_f1.
6334         * sysdeps/i386/fpu/libm-test-ulps: Update.
6335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6337 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6339         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6340         __mpn_add_n for PowerPC64/POWER7.
6341         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6342         __mpn_sub_n for PowerPC64/POWER7.
6344 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6346         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6347         __mpn_addmul_1 for PowerPC64.
6348         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6349         __mpn_submul_1 for PowerPC64.
6350         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6351         for PowerPC64.
6352         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6353         for PowerPC64.
6355 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
6357         [BZ #15089]
6358         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6360 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6362         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6364 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6366         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6367         add multiarch folders.
6368         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6369         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6370         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6371         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6372         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6373         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6374         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6375         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6376         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6377         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6378         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6386 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6389         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6391         New file.
6392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6393         New file.
6394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6395         multiarch __ieee754_hypot for PowerPC32.
6396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6397         New file.
6398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6399         New file.
6400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6401         multiarch __ieee754_hypotf for PowerPC32.
6403 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6405         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6406         long_double_symbol only if __logbl is defined.
6407         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6408         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6409         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6410         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6411         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6412         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6413         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6414         path for implementation.
6415         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6416         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6418         logb, and logbl multiarch implementations for PowerPC32.
6419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6420         file.
6421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6422         file.
6423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6424         multiarch logb for PowerPC32.
6425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6426         file.
6427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6428         file.
6429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6430         multiarch logbf for PowerPC32.
6431         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6433         file.
6434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6435         multiarch logbl implementation for PowerPC32.
6437 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6440         and modff multiarch implementations.
6441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6442         New file.
6443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6444         New file.
6445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6446         multiarch modf for PowerPC32.
6447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6448         New file.
6449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6450         New file.
6451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6452         multiarch modff for PowerPC32.
6454 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6457         and lrintf multiarch implementations.
6458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6459         New file.
6460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6461         New file.
6462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6463         multiarch lrint for PowerPC32.
6464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6465         file: multiarch lrintf for PowerPC32.
6467 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6470         and lroundf multiarch implementations.
6471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6472         New file.
6473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6474         New file.
6475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6476         New file.
6477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6478         multiarch lround for PowerPC32.
6479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6480         file: multiarch lroundf for PowerPC32.
6482 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6485         copysign and copysignf multiarch implementations.
6486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6487         New file.
6488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6489         New file.
6490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6491         file: multiarch copysign for PowerPC32.
6492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6493         file: multiarch copysignf for PowerPC32.
6495 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6498         and truncf multiarch implementations.
6499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6500         New file.
6501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6502         file.
6503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6504         multiarch trunc for PowerPC32.
6505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6506         New file.
6507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6508         New file.
6509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6510         multiarch truncf for PowerPC32.
6512 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6515         and roundf multiarch implementations.
6516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6517         New file.
6518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6519         file.
6520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6521         multiarch round for PowerPC32.
6522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6523         New file.
6524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6525         New file.
6526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6527         multiarch roundf for PowerPC32.
6529 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6532         and floorf multiarch implementations.
6533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6534         New file.
6535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6536         file.
6537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6538         multiarch floor for PowerPC32.
6539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6540         New file.
6541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6542         New file.
6543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6544         multiarch floorf for PowerPC32.
6546 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6549         and ceilf multiarch implementations.
6550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6551         New file.
6552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6553         file.
6554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6555         multiarch ceil for PowerPC32.
6556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6557         New file.
6558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6559         file.
6560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6561         multiarch ceilf for PowerPC32.
6563 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6565         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6566         is defined.
6567         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6568         FINITEF is defined.
6569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6570         and finitef multiarch implementations.
6571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6572         New file.
6573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6574         file.
6575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6576         multiarch finite for PowerPC32.
6577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6578         New file.
6579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6580         file: multiarch finitef for PowerPC32.
6582 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6585         and isinff multiarch implementations.
6586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6587         file.
6588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6589         file.
6590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6591         multiarch isinf for PowerPC32.
6592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6593         New file.
6594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6595         multiarch isinff for PowerPC32.
6597 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6599         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6600         alias when __isnan is defined.
6601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6602         and isnanf multiarch implementations.
6603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6604         file.
6605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6606         file.
6607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6608         file.
6609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6610         file.
6611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6612         multiarch isnan for PowerPC32.
6613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6614         New file.
6615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6616         New file.
6617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6618         multiarch isnanf for PowerPC32.
6620 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6623         and sqrtf multiarch implementations.
6624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6625         file.
6626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6627         file.
6628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6629         multiarch sqrt for PowerPC32.
6630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6631         file.
6632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6633         file.
6634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6635         multiarch sqrtf for PowerPC32.
6637 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6640         and llroundf multiarch implementations.
6641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6642         New file.
6643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6644         New file.
6645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6646         New file.
6647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6648         file: multiarch llround for PowerPC32.
6649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6650         file: multiarch llroundf for PowerPC32.
6652 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6655         multiarch PowerPC32 fpu implementations.
6656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6657         New file.
6658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6659         New file.
6660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6661         multiarch llrint for PowerPC32.
6662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6663         New file.
6664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6665         New file.
6666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6667         file.
6669 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6673 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6675         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6676         file.
6677         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6678         file.
6679         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6680         file.
6681         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6682         multiarch wordcopy for PPC32.
6683         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6684         wordcopy objects.
6685         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6686         (__libc_ifunc_impl_list): Likewise.
6687         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6688         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6689         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6690         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6691         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6692         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6694 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6696         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6697         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6698         file.
6699         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6700         file.
6701         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6702         file.
6703         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6704         multiarch wcscpy for PPC32.
6705         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6706         multiarch objects.
6707         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6708         (__libc_ifunc_impl_list): Likewise.
6709         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6710         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6711         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6712         sysdeps/powerpc/power6/wcscpy.c.
6714 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6716         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6717         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6718         file.
6719         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6720         file.
6721         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6722         file.
6723         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6724         multiarch wcsrchr for PPC32.
6725         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6726         multiarch objects.
6727         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6728         (__libc_ifunc_impl_list): Likewise.
6729         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6730         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6731         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6732         sysdeps/powerpc/power6/wcsrchr.c.
6734 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6736         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6737         file.
6738         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6739         file.
6740         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6741         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6742         multiarch wcschr for PPc32.
6743         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6744         multiarch objects.
6745         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6746         (__libc_ifunc_impl_list): Likewise.
6747         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6748         * sysdeps/powerpc/power6/wcschr.c: ... to here.
6749         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6750         sysdeps/powerpc/power6/wcschr.c.
6752 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6754         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6755         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6756         file.
6757         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6758         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6759         file: multiarch strchr for PPC32.
6760         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6761         multiarch objects.
6762         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6763         (__libc_ifunc_impl_list): Likewise.
6765 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6767         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6768         name.
6769         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6770         file.
6771         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6772         file.
6773         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6774         multiarch strchrnul for PPC32.
6775         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6776         multiarch objects.
6777         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6778         (__libc_ifunc_impl_list): Likewise.
6780 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6782         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6783         file.
6784         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6785         multiarch strncasecmp for PPC32.
6786         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6787         file.
6788         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6789         multiarch strncasecmp_l for PPC32.
6790         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6791         strncasecmp multiarch objects.
6792         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6793         (__libc_ifunc_impl_list): Likewise.
6795 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6797         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6798         file.
6799         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6800         multiarch strncasecmp for PPC32.
6801         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6802         New file.
6803         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6804         multiarch strcasecmp_l for PPC32.
6805         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6806         multiarch objects.
6807         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6808         (__libc_ifunc_impl_list): Likewise.
6810 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6812         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6813         file.
6814         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6815         file.
6816         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6817         multiarch strncmp for PPC32.
6818         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6819         multiarch objects.
6820         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6821         (__libc_ifunc_impl_list): Likewise.
6823 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6825         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6826         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6827         file.
6828         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6829         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6830         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6831         multiarch objects.
6832         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6833         (__libc_ifunc_impl_list): Likewise.
6835 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6837         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6838         file.
6839         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6840         file.
6841         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6842         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6843         multiarch objects.
6844         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6845         (__libc_ifunc_impl_list): Likewise.
6847 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6849         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6850         file.
6851         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6852         file.
6853         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6854         multiarch rawmemchr for PPC32.
6855         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6856         multiarch objects.
6857         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6858         (__libc_ifunc_impl_list): Likewise.
6860 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6862         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6863         file.
6864         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6865         file.
6866         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6867         file: memrchr multiarch for PPC32.
6868         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6869         multiarch objects.
6870         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6871         (__libc_ifunc_impl_list): Likewise.
6873 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6875         * string/memchr.c (__memchr): Using macro to redefine symbol name.
6876         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6877         file.
6878         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6879         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6880         multiarch memchr for PPC32.
6881         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6882         multiarch objects.
6883         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6884         (__libc_ifunc_impl_list): Likewise.
6886 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6888         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6889         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6890         file.
6891         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6892         file.
6893         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6894         file: multiarch mempcpy for PPC32.
6895         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6896         multiarch objects.
6897         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6898         (__libc_ifunc_impl_list): Likewise.
6900 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6902         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6903         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6904         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6905         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6906         multiarch bzero for PPC32.
6907         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6908         file.
6909         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6910         file.
6911         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6912         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6913         file: multiarch memset for PPC32.
6914         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6915         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6916         memset multiarch objects.
6917         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6918         (__libc_ifunc_impl_list): Likewise.
6920 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6922         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6923         file.
6924         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6925         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6926         memcmp for PPC32.
6927         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6928         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6929         multiarch objects.
6930         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6931         (__libc_ifunc_impl_list): Likewise.
6933 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6935         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6936         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6937         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6938         file.
6939         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6940         file.
6941         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6942         file.
6943         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6944         multiarch memcpy for PPC32.
6945         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
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/Makefile: New file to
6953         support multiarch for POWER/PPC32.
6954         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6955         Likewise.
6956         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6958         Implies file to make multiarch folder appers before the fpu and
6959         default folder for power4 configuration.
6961 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
6963         * scripts/bench.pl: Append volatile keyword to type.
6965 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6967         * sysdeps/sh/sotruss-lib.c: New file.
6968         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6970 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6974 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
6976         [BZ #6810]
6977         * math/w_tgamma.c: Include <errno.h>.
6978         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
6979         * math/w_tgammaf.c: Include <errno.h>.
6980         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
6981         * math/w_tgammal.c: Include <errno.h>.
6982         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
6983         * math/auto-libm-test-in: Do not allow missing errno on tgamma
6984         underflow.  Add more tgamma tests.
6985         * math/auto-libm-test-out: Regenerated.
6986         * sysdeps/i386/fpu/libm-test-ulps: Update.
6987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6989         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6990         sin, sinh, tan, tanh, tgamma, y0 and y1.
6991         * math/auto-libm-test-out: Regenerated.
6992         * math/libm-test.inc (TEST_COND_x86_64): New macro.
6993         (TEST_COND_x86): Likewise.
6994         (M_E2l): Remove macro.
6995         (M_E3l): Likewise.
6996         (M_2_SQRT_PIl): Likewise.
6997         (M_SQRT_PIl): Likewise.
6998         (M_1_DIV_El): Likewise.
6999         (log_test_data): Use AUTO_TESTS_f_f.
7000         (log10_test_data): Likewise.
7001         (log1p_test_data): Likewise.
7002         (log2_test_data): Likewise.
7003         (sin_test_data): Likewise.
7004         (sin_tonearest_test_data): Likewise.
7005         (sin_towardzero_test_data): Likewise.
7006         (sin_downward_test_data): Likewise.
7007         (sin_upward_test_data): Likewise.
7008         (sinh_test_data): Likewise.
7009         (sinh_tonearest_test_data): Likewise.
7010         (sinh_towardzero_test_data): Likewise.
7011         (sinh_downward_test_data): Likewise.
7012         (sinh_upward_test_data): Likewise.
7013         (tan_test_data): Likewise.
7014         (tan_tonearest_test_data): Likewise.
7015         (tan_towardzero_test_data): Likewise.
7016         (tan_downward_test_data): Likewise.
7017         (tan_upward_test_data): Likewise.
7018         (tanh_test_data): Likewise.
7019         (tgamma_test_data): Likewise.
7020         (y0_test_data): Likewise.
7021         (y1_test_data): Likewise.
7022         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7023         (special_real_inputs): Add pi/4.
7024         * sysdeps/i386/fpu/libm-test-ulps: Update.
7025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7027 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7029         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7030         "longjmp_target" static probes.
7031         (__longjmp): Rename to __longjmp_symbol.
7032         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7033         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7034         on which longjmp to generate.
7035         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7036         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7037         probe.
7038         (__sigsetjmp): Rename to __sigsetjmp_symbol.
7039         (__sigjmp_save): Rename to __sigjmp_save_symbol.
7040         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7041         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7042         and __sigjmp_save_symbol based on which sigsetjmp to generated.
7043         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7045         __longjmp_symbol based on which __longjmp to generate.
7046         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7047         probe.
7048         (setjmp): Rename to setjmp_symbol.
7049         (__sigsetjmp): Rename to __sigsetjmp_symbol.
7050         (_setjmp): Rename to _setjmp_symbol.
7051         (__sigsetjmp): Rename to __sigsetjmp_symbol.
7052         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7053         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7054         which setjmp to generate.
7055         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7056         "longjmp_target" static probes.
7058 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7060         * benchtests/README: Add note about output arguments.
7061         * benchtests/bench-sincos.c: Remove file.
7062         * benchtests/sincos-inputs: New file.
7063         * scripts/bench.pl: Identify output arguments and define
7064         static variables for them.
7066         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7068         [BZ #15941]
7069         * Makefile (INSTALL): Add install-plain.texi as the primary
7070         dependency.
7071         * manual/install-plain.texi: New file.
7072         * manual/install.texi: Include node directive only for
7073         non-plaintext output.
7075 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
7077         * stdlib/longlong.h: Update from GCC.
7079         [BZ #6807]
7080         [BZ #15901]
7081         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7082         * math/w_j0f.c (y0f): Likewise.
7083         * math/w_j0l.c (__y0l): Likewise.
7084         * math/w_j1.c (y1): Likewise.
7085         * math/w_j1f.c (y1f): Likewise.
7086         * math/w_j1l.c (__y1l): Likewise
7087         * math/w_jn.c (yn): Likewise.
7088         * math/w_jnf.c (ynf): Likewise.
7089         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7090         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
7091         value for Bessel function domain errors outside _SVID_ mode.
7092         Adjust sign of return value for yn (negative integer, 0).
7093         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7094         by zero in return for negative x and set sign appropriately for
7095         negative n.
7096         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7097         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7098         * math/libm-test.inc (y0_test_data): Add more tests and adjust
7099         expectations in error cases.
7100         (y1_test_data): Likewise.
7101         (yn_test_data): Likewise.
7102         * sysdeps/i386/fpu/libm-test-ulps: Update.
7103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7105 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7107         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7108         "64" to "64-v1".  Add "64-v2".
7109         (abi-64-options): Rename to ...
7110         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
7111         (abi-64-condition): Rename to ...
7112         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
7113         (abi-64-ld-soname): Rename to ...
7114         (abi-64-v1-ld-soname): ... this.
7115         (abi-64-v2-options): Define.
7116         (abi-64-v2-condition): Likewise.
7117         (abi-64-v2-ld-soname): Likewise.
7118         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7119         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7124 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7125             Alan Modra  <amodra@gmail.com>
7127         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7128         New versions for use with the ELFv2 ABI.
7129         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7130         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7131         declaration.
7132         (struct La_ppc64v2_retval): Likewise.
7133         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7134         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7135         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7136         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7137         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7138         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7139         Do not save or restore CR.
7140         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7141         (_dl_profile_resolve): Do no save or restore CR.  Support extended
7142         return values for ELFv2 ABI.  Fix location of FPR return registers.
7143         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7144         updated values for _CALL_ELF == 2.
7145         (La_regs, La_retval, int_retval): Likewise.
7147 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7149         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7150         (FRAME_MIN_SIZE_PARM): Likewise.
7151         (FRAME_BACKCHAIN): Likewise.
7152         (FRAME_CR_SAVE): Likewise.
7153         (FRAME_LR_SAVE): Likewise.
7154         (FRAME_TOC_SAVE): Likewise.
7155         (FRAME_PARM_SAVE): Likewise.
7156         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7157         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7158         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7159         (call_mcount_parm_offset): New macro.
7160         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7161         (PROF): Use symbolic stack frame offsets.
7162         (TAIL_CALL_SYSCALL_ERROR): Likewise.
7163         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7164         Redefine in terms of FRAME_MIN_SIZE.
7165         (_dl_runtime_resolve): Use symbolic stack frame offsets.
7166         (_dl_profile_resolve): Likewise.  Update comment.
7167         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7168         symbols stack frame offsets.
7169         (__sigsetjmp): Likewise.
7170         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7171         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7172         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7173         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7176         (FRAME_BACKCHAIN): Remove.
7177         (FRAME_CR_SAVE): Likewise.
7178         (FRAME_LR_SAVE): Likewise.
7179         (FRAME_COMPILER_DW): Likewise.
7180         (FRAME_LINKER_DW): Likewise.
7181         (FRAME_TOC_SAVE): Likewise.
7182         (FRAME_PARM_SAVE): Likewise.
7183         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7184         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7185         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7187         (CHECK_SP): Use symbolic stack frame offsets.
7188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7189         zone" instead of caller's parameter save area for temp storage.
7190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7191         Likewise.  Also, use symbolic stack frame offsets.
7192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7193         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7194         our own stack frame instead of the caller's.
7195         (__socket): Use symbolic stack frame offsets.
7197 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7198             Alan Modra  <amodra@gmail.com>
7200         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7201         Define.
7202         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
7203         PPC64_LOCAL_ENTRY_OFFSET): Define.
7204         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7205         New function.
7206         (elf_machine_fixup_plt): Call it.
7207         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
7208         reloc arguments.
7209         (elf_machine_rela): Update call to elf_machine_plt_conflict.
7210         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7211         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7212         r2 before calling target.
7214 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7215             Alan Modra  <amodra@gmail.com>
7217         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7218         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7219         versions of macros to support ELFv2 ABI.
7220         (LOCALENTRY): New macro.
7221         (ENTRY, EALIGN): Use it.
7222         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7223         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7224         fall through into ENTRY entry point.
7225         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7226         Only define if _CALL_ELF != 2.
7228         (elf_machine_matches_host): Verify ABI version matches.
7229         (RTLD_START): Use LOCALENTRY.
7230         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7231         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7232         (PLT_ENTRY_WORDS): New macro.
7233         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7234         (elf_machine_runtime_setup): Support ELFv2 ABI.
7235         (elf_machine_fixup_plt): Likewise.
7236         (elf_machine_plt_conflict): Likewise.
7237         (resolve_ifunc): Likewise.
7238         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7239         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7240         Likewise.
7241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7242         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7244         (makecontext): Support ELFv2 ABI.
7245         * elf/elf.h (EF_PPC64_ABI): Define.
7247 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7249         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7250         New assembler macro.
7251         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7252         [ASSEMBLER] (ENTRY): ... but instead here ...
7253         [ASSEMBLER] (EALIGN): ... and here.
7254         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7255         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7256         [!ASSEMBLER] (ENTRY_2): Use it.
7257         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7258         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
7259         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7260         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7261         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7263         Use PPC64_LOAD_FUNCPTR.
7265 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7267         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7269 2013-12-04  Alan Modra  <amodra@gmail.com>
7271         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7272         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7273         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7274         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7276         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7277         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7278         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7279         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7280         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7281         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7283 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7286         (__makecontext): Fix incorrect CFI when backtracing out of
7287         context created via makecontext.
7288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7289         (__setcontext): Fix incorrect CFI during switch to new context.
7290         (__novec_setcontext): Likewise.
7292 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
7294         [BZ #4772]
7295         * time/strptime_l.c (__strptime_internal): Allow modifiers
7296         in strptime.
7297         * time/tst-strptime.c (day_tests): Add testcase.
7300 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7302         * scripts/bench.pl: Skip over blank lines.
7304 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
7306         [BZ #926]
7307         * manual/time.texi (Calendar Time): Clarify what timezone functions
7308         use.
7310 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7314 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
7316         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7317         implementation.
7318         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7319         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7320         * debug/memset_chk.c (__memset_chk): Likewise.
7321         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7322         * debug/strncpy_chk.c: Likewise.
7324 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
7326         [BZ #15268]
7327         [BZ #15425]
7328         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7329         (__ieee754_exp): For possibly underflowing results, check size of
7330         result and force underflow exception if required.
7331         * math/auto-libm-test-in: Add more tests of exp.
7332         * math/auto-libm-test-out: Regenerated.
7333         * sysdeps/i386/fpu/libm-test-ulps: Update.
7334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7336         [BZ #16283]
7337         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7338         * math/w_exp2f.c (__exp2f): Likewise.
7339         * math/w_exp2l.c (__exp2l): Likewise.
7340         * math/auto-libm-test-in: Do not allow missing errno on exp2
7341         underflow.
7342         * math/auto-libm-test-out: Regenerated.
7344 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
7346         [BZ #16274]
7347         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7348         handle filename validation.
7349         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7350         (do_open): Delete.
7352 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
7354         [BZ #6786]
7355         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7356         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7357         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7358         <float.h>.
7359         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7360         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7361         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7362         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7363         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7364         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7365         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7366         * math/auto-libm-test-in: Don't allow missing errno from erfc.
7367         Add more erfc tests.
7368         * math/auto-libm-test-out: Regenerated.
7369         * sysdeps/i386/fpu/libm-test-ulps: Update.
7370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7372         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7373         exp2, expm1, j0 and j1.
7374         * math/auto-libm-test-out: Regenerated.
7375         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7376         (erfc_test_data): Likewise.
7377         (exp_test_data): Likewise.
7378         (exp_tonearest_test_data): Likewise.
7379         (exp_towardzero_test_data): Likewise.
7380         (exp_downward_test_data): Likewise.
7381         (exp_upward_test_data): Likewise.
7382         (exp10_test_data): Likewise.
7383         (exp2_test_data): Likewise.
7384         (expm1_test_data): Likewise.
7385         (j0_test_data): Likewise.
7386         (j1_test_data): Likewise.
7387         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7388         (input_flag_type): Add flag_xfail_rounding.
7389         (input_flags): Add xfail-rounding.
7390         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7391         (output_for_one_input_case): Handle flag_xfail_rounding.
7392         * sysdeps/i386/fpu/libm-test-ulps: Update.
7393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7395 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
7397         [BZ #16289]
7398         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7399         division by 0.
7401 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7403         [BZ #16195]
7404         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7405         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7406         (STAP_PROBE0): New macro.
7407         (STAP_PROBE1): Likewise.
7408         (STAP_PROBE2): Likewise.
7409         (STAP_PROBE3): Likewise.
7410         (STAP_PROBE4): Likewise.
7412 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
7414         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7416 2013-12-02  Steve Ellcey  <sellcey@mips.com>
7418         * benchtests/Makefile (bench): Add sqrt.
7419         (LDLIBS-bench-sqrt): New.
7420         * benchtests/sqrt-input: New.
7422 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
7424         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7425         (GAIH_EAI): Likewise.
7426         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7427         (gaih_inet): Likewise.
7428         (getaddrinfo): Don't use GAIH_EAI.
7430         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7431         (struct gaih): Remove definition.
7433 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7435         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7436         Use HERRNOP directly.
7438 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7442 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
7444         * math/gen-auto-libm-tests.c (test_functions): Add more
7445         single-argument functions.
7446         (special_fill_pi_2): New function.
7447         (special_fill_minus_pi_2): Likewise.
7448         (special_fill_pi_6): Likewise.
7449         (special_fill_minus_pi_6): Likewise.
7450         (special_fill_pi_3): Likewise.
7451         (special_fill_2pi_3): Likewise.
7452         (special_fill_e): Likewise.
7453         (special_fill_1_e): Likewise.
7454         (special_fill_e_minus_1): Likewise.
7455         (special_real_inputs): Add more special inputs.
7456         (output_for_one_input_case): Do not require ERANGE on underflow to
7457         zero if round-to-nearest result does not underflow to zero, unless
7458         exact results required.
7459         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7460         atan, atanh, cbrt, cos and cosh.
7461         * math/auto-libm-test-out: Regenerated.
7462         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7463         (acos_tonearest_test_data): Likewise.
7464         (acos_towardzero_test_data): Likewise.
7465         (acos_downward_test_data): Likewise.
7466         (acos_upward_test_data): Likewise.
7467         (acosh_test_data): Likewise.
7468         (asin_test_data): Likewise.
7469         (asin_tonearest_test_data): Likewise.
7470         (asin_towardzero_test_data): Likewise.
7471         (asin_upward_test_data): Likewise.
7472         (asinh_test_data): Likewise.
7473         (atan_test_data): Likewise.
7474         (atanh_test_data): Likewise.
7475         (cbrt_test_data): Likewise.
7476         (cos_test_data): Likewise.
7477         (cos_tonearest_test_data): Likewise.
7478         (cos_towardzero_test_data): Likewise.
7479         (cos_downward_test_data): Likewise.
7480         (cos_upward_test_data): Likewise.
7481         (cosh_test_data): Likewise.
7482         (cosh_tonearest_test_data): Likewise.
7483         (cosh_towardzero_test_data): Likewise.
7484         (cosh_downward_test_data): Likewise.
7485         (cosh_upward_test_data): Likewise.
7486         * sysdeps/i386/fpu/libm-test-ulps: Update.
7487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7489 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
7491         [BZ #6787]
7492         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7493         * math/w_exp10f.c (__exp10f): Likewise.
7494         * math/w_exp10l.c (__exp10l): Likewise.
7495         * math/libm-test.inc (exp10_test_data): Add more tests and expect
7496         errno settings in existing tests.
7498         [BZ #14032]
7499         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7500         precision control set to double precision.
7501         * sysdeps/i386/fpu/w_sqrt.c: New file.
7502         * math/auto-libm-test-in: Add more tests.
7503         * math/auto-libm-test-out: Update.
7505         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7506         (sqrt_test_tonearest): New function.
7507         (sqrt_towardzero_test_data): New variable.
7508         (sqrt_test_towardzero): New function.
7509         (sqrt_downward_test_data): New variable.
7510         (sqrt_test_downward): New function.
7511         (sqrt_upward_test_data): New variable.
7512         (sqrt_test_upward): New function.
7513         (main): Call the new functions.
7515         * math/gen-auto-libm-tests.c: New file.
7516         * math/auto-libm-test-in: Likewise.
7517         * math/auto-libm-test-out: New generated file.
7518         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7519         variables.
7520         (%beautify): Add generated representations of zero.
7521         (top level): Set $auto_input and call parse_auto_input.
7522         (beautify): Remove trailing "f" from hex float constants.
7523         (parse_args): Handle XFAIL_TEST.
7524         (convert_condition): New function.
7525         (or_value): Likewise.
7526         (or_cond_value): Likewise.
7527         (generate_testfile): Handle AUTO_TESTS_* lines.
7528         (parse_auto_input): New function.
7529         * math/libm-test.inc (XFAIL_TEST): New macro.
7530         (ERRNO_UNCHANGED): Update value.
7531         (ERRNO_EDOM): Likewise.
7532         (ERRNO_ERANGE): Likewise.
7533         (IGNORE_RESULT): Likewise.
7534         (TEST_COND_flt_32): New macro.
7535         (TEST_COND_dbl_64): Likewise.
7536         (TEST_COND_ldbl_96_intel): Likewise.
7537         (TEST_COND_ldbl_96_m68k): Likewise.
7538         (TEST_COND_ldbl_128): Likewise.
7539         (TEST_COND_ldbl_128ibm): Likewise.
7540         (TEST_COND_long32): Likewise.
7541         (TEST_COND_long64): Likewise.
7542         (TEST_COND_before_rounding): Likewise.
7543         (TEST_COND_after_rounding): Likewise.
7544         (enable_test): Handle XFAIL_TEST flag.
7545         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7546         with finite results.
7547         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7548         auto-libm-test-out.
7550 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7551             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7553         [BZ #16214]
7554         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7555         __tls_get_addr_internal instead of __tls_get_offset in order to
7556         avoid GOT pointer dependency.  Make rtld export
7557         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7558         __tls_get_addr since we are a __tls_get_offset platform.
7559         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7560         GOT pointer being set up before.
7561         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7563 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
7565         * manual/math.texi (Errors in Math Functions): Document accuracy
7566         goals.
7568         [BZ #15004]
7569         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7570         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7571         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7572         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7573         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7574         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7575         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7576         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7577         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7578         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7579         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7580         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7581         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7582         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7583         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7584         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7586         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7587         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7588         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7589         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7590         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7591         Likewise.
7592         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7593         Likewise.
7594         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7595         Likewise.
7596         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7597         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7598         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7599         atomic-feupdateenv and flt-rounds.
7600         * sysdeps/powerpc/nofpu/Versions (libc): Add
7601         __atomic_feholdexcept, __atomic_feclearexcept,
7602         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7603         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7604         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7605         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7606         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7607         here.
7608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7609         Update.
7611         * manual/arith.texi (FP Exceptions): Document that exceptions may
7612         not be raised when matherr is used.
7613         (Math Error Reporting): Document overflow in directed rounding
7614         modes.  Document that errno may not be set when finite values are
7615         returned on overflow.  Document intent to set errno on underflow
7616         only for underflow to zero.
7618         [BZ #16271]
7619         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7620         round-to-nearest then adjust result for other rounding modes.
7621         * include/fenv.h (fegetround): Use libm_hidden_proto.
7622         * math/fegetround.c (fegetround): Use libm_hidden_def.
7623         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7624         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7625         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7626         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7627         Likewise.
7628         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7629         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7630         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7631         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7633 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7635         [BZ #16077]
7636         * nss/Versions (libnss_files): Add
7637         _nss_files_gethostbyname3_r.
7638         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7639         New function.
7640         (HOST_DB_LOOKUP): Remove macro.
7641         (_nss_files_gethostbyname_r): Implement function without the
7642         HOST_DB_LOOKUP macro.
7643         (_nss_files_gethostbyname2_r): Likewise.
7645 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
7647         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7649 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
7651         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7652         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7653         warning.
7655 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7657         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7658         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7659         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7660         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7661         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7662         __fe_nomask_env_priv and attribute_hidden.
7663         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7664         (libc_feupdateenv_test_ppc): Likewise.
7665         (libc_feresetround_ppc): Likewise.
7666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7667         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7668         compat_symbol macro.
7669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7670         (__fe_nomask_env): Likewise.
7671         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7673 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7675         * string/Makefile: Remove ifunc tests.
7676         * string/test-string.h: Define TEST_IFUNC.
7677         * string/test-bcopy-ifunc.c: Remove.
7678         * string/test-bzero-ifunc.c: Likewise.
7679         * string/test-memccpy-ifunc.c: Likewise.
7680         * string/test-memchr-ifunc.c: Likewise.
7681         * string/test-memcmp-ifunc.c: Likewise.
7682         * string/test-memcpy-ifunc.c: Likewise.
7683         * string/test-memmem-ifunc.c: Likewise.
7684         * string/test-memmove-ifunc.c: Likewise.
7685         * string/test-mempcpy-ifunc.c: Likewise.
7686         * string/test-memrchr-ifunc.c: Likewise.
7687         * string/test-memset-ifunc.c: Likewise.
7688         * string/test-rawmemchr-ifunc.c: Likewise.
7689         * string/test-stpcpy-ifunc.c: Likewise.
7690         * string/test-stpncpy-ifunc.c: Likewise.
7691         * string/test-strcasecmp-ifunc.c: Likewise.
7692         * string/test-strcasestr-ifunc.c: Likewise.
7693         * string/test-strcat-ifunc.c: Likewise.
7694         * string/test-strchr-ifunc.c: Likewise.
7695         * string/test-strchrnul-ifunc.c: Likewise.
7696         * string/test-strcmp-ifunc.c: Likewise.
7697         * string/test-strcpy-ifunc.c: Likewise.
7698         * string/test-strcspn-ifunc.c: Likewise.
7699         * string/test-strlen-ifunc.c: Likewise.
7700         * string/test-strncasecmp-ifunc.c: Likewise.
7701         * string/test-strncat-ifunc.c: Likewise.
7702         * string/test-strncmp-ifunc.c: Likewise.
7703         * string/test-strncpy-ifunc.c: Likewise.
7704         * string/test-strnlen-ifunc.c: Likewise.
7705         * string/test-strpbrk-ifunc.c: Likewise.
7706         * string/test-strrchr-ifunc.c: Likewise.
7707         * string/test-strspn-ifunc.c: Likewise.
7708         * string/test-strstr-ifunc.c: Likewise.
7710 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7712         * benchtests/Makefile: Remove ifunc tests.
7713         * benchtests/bench-string.h: Define TEST_IFUNC.
7714         * benchtests/bench-bcopy-ifunc.c: Remove.
7715         * benchtests/bench-bzero-ifunc.c: Likewise.
7716         * benchtests/bench-memccpy-ifunc.c: Likewise.
7717         * benchtests/bench-memchr-ifunc.c: Likewise.
7718         * benchtests/bench-memcmp-ifunc.c: Likewise.
7719         * benchtests/bench-memcpy-ifunc.c: Likewise.
7720         * benchtests/bench-memmem-ifunc.c: Likewise.
7721         * benchtests/bench-memmove-ifunc.c: Likewise.
7722         * benchtests/bench-mempcpy-ifunc.c: Likewise.
7723         * benchtests/bench-memrchr-ifunc.c: Likewise.
7724         * benchtests/bench-memset-ifunc.c: Likewise.
7725         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7726         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7727         * benchtests/bench-stpcpy-ifunc.c: Likewise.
7728         * benchtests/bench-stpncpy-ifunc.c: Likewise.
7729         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7730         * benchtests/bench-strcasestr-ifunc.c: Likewise.
7731         * benchtests/bench-strcat-ifunc.c: Likewise.
7732         * benchtests/bench-strchr-ifunc.c: Likewise.
7733         * benchtests/bench-strchrnul-ifunc.c: Likewise.
7734         * benchtests/bench-strcmp-ifunc.c: Likewise.
7735         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7736         * benchtests/bench-strcpy-ifunc.c: Likewise.
7737         * benchtests/bench-strcspn-ifunc.c: Likewise.
7738         * benchtests/bench-strlen-ifunc.c: Likewise.
7739         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7740         * benchtests/bench-strncat-ifunc.c: Likewise.
7741         * benchtests/bench-strncmp-ifunc.c: Likewise.
7742         * benchtests/bench-strncpy-ifunc.c: Likewise.
7743         * benchtests/bench-strnlen-ifunc.c: Likewise.
7744         * benchtests/bench-strpbrk-ifunc.c: Likewise.
7745         * benchtests/bench-strrchr-ifunc.c: Likewise.
7746         * benchtests/bench-strsep-ifunc.c: Likewise.
7747         * benchtests/bench-strspn-ifunc.c: Likewise.
7748         * benchtests/bench-strstr-ifunc.c: Likewise.
7750 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7752         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7754 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7756         * resolv/netdb.h: Use __glibc_reserved instead __unused.
7757         * rt/aio.h: Likewise.
7758         * sysdeps/gnu/bits/utmp.h: Likewise.
7759         * sysdeps/gnu/bits/utmpx.h: Likewise.
7760         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7761         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7762         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7763         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7764         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7765         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7766         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7767         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7768         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7769         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7770         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7771         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7772         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7774         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7775         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7776         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7777         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7778         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7779         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7780         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7781         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7782         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7783         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7784         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7785         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7786         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7787         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7788         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7789         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7790         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7791         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7792         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7793         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7794         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7795         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7796         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7797         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7798         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7799         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7800         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7801         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7803 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
7805         [BZ #16245]
7806         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7807         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7809 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
7811         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7812         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7813         Likewise.
7815 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7817         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7818         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7819         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7820         (__fesetround): Remove define.
7821         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7822         rounding and exceptions handling.
7823         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7824         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7825         (__fe_nomask_env): Likewise.
7826         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7827         __fegetround instead of fegetround.
7828         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7829         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7831 2013-11-21  Roland McGrath  <roland@hack.frob.com>
7833         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7834         it's there.
7836         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7838 2013-11-21  Meador Inge  <meadori@codesourcery.com>
7840         [BZ #11157]
7841         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7842         (encrypt_r): Likewise.
7843         * malloc/obstack.h (obstack_free): Likewise.
7844         * posix/unistd.h (encrypt): Likewise.
7846 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
7848         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7849         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7850         DL_CALL_DT_FINI() that call the functions directly.
7851         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7852         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7853         * elf/dl-fini.c: Likewise.
7855 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
7857         * malloc/hooks.c (memalign_check): Add alignment rounding.
7858         * malloc/malloc.c (_mid_memalign): New function.
7859         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7860         Implement by calling _mid_memalign.
7861         * manual/probes.texi (Memory Allocation Probes): Remove
7862         memory_valloc_retry and memory_pvalloc_retry.
7864 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7866         * locale/programs/locarchive.c (open_archive): Add const
7867         qualifier to ARCHIVEFNAME and copy default fname to
7868         DEFAULT_FNAME.
7870         [BZ #15601]
7871         * libio/tst-widetext.input: Rename Oriya to Odia.
7872         * locale/iso-639.def: Likewise.
7874         * manual/probes.texi (Mathematical Function Probes): Add
7875         documentation for sin, cos, asin and acos probes.
7876         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7877         (__sin32): Add slowasin probe.
7878         (__cos32): Add slowacos probe.
7879         (__mpsin): Add slowsin probe.
7880         (__mpcos): Add slowcos probe.
7882 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
7884         [BZ #15483]
7885         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7886         thread-local __sim_exceptions_thread and global
7887         __sim_exceptions_global.
7888         (__sim_disabled_exceptions): Change to thread-local
7889         __sim_disabled_exceptions_thread and global
7890         __sim_disabled_exceptions_global.
7891         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7892         and global __sim_round_mode_global.
7893         (__simulate_exceptions): Use thread-local floating-point state and
7894         set global state from it as needed.
7895         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7896         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7897         __sim_round_mode_thread.
7898         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7899         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7900         and global __sim_exceptions_global.
7901         (__sim_disabled_exceptions): Change to thread-local
7902         __sim_disabled_exceptions_thread and global
7903         __sim_disabled_exceptions_global.
7904         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7905         and global __sim_round_mode_global.
7906         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7907         (SIM_SET_GLOBAL): Likewise.
7908         * sysdeps/powerpc/soft-fp/sfp-machine.h
7909         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7910         __sim_round_mode_thread.
7911         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7912         __sim_disabled_exceptions_thread.
7913         (__sim_exceptions): Change to __sim_exceptions_thread.
7914         (__sim_disabled_exceptions): Change to
7915         __sim_disabled_exceptions_thread.
7916         (__sim_round_mode): Change to __sim_round_mode_thread.
7917         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7918         thread-local floating-point state and set global state from it as
7919         needed.
7920         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7921         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7922         (__sim_disabled_exceptions): Remove extern declaration.
7923         (feenableexcept): Use thread-local floating-point state and set
7924         global state from it as needed.
7925         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7926         extern declaration.
7927         (__sim_disabled_exceptions): Likewise.
7928         (__sim_round_mode): Likewise.
7929         (__fegetenv): Use thread-local floating-point state.
7930         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7931         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7932         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7933         floating-point state and set global state from it as needed.
7934         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7935         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7936         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7937         Likewise.
7938         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7939         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7940         Likewise.
7941         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7942         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7943         Use __sim_round_mode_thread.
7944         * math/test-fenv-tls.c: New file.
7945         * math/Makefile (tests): Add test-fenv-tls.
7946         ($(objpfx)test-fenv-tls): Depend on
7947         $(common-objpfx)nptl/libpthread.so.
7949 2013-11-19  Andreas Schwab  <schwab@suse.de>
7951         * locale/programs/locale.c (show_info): Decode wordarray elements.
7952         * locale/categories.def (LC_MONETARY): Add element for
7953         _NL_MONETARY_CRNCYSTR.
7954         * locale/C-monetary.c (conversion_rate): New variable.
7955         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7956         element.
7958 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
7960         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7961         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7963 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
7965         * elf/Makefile (tst-auxv): New test.
7966         * elf/tst-auxv.c: New
7967         * elf/rtld.c (dl_main): Adjust AT_EXECFN
7969 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
7971         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7972         (hidden_proto): Caller changed.
7973         (hidden_tls_proto): New macro.
7974         (libc_hidden_tls_proto): Likewise.
7975         (rtld_hidden_tls_proto): Likewise.
7976         (libm_hidden_tls_proto): Likewise.
7977         (libresolv_hidden_tls_proto): Likewise.
7978         (librt_hidden_tls_proto): Likewise.
7979         (libdl_hidden_tls_proto): Likewise.
7980         (libnss_files_hidden_tls_proto): Likewise.
7981         (libnsl_hidden_tls_proto): Likewise.
7982         (libnss_nisplus_hidden_tls_proto): Likewise.
7983         (libutil_hidden_tls_proto): Likewise.
7985 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
7987         [BZ #10253]
7988         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7989         (decompose_rpath): Defer expansion to fillin_rpath.
7990         (_dl_init_paths): Pass linkmap to fillin_rpath.
7992 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7994         * benchtests/Makefile: Add strsep.
7995         * benchtests/bench-strsep.c: New file: strsep benchtest.
7996         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7998 2013-11-18  Andreas Schwab  <schwab@suse.de>
8000         * locale/programs/locale.c (show_info) [case byte]: Check for
8001         '\377' instead of '\177'.
8002         * locale/C-monetary.c (not_available): Always use "\377".
8003         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8004         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
8005         detect unavailable sign_posn locale elements.
8006         * locale/localeconv.c (__localeconv): For grouping and
8007         mon_grouping handle "\177" and "\377" like no grouping.
8008         (INT_ELEM): New macro.  Use it to set all numeric members.
8009         * locale/programs/ld-monetary.c (monetary_read)
8010         <tok_mon_grouping>: Normalize single -1 to the empty string.
8011         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8012         Likewise.
8014 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
8016         [BZ #16055]
8017         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8018         when we match (nil).
8019         * stdio-common/tst-sscanf.c (struct test): Add testcase.
8021 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
8023         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8024         (NO_TEST_INLINE): Update value.
8025         (ERRNO_UNCHANGED): Likewise.
8026         (ERRNO_EDOM): Likewise.
8027         (ERRNO_ERANGE): Likewise.
8028         (IGNORE_RESULT): Likewise.
8029         (check_float_internal): Check signs of NaN results if
8030         TEST_NAN_SIGN used.
8031         (check_complex): Pass TEST_NAN_SIGN flag through to second
8032         check_float_internal call.
8033         (copysign_test_data): Add tests with quiet NaNs as second
8034         argument.  Use TEST_NAN_SIGN.
8035         (fabs_test_data): Add test of negative quiet NaN argument.  Use
8036         TEST_NAN_SIGN.
8037         (signbit_test_data): Add tests of quiet NaN argument.
8038         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8040         * math/gen-libm-test.pl (show_exceptions): Take extra argument
8041         $ignore_result.
8042         (parse_args): Handle function results specified as IGNORE.
8043         * math/libm-test.inc (IGNORE_RESULT): New macro.
8044         (check_float_internal): Do not check numerical result if flag
8045         IGNORE_RESULT set.
8046         (check_complex): Pass through IGNORE_RESULT to second
8047         check_float_internal call.
8048         (check_int): Do not check numerical result if flag IGNORE_RESULT
8049         set.
8050         (check_long): Likewise.
8051         (check_bool): Likewise.
8052         (check_longlong): Likewise.
8053         (lrint_test_data): Add tests of infinite and NaN arguments.
8054         (lrint_tonearest_test_data): Likewise.
8055         (lrint_towardzero_test_data): Likewise.
8056         (lrint_downward_test_data): Likewise.
8057         (lrint_upward_test_data): Likewise.
8058         (llrint_test_data): Likewise.
8059         (llrint_tonearest_test_data): Likewise.
8060         (llrint_towardzero_test_data): Likewise.
8061         (llrint_downward_test_data): Likewise.
8062         (llrint_upward_test_data): Likewise.
8063         (lround_test_data): Likewise.
8064         (llround_test_data): Likewise.
8066         * math/libm-test.inc (NO_TEST_INLINE): New macro.
8067         (ERRNO_UNCHANGED): Update value.
8068         (ERRNO_EDOM): Likewise.
8069         (ERRNO_ERANGE): Likewise.
8070         (NO_TEST_INLINE_FLOAT): New macro.
8071         (NO_TEST_INLINE_DOUBLE): Likewise.
8072         (enable_test): New function.
8073         (RUN_TEST_f_f): Check enable_test before running test.
8074         (RUN_TEST_2_f): Likewise.
8075         (RUN_TEST_fff_f): Likewise.
8076         (RUN_TEST_c_f): Likewise.
8077         (RUN_TEST_f_f1): Likewise.
8078         (RUN_TEST_fF_f1): Likewise.
8079         (RUN_TEST_fI_f1): Likewise.
8080         (RUN_TEST_ffI_f1): Likewise.
8081         (RUN_TEST_c_c): Likewise.
8082         (RUN_TEST_cc_c): Likewise.
8083         (RUN_TEST_f_i): Likewise.
8084         (RUN_TEST_f_i_tg): Likewise.
8085         (RUN_TEST_ff_i_tg): Likewise.
8086         (RUN_TEST_f_b): Likewise.
8087         (RUN_TEST_f_b_tg): Likewise.
8088         (RUN_TEST_f_l): Likewise.
8089         (RUN_TEST_f_L): Likewise.
8090         (RUN_TEST_fFF_11): Likewise.
8091         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8092         conditionals.
8093         (cosh_test_data): Likewise.
8094         (exp_test_data): Likewise.
8095         (expm1_test_data): Likewise.
8096         (hypot_test_data): Likewise.
8097         (pow_test_data): Likewise.
8098         (sinh_test_data): Likewise.
8099         (tanh_test_data): Likewise.
8100         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8101         flags argument.
8103         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8104         tests with quiet NaN input and output.
8105         (acosh_test_data): Likewise.
8106         (asin_test_data): Likewise.
8107         (asinh_test_data): Likewise.
8108         (atan_test_data): Likewise.
8109         (atanh_test_data): Likewise.
8110         (atan2_test_data): Likewise.
8111         (cbrt_test_data): Likewise.
8112         (cos_test_data): Likewise.
8113         (cosh_test_data): Likewise.
8114         (erf_test_data): Likewise.
8115         (erfc_test_data): Likewise.
8116         (exp_test_data): Likewise.
8117         (exp10_test_data): Likewise.
8118         (exp2_test_data): Likewise.
8119         (expm1_test_data): Likewise.
8120         (hypot_test_data): Likewise.
8121         (j0_test_data): Likewise.
8122         (j1_test_data): Likewise.
8123         (jn_test_data): Likewise.
8124         (lgamma_test_data): Likewise.
8125         (log_test_data): Likewise.
8126         (log10_test_data): Likewise.
8127         (log1p_test_data): Likewise.
8128         (log2_test_data): Likewise.
8129         (pow_test_data): Likewise.
8130         (scalb_test_data): Likewise.
8131         (sin_test_data): Likewise.
8132         (sincos_test_data): Likewise.
8133         (sinh_test_data): Likewise.
8134         (tan_test_data): Likewise.
8135         (tanh_test_data): Likewise.
8136         (tgamma_test_data): Likewise.
8137         (y0_test_data): Likewise.
8138         (y1_test_data): Likewise.
8139         (yn_test_data): Likewise.
8141         [BZ #16167]
8142         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8143         argument being NaN and avoid computations with second argument in
8144         that case.
8145         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8146         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8147         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8149 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
8151         * locale/iso-639.def: Add Chitwani Tharu (the).
8153 2013-11-14  Andreas Schwab  <schwab@suse.de>
8155         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8156         word instead of empty string.
8158 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8161         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8163         (__fe_nomask_env): Likewise.
8165 2013-11-13  Steve Ellcey  <sellcey@mips.com>
8167         * benchtests/bench-timing.h: Include time.h.
8169 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
8171         [BZ #15997]
8172         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8173         to 3.4.0 for x32.
8174         * sysdeps/unix/sysv/linux/configure: Regenerated.
8176 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
8178         [BZ #16151]
8179         * stdlib/strtod_l.c (round_and_return): Do not consider
8180         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8181         exponent one less than half the least subnormal exponent.
8182         * stdlib/test-strtod-round-data: Add more tests.
8183         * stdlib/tst-strtod-round.c (tests): Regenerated.
8185 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8187         [BZ #14143]
8188         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8189         (__fe_mask_env): Likewise.
8190         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8191         libm_hidden_proto and add function prototype.
8192         (__fe_mask_env): Add function prototype.
8193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8194         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8196         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8198         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8200 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8202         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8203         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8205 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8207         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8208         of htab_find_slot().
8210 2013-11-11  David S. Miller  <davem@davemloft.net>
8212         [BZ #16150]
8213         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8214         symbol in the non-vis3 case in static builds.
8215         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8216         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8217         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8218         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8220 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8222         [BZ #387]
8223         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8224         it is empty.
8226 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8228         * benchtests/Makefile: Add bench-strtod.
8229         * benchtests/bench-strtod.c: New file: strtod benchtest
8231 2013-11-11  Andreas Schwab  <schwab@suse.de>
8233         [BZ #16153]
8234         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8235         terminating NUL in key length.
8237 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8239         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8240         Add artificial ODP entry for vDSO symbol for PPC64.
8241         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8242         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8244 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
8246         [BZ #15374]
8247         * nss/getent.c (services_keys): Recognize services starting with digit.
8249 2013-11-06  David S. Miller  <davem@davemloft.net>
8251         [BZ #15985]
8252         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8253         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8255 2013-11-06  Will Newton  <will.newton@linaro.org>
8257         * manual/memory.texi (Malloc Examples): Remove register
8258         keyword from examples.
8260 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
8262         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8264 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
8266         [BZ #6981]
8267         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8268         depending on [__GCC_IEC_559 > 0].
8269         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8270         depending on [__GCC_IEC_559_COMPLEX > 0].
8272 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
8274         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8275         to iso-639.def.
8277 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
8279         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8281 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
8283         [BZ #16112]
8284         * malloc/malloc (malloc_info): Do not handle first bin as
8285         special case.
8287 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
8289         * locale/iso-639.def: Add Central Nahuatl (nhn).
8291 2013-11-01  Bruno Haible  <bruno@clisp.org>
8293         [BZ #7003]
8294         * manual/math.texi (BSD Random): Specify range upper bound as
8295         in POSIX.
8297 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
8299         * locale/iso-639.def: Add Meadow Mari (mhr).
8301 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
8303         [BZ #14752], [BZ #15763]
8304         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8305         Validate name.
8306         * rt/tst_shm.c: Add test for escaping directory.
8308 2013-10-31  Andreas Schwab  <schwab@suse.de>
8310         [BZ #15917]
8311         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8312         followed by 'x' as part of digit sequence.
8313         * stdio-common/tst-sscanf.c (double_tests2): New tests.
8315 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8317         [BZ #16037]
8318         * configure.ac: allow GNU Make 4.0 and greater.
8319         * configure: Regenerated.
8321 2013-10-30  Will Newton  <will.newton@linaro.org>
8323         [BZ #16038]
8324         * malloc/hooks.c (memalign_check): Limit alignment to the
8325         maximum representable power of two.
8326         * malloc/malloc.c (__libc_memalign): Likewise.
8327         * malloc/tst-memalign.c (do_test): Add test for very
8328         large alignment values.
8329         * malloc/tst-posix_memalign.c (do_test): Likewise.
8331 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
8333         [BZ #11087]
8334         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8335         (munmap_chunk): Likewise.
8336         (mremap_chunk): Likewise.
8338 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
8340         [BZ #15799]
8341         * stdlib/div.c (div): Remove obsolete code.
8342         * stdlib/ldiv.c (ldiv): Likewise.
8343         * stdlib/lldiv.c (lldiv): Likewise.
8345 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8347         [BZ #16071]
8348         * nss/nss_files/files-XXX.c (get_contents_ret): New
8349         enumerator.
8350         (get_contents): New function.
8351         (internal_getent): Use it.  Expand size of LINEBUFLEN.
8353 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
8355         * configure.in: Moved to ...
8356         * configure.ac: ... here. Change reference to configure.in
8357         to configure.ac.
8358         * sysdeps/arm/preconfigure.ac: ... here.
8359         configure.in to configure.ac.
8360         * sysdeps/gnu/configure.in: Moved to ...
8361         * sysdeps/gnu/configure.ac: ... here.
8362         * sysdeps/i386/configure.in: Moved to ...
8363         * sysdeps/i386/configure.ac: ... here.
8364         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8365         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8366         * sysdeps/mach/configure.in: Moved to ...
8367         * sysdeps/mach/configure.ac: ... here.
8368         * sysdeps/mach/hurd/configure.in: Moved to ...
8369         * sysdeps/mach/hurd/configure.ac: ... here.
8370         * sysdeps/powerpc/configure.in: Moved to ...
8371         * sysdeps/powerpc/configure.ac: ... here.
8372         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8373         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8374         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8375         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8376         * sysdeps/s390/s390-32/configure.in: Moved to ...
8377         * sysdeps/s390/s390-32/configure.ac: ... here.
8378         * sysdeps/s390/s390-64/configure.in: Moved to ...
8379         * sysdeps/s390/s390-64/configure.ac: ... here.
8380         * sysdeps/sh/configure.in: Moved to ...
8381         * sysdeps/sh/configure.ac: ... here.
8382         * sysdeps/sparc/configure.in: Moved to ...
8383         * sysdeps/sparc/configure.ac: ... here.
8384         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8385         * sysdeps/unix/sysv/linux/configure.ac: ... here.
8386         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8387         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8388         * sysdeps/x86_64/configure.in: Moved to ...
8389         * sysdeps/x86_64/configure.ac: ... here.
8390         * sysdeps/x86_64/preconfigure.in: Moved to ...
8391         * sysdeps/x86_64/preconfigure.ac: ... here.
8392         * aclocal.m4: Change reference to configure.in to configure.ac.
8393         * config.h.in: Likewise.
8394         * manual/install.texi: Likewise.
8395         * manual/maint.texi: Likewise.
8396         * Makefile: Likewise.
8397         * malloc/Makefile: Likewise.
8398         * nscd/Makefile: Likewise.
8399         * Makeconfig: Change reference to configure.in and
8400         preconfigure.in to configure.ac and preconfigure.ac
8401         respectively.
8402         * INSTALL: Regenerated.
8403         * configure: Likewise.
8404         * sysdeps/gnu/configure: Likewise.
8405         * sysdeps/i386/configure: Likewise.
8406         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8407         * sysdeps/mach/configure: Likewise.
8408         * sysdeps/mach/hurd/configure: Likewise.
8409         * sysdeps/powerpc/configure: Likewise.
8410         * sysdeps/powerpc/powerpc32/configure: Likewise.
8411         * sysdeps/powerpc/powerpc64/configure: Likewise.
8412         * sysdeps/s390/s390-32/configure: Likewise.
8413         * sysdeps/s390/s390-64/configure: Likewise.
8414         * sysdeps/sh/configure: Likewise.
8415         * sysdeps/sparc/configure: Likewise.
8416         * sysdeps/unix/sysv/linux/configure: Likewise.
8417         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8418         * sysdeps/x86_64/configure: Likewise.
8419         * sysdeps/x86_64/preconfigure: Likewise.
8421 2013-10-29  Andreas Schwab  <schwab@suse.de>
8423         * stdio-common/Makefile (tst-swscanf-ENV): Define.
8425 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8427         * benchtests/pow-inputs: Add new inputs.
8429         * benchtests/exp-inputs: Add new inputs.
8431         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8432         conditional check for return value.
8433         (__cos32): Likewise.
8435 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8437         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8438         to provide a boost for large inputs with word alignment.
8439         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8440         implementation based on optimized PPC64 strcpy.
8441         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8442         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8443         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8444         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8446 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
8448         [BZ #2801]
8449         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8451 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
8453         [BZ #14876]
8454         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8455         * time/tst-strptime.c (day_tests): Add testcase.
8457 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
8459         [BZ #14029]
8460         * manual/pattern.texi: Acknowledge that fnmatch can fail.
8462 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
8464         [BZ #16074]
8465         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8466         MAP_FAILED on error.
8468 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8470         [BZ #16072]
8471         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8472         heap for large requests.
8474 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
8476         [BZ #9954]
8477         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8478         result if the result has no associated interface.
8479         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8480         interface for all 127.X.Y.Z addresses.
8482 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
8484         * locale/iso-639.def: Add Ligurian (lij)
8486 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
8488         [BZ #15825]
8489         * sunrpc/rpc_main.c: Document rpcgen -5.
8491 2013-10-19  Michael Stahl  <mstahl@redhat.com>
8493         * elf/rtld.c (do_preload): Print the reason why preloading failed.
8495 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
8497         [BZ #10278]
8498         * posix/glob.c: Match only directories when trailing slash is present.
8499         * posix/tst-gnuglob.c (my_opendir): Do not open files.
8500         (main): Add testcase.
8502 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
8504         [BZ #15670]
8505         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8507 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
8509         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8510         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8511         AUTH_DES and cindex for FIPS 140-2.
8512         (DES Encryption): Add cindex FIPS 46-3.
8514         * locale/locarchive.h (struct locarhandle): Add fname.
8515         * locale/programs/localedef.c (main): Pass ARGV[remaining]
8516         if an optional argument was specified to --list-archive,
8517         otherwise NULL.
8518         * locale/programs/locarchive.c (show_archive_content): Take new
8519         argument fname and pass it via ah.fname to open_archive.
8520         * locale/programs/localedef.h: Update decl.
8521         (open_archive): If AH->fname is non-null, open that file
8522         rather than the default file name, and don't ignore ENOENT.
8523         (create_archive): Set AH.fname to NULL.
8524         (delete_locales_from_archive): Likewise.
8525         (add_locales_to_archive): Likewise.
8526         * locale/programs/locfile.c (write_all_categories): Likewise.
8528 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
8529             Aldy Hernandez  <aldyh@redhat.com>
8531         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8532         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8533         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8534         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8535         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8536         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8537         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8538         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8539         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8540         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8541         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8542         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8543         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8544         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8545         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8546         Likewise.
8547         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8548         Likewise.
8549         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8550         Likewise.
8551         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8552         Likewise.
8553         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8554         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8555         Likewise.
8556         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8557         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8558         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8559         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8560         Likewise.
8561         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8562         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8563         * sysdeps/powerpc/preconfigure: Likewise.
8564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8565         Likewise.
8566         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8567         Replace contents of file by #include of <fenv_libc.h>.
8568         * sysdeps/powerpc/soft-fp/sfp-machine.h
8569         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8570         and <sys/prctl.h>.
8571         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8572         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8573         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8574         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8575         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8576         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8577         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8578         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8579         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8580         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8581         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8582         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8584         Allow copysignl PLT reference to be missing.
8586 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
8587             Joseph Myers  <joseph@codesourcery.com
8589         [BZ #15948]
8590         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8591         single character.
8592         (add_to_tablewc): Assert sequence of wide characters is nonempty.
8594 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8596         * elf/tst-tls-dlinfo.c: Don't include tls.h.
8597         * elf/tst-tls1.c: Likewise.
8598         * elf/tst-tls10.h: Likewise.
8599         * elf/tst-tls14.c: Likewise.
8600         * elf/tst-tls2.c: Likewise.
8601         * elf/tst-tls3.c: Likewise.
8602         * elf/tst-tls4.c: Likewise.
8603         * elf/tst-tls5.c: Likewise.
8604         * elf/tst-tls6.c: Likewise.
8605         * elf/tst-tls7.c: Likewise.
8606         * elf/tst-tls8.c: Likewise.
8607         * elf/tst-tls9.c: Likewise.
8608         * elf/tst-tlsmod1.c: Likewise.
8609         * elf/tst-tlsmod13.c: Likewise.
8610         * elf/tst-tlsmod13a.c: Likewise.
8611         * elf/tst-tlsmod14a.c: Likewise.
8612         * elf/tst-tlsmod16a.c: Likewise.
8613         * elf/tst-tlsmod16b.c: Likewise.
8614         * elf/tst-tlsmod2.c: Likewise.
8615         * elf/tst-tlsmod3.c: Likewise.
8616         * elf/tst-tlsmod4.c: Likewise.
8617         * elf/tst-tlsmod5.c: Likewise.
8618         * elf/tst-tlsmod6.c: Likewise.
8620 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
8622         [BZ #12486]
8623         * malloc/malloc.c: remove checks for statistics.
8625 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
8627         [BZ #15277]
8628         * inet/inet_net.c (inet_network): Detect additional invalid strings.
8629         * inet/tst-network.c: Add testcase.
8631 2013-10-17  Andreas Schwab  <schwab@suse.de>
8633         [BZ #15218]
8634         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8635         to determine canonical name.
8637 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
8639         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8640         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8641         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8642         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8643         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8644         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8645         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8646         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8647         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8648         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8649         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8650         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8651         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8652         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8653         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8654         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8655         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8656         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8657         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8658         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8659         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8660         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8661         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8662         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8663         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8664         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8665         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8666         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8667         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8668         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8669         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8670         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8671         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8672         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8673         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8674         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8675         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8676         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8677         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8678         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8679         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8680         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8681         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8682         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8683         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8684         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8685         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8686         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8687         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8688         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8689         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8690         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8691         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8692         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8693         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8694         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8695         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8696         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8698 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
8700         [BZ #16041]
8701         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8702         make result into a quiet NaN.
8704 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
8706         * soft-fp/adddf3.c: Fix horizontal whitespace.
8707         * soft-fp/addsf3.c: Likewise.
8708         * soft-fp/addtf3.c: Likewise.
8709         * soft-fp/divdf3.c: Likewise.
8710         * soft-fp/divsf3.c: Likewise.
8711         * soft-fp/divtf3.c: Likewise.
8712         * soft-fp/double.h: Likewise.
8713         * soft-fp/eqdf2.c: Likewise.
8714         * soft-fp/eqsf2.c: Likewise.
8715         * soft-fp/eqtf2.c: Likewise.
8716         * soft-fp/extenddftf2.c: Likewise.
8717         * soft-fp/extended.h: Likewise.
8718         * soft-fp/extendsfdf2.c: Likewise.
8719         * soft-fp/extendsftf2.c: Likewise.
8720         * soft-fp/extendxftf2.c: Likewise.
8721         * soft-fp/fixdfdi.c: Likewise.
8722         * soft-fp/fixdfsi.c: Likewise.
8723         * soft-fp/fixdfti.c: Likewise.
8724         * soft-fp/fixsfdi.c: Likewise.
8725         * soft-fp/fixsfsi.c: Likewise.
8726         * soft-fp/fixsfti.c: Likewise.
8727         * soft-fp/fixtfdi.c: Likewise.
8728         * soft-fp/fixtfsi.c: Likewise.
8729         * soft-fp/fixtfti.c: Likewise.
8730         * soft-fp/fixunsdfdi.c: Likewise.
8731         * soft-fp/fixunsdfsi.c: Likewise.
8732         * soft-fp/fixunsdfti.c: Likewise.
8733         * soft-fp/fixunssfdi.c: Likewise.
8734         * soft-fp/fixunssfsi.c: Likewise.
8735         * soft-fp/fixunssfti.c: Likewise.
8736         * soft-fp/fixunstfdi.c: Likewise.
8737         * soft-fp/fixunstfsi.c: Likewise.
8738         * soft-fp/fixunstfti.c: Likewise.
8739         * soft-fp/floatdidf.c: Likewise.
8740         * soft-fp/floatdisf.c: Likewise.
8741         * soft-fp/floatditf.c: Likewise.
8742         * soft-fp/floatsidf.c: Likewise.
8743         * soft-fp/floatsisf.c: Likewise.
8744         * soft-fp/floatsitf.c: Likewise.
8745         * soft-fp/floattidf.c: Likewise.
8746         * soft-fp/floattisf.c: Likewise.
8747         * soft-fp/floattitf.c: Likewise.
8748         * soft-fp/floatundidf.c: Likewise.
8749         * soft-fp/floatundisf.c: Likewise.
8750         * soft-fp/floatunditf.c: Likewise.
8751         * soft-fp/floatunsidf.c: Likewise.
8752         * soft-fp/floatunsisf.c: Likewise.
8753         * soft-fp/floatunsitf.c: Likewise.
8754         * soft-fp/floatuntidf.c: Likewise.
8755         * soft-fp/floatuntisf.c: Likewise.
8756         * soft-fp/floatuntitf.c: Likewise.
8757         * soft-fp/fmadf4.c: Likewise.
8758         * soft-fp/fmasf4.c: Likewise.
8759         * soft-fp/fmatf4.c: Likewise.
8760         * soft-fp/gedf2.c: Likewise.
8761         * soft-fp/gesf2.c: Likewise.
8762         * soft-fp/getf2.c: Likewise.
8763         * soft-fp/ledf2.c: Likewise.
8764         * soft-fp/lesf2.c: Likewise.
8765         * soft-fp/letf2.c: Likewise.
8766         * soft-fp/muldf3.c: Likewise.
8767         * soft-fp/mulsf3.c: Likewise.
8768         * soft-fp/multf3.c: Likewise.
8769         * soft-fp/negdf2.c: Likewise.
8770         * soft-fp/negsf2.c: Likewise.
8771         * soft-fp/negtf2.c: Likewise.
8772         * soft-fp/op-1.h: Likewise.
8773         * soft-fp/op-2.h: Likewise.
8774         * soft-fp/op-4.h: Likewise.
8775         * soft-fp/op-8.h: Likewise.
8776         * soft-fp/op-common.h: Likewise.
8777         * soft-fp/quad.h: Likewise.
8778         * soft-fp/single.h: Likewise.
8779         * soft-fp/soft-fp.h: Likewise.
8780         * soft-fp/sqrtdf2.c: Likewise.
8781         * soft-fp/sqrtsf2.c: Likewise.
8782         * soft-fp/sqrttf2.c: Likewise.
8783         * soft-fp/subdf3.c: Likewise.
8784         * soft-fp/subsf3.c: Likewise.
8785         * soft-fp/subtf3.c: Likewise.
8786         * soft-fp/truncdfsf2.c: Likewise.
8787         * soft-fp/trunctfdf2.c: Likewise.
8788         * soft-fp/trunctfsf2.c: Likewise.
8789         * soft-fp/trunctfxf2.c: Likewise.
8790         * soft-fp/unorddf2.c: Likewise.
8791         * soft-fp/unordsf2.c: Likewise.
8792         * soft-fp/unordtf2.c: Likewise.
8794 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
8796         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8797         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8799 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
8801         * elf/dl-libc.c: Clear initfini list after freeing.
8803 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
8805         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8806         * soft-fp/addsf3.c: Likewise.
8807         * soft-fp/addtf3.c: Likewise.
8808         * soft-fp/divdf3.c: Likewise.
8809         * soft-fp/divsf3.c: Likewise.
8810         * soft-fp/divtf3.c: Likewise.
8811         * soft-fp/double.h: Likewise.
8812         * soft-fp/eqdf2.c: Likewise.
8813         * soft-fp/eqsf2.c: Likewise.
8814         * soft-fp/eqtf2.c: Likewise.
8815         * soft-fp/extenddftf2.c: Likewise.
8816         * soft-fp/extended.h: Likewise.
8817         * soft-fp/extendsfdf2.c: Likewise.
8818         * soft-fp/extendsftf2.c: Likewise.
8819         * soft-fp/extendxftf2.c: Likewise.
8820         * soft-fp/fixdfdi.c: Likewise.
8821         * soft-fp/fixdfsi.c: Likewise.
8822         * soft-fp/fixdfti.c: Likewise.
8823         * soft-fp/fixsfdi.c: Likewise.
8824         * soft-fp/fixsfsi.c: Likewise.
8825         * soft-fp/fixsfti.c: Likewise.
8826         * soft-fp/fixtfdi.c: Likewise.
8827         * soft-fp/fixtfsi.c: Likewise.
8828         * soft-fp/fixtfti.c: Likewise.
8829         * soft-fp/fixunsdfdi.c: Likewise.
8830         * soft-fp/fixunsdfsi.c: Likewise.
8831         * soft-fp/fixunsdfti.c: Likewise.
8832         * soft-fp/fixunssfdi.c: Likewise.
8833         * soft-fp/fixunssfsi.c: Likewise.
8834         * soft-fp/fixunssfti.c: Likewise.
8835         * soft-fp/fixunstfdi.c: Likewise.
8836         * soft-fp/fixunstfsi.c: Likewise.
8837         * soft-fp/fixunstfti.c: Likewise.
8838         * soft-fp/floatdidf.c: Likewise.
8839         * soft-fp/floatdisf.c: Likewise.
8840         * soft-fp/floatditf.c: Likewise.
8841         * soft-fp/floatsidf.c: Likewise.
8842         * soft-fp/floatsisf.c: Likewise.
8843         * soft-fp/floatsitf.c: Likewise.
8844         * soft-fp/floattidf.c: Likewise.
8845         * soft-fp/floattisf.c: Likewise.
8846         * soft-fp/floattitf.c: Likewise.
8847         * soft-fp/floatundidf.c: Likewise.
8848         * soft-fp/floatundisf.c: Likewise.
8849         * soft-fp/floatunsidf.c: Likewise.
8850         * soft-fp/floatunsisf.c: Likewise.
8851         * soft-fp/floatuntidf.c: Likewise.
8852         * soft-fp/floatuntisf.c: Likewise.
8853         * soft-fp/floatuntitf.c: Likewise.
8854         * soft-fp/fmadf4.c: Likewise.
8855         * soft-fp/fmasf4.c: Likewise.
8856         * soft-fp/fmatf4.c: Likewise.
8857         * soft-fp/gedf2.c: Likewise.
8858         * soft-fp/gesf2.c: Likewise.
8859         * soft-fp/getf2.c: Likewise.
8860         * soft-fp/ledf2.c: Likewise.
8861         * soft-fp/lesf2.c: Likewise.
8862         * soft-fp/letf2.c: Likewise.
8863         * soft-fp/muldf3.c: Likewise.
8864         * soft-fp/mulsf3.c: Likewise.
8865         * soft-fp/multf3.c: Likewise.
8866         * soft-fp/negdf2.c: Likewise.
8867         * soft-fp/negsf2.c: Likewise.
8868         * soft-fp/negtf2.c: Likewise.
8869         * soft-fp/op-1.h: Likewise.
8870         * soft-fp/op-2.h: Likewise.
8871         * soft-fp/op-4.h: Likewise.
8872         * soft-fp/op-8.h: Likewise.
8873         * soft-fp/op-common.h: Likewise.
8874         * soft-fp/quad.h: Likewise.
8875         * soft-fp/single.h: Likewise.
8876         * soft-fp/soft-fp.h: Likewise.
8877         * soft-fp/sqrtdf2.c: Likewise.
8878         * soft-fp/sqrtsf2.c: Likewise.
8879         * soft-fp/sqrttf2.c: Likewise.
8880         * soft-fp/subdf3.c: Likewise.
8881         * soft-fp/subsf3.c: Likewise.
8882         * soft-fp/subtf3.c: Likewise.
8883         * soft-fp/truncdfsf2.c: Likewise.
8884         * soft-fp/trunctfdf2.c: Likewise.
8885         * soft-fp/trunctfsf2.c: Likewise.
8886         * soft-fp/trunctfxf2.c: Likewise.
8887         * soft-fp/unorddf2.c: Likewise.
8888         * soft-fp/unordsf2.c: Likewise.
8889         * soft-fp/unordtf2.c: Likewise.
8891 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
8893         [BZ #15672]
8894         * misc/error.c (error_tail): Fix possible buffer overflow.
8896 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
8898         [BZ #13028]
8899         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8900         address.
8902 2013-10-14  P. J. McDermott  <pj@pehjota.net>
8904         [BZ #832]
8905         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
8906         testing pipefail option.
8908 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
8910         * soft-fp/double.h: Indent preprocessor directives inside #if.
8911         * soft-fp/extended.h: Likewise.
8912         * soft-fp/op-2.h: Likewise.
8913         * soft-fp/op-4.h: Likewise.
8914         * soft-fp/op-common.h: Likewise.
8915         * soft-fp/quad.h: Likewise.
8916         * soft-fp/single.h: Likewise.
8917         * soft-fp/soft-fp.h: Likewise.
8919 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
8921         * iconv/iconv_prog.c: Fix typos.
8922         * stdio-common/psiginfo-data.h: Likewise.
8924 2013-10-12   Reuben Thomas <rrt@sc3d.org>
8926         [BZ #15764]
8927         * locale/setlocale.c: Fix typo.
8929 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
8931         [BZ #16036]
8932         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8933         signaling NaN arguments.
8934         * soft-fp/unordsf2.c (__unordsf2): Likewise.
8935         * soft-fp/unordtf2.c (__unordtf2): Likewise.
8937         [BZ #14910]
8938         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8939         unordered operands.
8940         * soft-fp/gesf2.c (__gesf2): Likewise.
8941         * soft-fp/getf2.c (__getf2): Likewise.
8942         * soft-fp/ledf2.c (__ledf2): Likewise.
8943         * soft-fp/lesf2.c (__lesf2): Likewise.
8944         * soft-fp/letf2.c (__letf2): Likewise.
8946         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8947         * soft-fp/eqsf2.c (__eqsf2): Likewise.
8948         * soft-fp/eqtf2.c (__eqtf2): Likewise.
8949         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8950         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8951         * soft-fp/fixdfti.c (__fixdfti): Likewise.
8952         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8953         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8954         * soft-fp/fixsfti.c (__fixsfti): Likewise.
8955         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8956         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8957         * soft-fp/fixtfti.c (__fixtfti): Likewise.
8958         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8959         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8960         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8961         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8962         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8963         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8964         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8965         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8966         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8967         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8968         * soft-fp/floatdisf.c (__floatdisf): Likewise.
8969         * soft-fp/floatsisf.c (__floatsisf): Likewise.
8970         * soft-fp/floattidf.c (__floattidf): Likewise.
8971         * soft-fp/floattisf.c (__floattisf): Likewise.
8972         * soft-fp/floattitf.c (__floattitf): Likewise.
8973         * soft-fp/floatundidf.c (__floatundidf): Likewise.
8974         * soft-fp/floatundisf.c (__floatundisf): Likewise.
8975         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8976         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8977         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8978         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8979         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8980         * soft-fp/gesf2.c (__gesf2): Likewise.
8981         * soft-fp/getf2.c (__getf2): Likewise.
8982         * soft-fp/ledf2.c (__ledf2): Likewise.
8983         * soft-fp/lesf2.c (__lesf2): Likewise.
8984         * soft-fp/letf2.c (__letf2): Likewise.
8986         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8987         Undefine and redefine.
8988         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8989         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8990         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8991         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8992         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8993         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8994         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8995         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8996         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8997         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8998         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8999         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9000         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9001         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9002         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9004         [BZ #16032]
9005         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9006         without decrementing exponent if mantissa >= that for the
9007         denominator, not >.
9008         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9009         denominator, not >.  Decrement exponent in < case instead of
9010         incrementing in >= case.
9011         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9012         without decrementing exponent if mantissa >= that for the
9013         denominator, not >.
9015         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9016         computing saturated result for unsigned overflow.
9018 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9019             Jeff Law  <law@redhat.com>
9021         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9022         (atan2Mp): Add systemtap probe marker.
9023         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9024         (__ieee754_log): Add systemtap probe marker.
9025         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9026         (atanMp): Add systemtap probe marker.
9027         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9028         (tanMp): Add systemtap probe marker.
9029         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9030         (__slowexp): Add systemtap probe marker.
9031         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9032         (__slowpow): Add systemtap probe marker.
9033         * manual/probes.texi: Document probes.
9035 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
9037         [BZ #15362]
9038         * libio/fileops.c (_IO_new_file_write): Return count of bytes
9039         written.
9040         (_IO_new_file_xsputn): Don't return EOF if nothing has been
9041         written.
9042         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9043         written to buffer but not flushed.
9044         * libio/iofwrite_u.c:  Likewise.
9045         * libio/iopadn.c:  Return bytes returned even if EOF was
9046         encountered.
9047         * libio/iowpadn.c:  Likewise.
9048         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9049         if _IO_padn does not write the whole buffer.
9050         [!COMPILE_WPRINTF] (PAD): Likewise.
9052 2013-10-10  David S. Miller  <davem@davemloft.net>
9054         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9055         directory block.
9057 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
9059         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
9060         instead of FSF address.
9061         * soft-fp/fixdfti.c: Likewise.
9062         * soft-fp/fixsfti.c: Likewise.
9063         * soft-fp/fixtfti.c: Likewise.
9064         * soft-fp/fixunsdfti.c: Likewise.
9065         * soft-fp/fixunssfti.c: Likewise.
9066         * soft-fp/fixunstfti.c: Likewise.
9067         * soft-fp/floattidf.c: Likewise.
9068         * soft-fp/floattisf.c: Likewise.
9069         * soft-fp/floattitf.c: Likewise.
9070         * soft-fp/floatuntidf.c: Likewise.
9071         * soft-fp/floatuntisf.c: Likewise.
9072         * soft-fp/floatuntitf.c: Likewise.
9073         * soft-fp/trunctfxf2.c: Likewise.
9075         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
9076         * soft-fp/fixdfti.c: Likewise.
9077         * soft-fp/fixsfti.c: Likewise.
9078         * soft-fp/fixtfti.c: Likewise.
9079         * soft-fp/fixunsdfti.c: Likewise.
9080         * soft-fp/fixunssfti.c: Likewise.
9081         * soft-fp/fixunstfti.c: Likewise.
9082         * soft-fp/floattidf.c: Likewise.
9083         * soft-fp/floattisf.c: Likewise.
9084         * soft-fp/floattitf.c: Likewise.
9085         * soft-fp/floatuntidf.c: Likewise.
9086         * soft-fp/floatuntisf.c: Likewise.
9087         * soft-fp/floatuntitf.c: Likewise.
9088         * soft-fp/trunctfxf2.c: Likewise.
9090 2013-10-10  David S. Miller  <davem@davemloft.net>
9092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9094 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
9096         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9097         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9098         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9099         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9100         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9101         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9102         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9104         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9105         for NaNs before doing comparisons on argument.
9106         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9107         Likewise.
9109 2013-10-10  Will Newton  <will.newton@linaro.org>
9111         * malloc/hooks.c (memalign_check): Ensure the value of bytes
9112         passed to _int_memalign does not overflow.
9114 2013-10-10  Torvald Riegel  <triegel@redhat.com>
9116         * scripts/bench.pl: Add include-sources directive.
9117         * benchtests/README: Update documentation.
9119 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
9121         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9122         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9123         instead of FP_INIT_ROUNDMODE.
9124         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9125         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9127         [BZ #16034]
9128         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
9129         copy class of input value.
9130         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
9131         not handle exceptions.
9132         * soft-fp/negsf2.c (__negsf2): Likewise.
9133         * soft-fp/negtf2.c (__negtf2): Likewise.
9134         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9136 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
9138         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9139         semicolon.  From Linux kernel.
9141 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
9143         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9145 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
9147         [BZ #156]
9148         * manual/socket.texi: Added statement about buffer
9149         for gethostbyname2_r.
9151 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
9153         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9154         Use .p2align directive instead, throughout.
9155         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9156         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9157         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9158         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9159         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9160         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9161         * sysdeps/x86_64/strchr.S: Likewise.
9162         * sysdeps/x86_64/strrchr.S: Likewise.
9164 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
9166         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9168         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9170         * sysdeps/generic/math_private.h (__mpsin1): Remove
9171         declaration.
9172         (__mpcos1): Likewise.
9173         (__mpsin): New argument __range_reduce.
9174         (__mpcos): Likewise.
9175         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9176         (slow): Use __mpsin and __mpcos.
9177         (slow1): Likewise.
9178         (slow2): Likewise.
9179         (sloww): Likewise.
9180         (sloww1): Likewise.
9181         (sloww2): Likewise.
9182         (bsloww): Likewise.
9183         (bsloww1): Likewise.
9184         (bsloww2): Likewise.
9185         (cslow2): Likewise.
9186         (csloww): Likewise.
9187         (csloww1): Likewise.
9188         (csloww2): Likewise.
9189         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9190         range_reduce.  Merge in __mpsin1.
9191         (__mpcos): Likewise.
9192         (__mpsin1): Remove.
9193         (__mpcos1): Likewise.
9195 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
9197         * locale/loadlocale.c (_nl_intern_locale_data): Use
9198         LOCFILE_ALIGNED_P.
9199         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9200         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9201         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9202         obstack data is appropriately aligned.
9203         (obstack_int32_grow_fast): Likewise.
9204         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9205         * locale/programs/locfile.c (add_locale_uint32): Likewise.
9206         (add_locale_uint32_array): Likewise.
9208 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
9210         * benchtests/Makefile: Remove ARGLIST and RET variables.
9211         ($(objpfx)bench-%.c): Pass only function name to the script.
9212         * benchtests/README: Update documentation.
9213         * benchtests/acos-inputs: Add new directives.
9214         * benchtests/acosh-inputs: Likewise.
9215         * benchtests/asin-inputs: Likewise.
9216         * benchtests/asinh-inputs: Likewise.
9217         * benchtests/atan-inputs: Likewise.
9218         * benchtests/atanh-inputs: Likewise.
9219         * benchtests/cos-inputs: Likewise.
9220         * benchtests/cosh-inputs: Likewise.
9221         * benchtests/exp-inputs: Likewise.
9222         * benchtests/log-inputs: Likewise.
9223         * benchtests/pow-inputs: Likewise.
9224         * benchtests/rint-inputs: Likewise.
9225         * benchtests/sin-inputs: Likewise.
9226         * benchtests/sinh-inputs: Likewise.
9227         * benchtests/tan-inputs: Likewise.
9228         * benchtests/tanh-inputs: Likewise.
9229         * scripts/bench.pl: Add support for new directives.
9231 2013-10-07  Alan Modra  <amodra@gmail.com>
9233         * README: Fix careless merge.
9235 2013-10-05  Alan Modra  <amodra@gmail.com>
9237         * NEWS: Mention powerpc64le support and bugs fixed.
9238         * README: Both big-endian and little-endian powerpc64 supported.
9240 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9242         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9243         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9244         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9245         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9247 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
9249         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9250         match prototype.
9252 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
9254         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9255         Move -mhard-float appending from
9256         ports/sysdeps/powerpc/powerpc32/Makefile.
9257         [$(with-fp) = yes] (ASFLAGS): Likewise.
9258         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9259         * sysdeps/powerpc/nofpu: Move directory from
9260         ports/sysdeps/powerpc/nofpu.
9261         * sysdeps/powerpc/soft-fp: Move directory from
9262         ports/sysdeps/powerpc/soft-fp.
9263         * sysdeps/powerpc/powerpc32/405: Move directory from
9264         ports/sysdeps/powerpc/powerpc32/405.
9265         * sysdeps/powerpc/powerpc32/440: Move directory from
9266         ports/sysdeps/powerpc/powerpc32/440.
9267         * sysdeps/powerpc/powerpc32/464: Move directory from
9268         ports/sysdeps/powerpc/powerpc32/464.
9269         * sysdeps/powerpc/powerpc32/476: Move directory from
9270         ports/sysdeps/powerpc/powerpc32/476.
9271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9272         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9274         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9276         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9278         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9280         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9281         * README: Update for powerpc-*-linux-gnu software floating point
9282         support in libc.
9284         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9285         case to powerpc/powerpc32*.
9286         * sysdeps/unix/sysv/linux/configure: Regenerated.
9288         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9289         (_FPU_MASK_OM): Define as 0x04.
9290         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9291         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9292         0x00c10080.
9293         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9294         0x0000003c.
9295         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9298         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9299         getcontext_e500.
9300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9301         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9302         setcontext_e500.
9303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9304         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9305         and setcontext_e500.
9307 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
9309         * locale/iso-3166.def: Update iso-1366.def and related occurrences
9311 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9313         * manual/threads.texi (Default Thread Attributes): Fix typo.
9315 2013-10-04  Will Newton  <will.newton@linaro.org>
9317         * malloc/Makefile: Add tst-memalign.
9318         * malloc/tst-memalign.c: New file.
9320         * malloc/tst-posix_memalign.c: Add comments.
9321         (do_test): Add comments and call free on all potentially
9322         allocated pointers. Add space after cast.
9324         * malloc/tst-pvalloc.c: Add comments.
9325         (do_test): Add comments and call free on all potentially
9326         allocated pointers. Remove duplicate check for NULL pointer.
9327         Add space after cast.
9329         * malloc/tst-valloc.c: Add comments.
9330         (do_test): Add comments and call free on all potentially
9331         allocated pointers. Remove duplicate check for NULL pointer.
9332         Add space after cast.
9334 2013-10-04  Alan Modra  <amodra@gmail.com>
9336         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9337         Use stdint types in rather than __attribute__((mode())).
9338         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9340 2013-10-04  Alan Modra  <amodra@gmail.com>
9342         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9343         Correct handling of unaligned relocs for little-endian.
9344         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9346 2013-10-04  Alan Modra  <amodra@gmail.com>
9348         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9349         * configure: Regenerate.
9350         * nptl/shlib-versions: Powerpc*le starts at 2.18.
9351         * shlib-versions: Likewise.
9353 2013-10-04  Alan Modra  <amodra@gmail.com>
9355         * string/tester.c (test_memrchr): Increment reported test cycle.
9357 2013-10-04  Alan Modra  <amodra@gmail.com>
9359         * string/test-memcpy.c (do_one_test): When reporting errors, print
9360         string address and don't overrun end of string.
9362 2013-10-04  Alan Modra  <amodra@gmail.com>
9364         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9365         insrdi.  Make better use of reg selection to speed exit slightly.
9366         Schedule entry path a little better.  Remove useless "are we done"
9367         checks on entry to main loop.  Handle wrapping around zero address.
9368         Correct main loop count.  Handle single left-over word from main
9369         loop inline rather than by using loop_small.  Remove extra word
9370         case in loop_small caused by wrong loop count.  Add little-endian
9371         support.
9372         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9373         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
9374         cache hint.
9375         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9376         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9377         support.  Avoid rlwimi.
9378         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9380 2013-10-04  Alan Modra  <amodra@gmail.com>
9382         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9383         insrdi.  Formatting.
9384         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9385         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9386         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9387         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9388         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9389         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9391 2013-10-04  Alan Modra  <amodra@gmail.com>
9393         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9394         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9395         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9396         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9397         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9398         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9399         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9400         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9401         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
9402         use of regs.  Use power7 mtocrf.  Tidy function tails.
9404 2013-10-04  Alan Modra  <amodra@gmail.com>
9406         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9407         Formatting.  Consistently use rXXX register defines or rN defines.
9408         Use early exit labels that avoid restoring unused non-volatile regs.
9409         Make cr field use more consistent with rWORDn compares.  Rename
9410         regs used as shift registers for unaligned loop, using rN defines
9411         for short lifetime/multiple use regs.
9412         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9413         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
9414         addi 1,1,64 to pop stack frame.  Simplify return value code.
9415         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9417 2013-10-04  Alan Modra  <amodra@gmail.com>
9419         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9420         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
9421         rather than rlwimi.
9422         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9423         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9424         little-endian support.  Correct typos.
9425         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
9426         rather than rlwimi.
9427         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
9428         in loop and entry code to keep "and." results.
9429         (strchr): Add little-endian support.  Comment.  Move cntlzd
9430         earlier in tail.
9431         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9433 2013-10-04  Alan Modra  <amodra@gmail.com>
9435         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9436         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9437         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9438         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9440 2013-10-04  Alan Modra  <amodra@gmail.com>
9442         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9443         (rTMP): Define as r11.
9444         (strcmp): Add little-endian support.  Optimise tail.
9445         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9446         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9447         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9448         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9449         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9450         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9451         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9453 2013-10-04  Alan Modra  <amodra@gmail.com>
9455         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9456         little-endian support.  Remove unnecessary "are we done" tests.
9457         Handle "s" wrapping around zero and extremely large "size".
9458         Correct main loop count.  Handle single left-over word from main
9459         loop inline rather than by using small_loop.  Correct comments.
9460         Delete "zero" tail, use "end_max" instead.
9461         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9463 2013-10-04  Alan Modra  <amodra@gmail.com>
9465         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9466         support.  Don't branch over align.
9467         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9468         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9469         support.  Rearrange tmp reg use to suit.  Comment.
9470         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9472 2013-10-04  Alan Modra  <amodra@gmail.com>
9474         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9476 2013-10-04  Alan Modra  <amodra@gmail.com>
9478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9479         conditional form of branch and link when obtaining pc.
9480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9482 2013-10-04  Alan Modra  <amodra@gmail.com>
9484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9485         HIWORD/LOWORD.
9486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9489 2013-10-04  Alan Modra  <amodra@gmail.com>
9491         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9492         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9493         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9494         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9495         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9496         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9497         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9498         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9499         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9500         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9502 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9503             Alistair Popple <alistair@ozlabs.au.ibm.com>
9504             Alan Modra <amodra@gmail.com>
9506         [BZ #15723]
9507         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9508         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9509         _dl_hwcap access for little-endian.
9510         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
9511         destroy vmx regs when saving unaligned.
9512         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9513         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
9514         destroy vmx regs when saving unaligned.
9516 2013-10-04  Alan Modra  <amodra@gmail.com>
9518         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9519         Don't use a union to pack hi/low value.
9521 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9523         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9524         for little-endian.
9525         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9526         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9527         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9528         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9529         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9531 2013-10-04  Alan Modra  <amodra@gmail.com>
9533         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9534         constants to usual value for .cst8 section, and remove redundant
9535         high address load.
9536         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9537         constant for 0x1p52.  Load little-endian words of double from
9538         correct stack offsets.
9540 2013-10-04  Alan Modra  <amodra@gmail.com>
9542         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9543         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9544         words of double from correct stack offsets.
9545         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9546         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9547         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9548         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9549         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9550         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9551         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9552         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9553         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9554         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9555         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9556         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9557         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9558         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9559         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9560         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9561         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9563 2013-10-04  Alan Modra  <amodra@gmail.com>
9565         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9566         64-bit int/double union.
9567         (_FPU_SETCW): Likewise.
9568         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9569         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9571 2013-10-04  Alan Modra  <amodra@gmail.com>
9573         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9574         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9576 2013-10-04  Alan Modra  <amodra@gmail.com>
9578         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9579         use vector int constants.
9580         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9582 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9584         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9585         array with long long.
9586         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9587         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9588         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9589         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9590         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9591         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9592         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9593         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9594         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9595         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9596         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9597         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9598         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9600 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9602         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9603         (__signbit): Likewise.  Correct for little-endian.
9604         (__signbitl): Call __signbit.
9605         (lrint): Correct for little-endian.
9606         (lrintf): Call lrint.
9608 2013-10-04  Alan Modra  <amodra@gmail.com>
9610         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9611         union 32-bit int array member with 64-bit int array.
9612         (t515, tm256): Double rather than long double.
9613         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9615 2013-10-04  Alan Modra  <amodra@gmail.com>
9617         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9618         Delete.
9619         (IEEE854_LONG_DOUBLE_BIAS): Delete.
9620         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9621         version of math_ldbl.h.
9623 2013-10-04  Alan Modra  <amodra@gmail.com>
9625         [BZ #15734], [BZ #15735]
9626         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9627         all uses of ieee875 long double macros and unions.  Simplify test
9628         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
9629         ldbl_extract_mantissa value for ix,iy exponents.  Properly
9630         normalize after ldbl_extract_mantissa, and don't add hidden bit
9631         already handled.  Don't treat low word of ieee854 mantissa like
9632         low word of IBM long double and mask off bit when testing for
9633         zero.
9634         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9635         all uses of ieee875 long double macros and unions.  Simplify tests
9636         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
9637         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
9638         two1022, instead use their values.  Recognise that tests for large
9639         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
9640         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9641         Rewrite all uses of ieee875 long double macros and unions.  Simplify
9642         test for 0.0L and nan.  Correct negation.
9643         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9644         ieee875 long double macros and unions.  Correct output for large
9645         magnitude x.  Correct absolute value calculation.
9646         (__erfcl): Likewise.
9647         * math/libm-test.inc: Add tests for errors discovered in IBM long
9648         double versions of fmodl, remainderl, erfl and erfcl.
9650 2013-10-04  Alan Modra  <amodra@gmail.com>
9652         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9653         all uses of ieee854 long double macros and unions.  Simplify tests
9654         for long doubles that are fully specified by the high double.
9655         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9656         Likewise.
9657         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9658         Remove dead code too.
9659         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9660         (__ieee754_ynl): Likewise.
9661         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9662         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9663         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9664         Remove dead code too.
9665         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9666         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9667         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9668         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9669         Simplify.
9670         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9671         Simplify.
9672         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9673         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9674         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9675         Comment on variable precision.
9676         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9677         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9678         Likewise.
9679         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9680         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9681         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9682         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9683         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9685 2013-10-04  Alan Modra  <amodra@gmail.com>
9687         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9688         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9689         all uses of ieee854 long double macros and unions.
9690         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9691         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9692         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9693         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9694         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9695         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9696         Likewise.
9697         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9698         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9699         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9700         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9701         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9702         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9703         Simplify sign and nan test too.
9704         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9705         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9706         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9707         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9708         Likewise.
9709         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9710         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9711         Likewise.
9712         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9713         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9714         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9715         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9716         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9717         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9719 2013-10-04  Alan Modra  <amodra@gmail.com>
9721         * stdio-common/printf_size.c (__printf_size): Don't use
9722         union ieee854_long_double in fpnum union.
9723         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
9724         signbit macro to retrieve sign from long double.
9725         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9726         retrieve sign from long double.
9727         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9728         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9729         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9730         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9731         * math/test-misc.c (main): Don't use union ieee854_long_double.
9733 2013-10-04  Alan Modra  <amodra@gmail.com>
9735         [BZ #15680]
9736         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9737         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9738         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9739         calculation.  Remove unnecessary test for denormal exponent.
9740         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9741         Correct handling of denormals.  Avoid undefined shift behaviour.
9742         Correct normalisation of low mantissa when low double is denormal.
9743         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9744         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
9745         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9746         Correct normalisation of low mantissa.  Test for overflow of high
9747         mantissa and normalise.
9748         (ldbl_nearbyint): Use more readable constant for two52.
9749         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9750         (__mpn_construct_long_double): Fix test for overflow of high
9751         mantissa and correct normalisation.  Avoid undefined shift.
9753 2013-10-04  Alan Modra  <amodra@gmail.com>
9755         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9756         (union ibm_extended_long_double): Define as an array of ieee754_double.
9757         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9758         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9759         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9760         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9761         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9762         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9763         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9764         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9765         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9766         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9767         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9769 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
9771         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9772         page size instead of calling getpagesize.
9774         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9775         (LOCFILE_ALIGN_MASK): Likewise.
9776         (LOCFILE_ALIGN_UP): Likewise.
9777         (LOCFILE_ALIGNED_P): Likewise.
9778         * locale/programs/ld-collate.c (collate_output): Use the new
9779         macros instead of __alignof__ (int32_t).
9780         * locale/weight.h (findidx): Likewise.
9782 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
9784         [BZ #431]
9785         * manual/string.texi: Fix strncat and wcsncat.
9787 2013-10-03  Brooks Moses  <bmoses@google.com>
9789         [BZ #15915]
9790         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9791         * Makerules: ...here, and adjust associated comments.
9793 2013-10-02  Will Newton  <will.newton@linaro.org>
9795         * malloc/Makefile: Add tst-pvalloc.
9796         * malloc/tst-pvalloc.c: New file.
9798 2013-10-02  Will Newton  <will.newton@linaro.org>
9800         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9801         improve test coverage.
9803 2013-10-02  Will Newton  <will.newton@linaro.org>
9805         * malloc/Makefile: Add tst-posix_memalign.
9806         * malloc/tst-posix_memalign.c: New file.
9808 2013-10-01  Eric Blake  <eblake@redhat.com>
9810         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9811         Use __THROWNL rather than __THROW on static functions.
9813 2013-09-30  Petr Machata  <pmachata@redhat.com>
9815         * elf/elf.h (R_AARCH64_ABS16): New macro.
9816         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9817         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9818         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9819         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9820         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9821         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9822         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9823         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9824         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9825         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9826         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9827         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9828         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9829         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9830         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9831         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9832         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9833         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9834         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9835         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9836         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9837         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9838         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9839         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9840         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9841         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9842         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9843         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9844         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9845         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9846         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9847         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9848         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9849         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9850         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9851         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9852         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9853         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9854         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9855         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9856         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9857         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9858         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9859         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9860         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9861         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9862         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9863         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9864         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9865         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9866         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9867         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9868         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9869         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9870         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9871         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9872         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9873         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9874         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9875         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9876         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9877         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9878         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9879         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9880         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9881         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9882         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9883         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9884         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9885         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9886         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9887         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9888         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9889         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9890         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9891         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9892         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9893         (R_AARCH64_TLSDESC_LDR): Likewise.
9894         (R_AARCH64_TLSDESC_ADD): Likewise.
9895         (R_AARCH64_TLSDESC_CALL): Likewise.
9897 2013-09-30  Andreas Schwab  <schwab@suse.de>
9899         [BZ #15048]
9900         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9901         the nss database lookup.
9902         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9903         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9905 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
9907         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9909 2013-09-28  P. J. McDermott  <pj@pehjota.net>
9911         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9912         ${Bash-specific parameter/pattern/string} parameter expansion.
9913         * sysdeps/unix/make-syscalls.sh: Likewise.
9915 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9917         * sysdeps/sh/stackguard-macros.h: New file.
9919 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
9921         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9922         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9923         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9924         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9925         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9926         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9928 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9930         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9931         Fix thread ID register.
9933 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
9935         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9936         [POSIX || UNIX98]: Require rather than permitting all symbols from
9937         <time.h>.
9938         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9939         element of struct sched_param.
9940         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9941         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9942         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9943         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9944         constant.
9946 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
9948         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9949         argument calculation.
9951 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
9953         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9954         Expect macro.
9955         [POSIX] (pthread_attr_t): Do not require type.
9956         [POSIX] (pthread_cond_t): Likewise.
9957         [POSIX] (pthread_condattr_t): Likewise.
9958         [POSIX] (pthread_key_t): Likewise.
9959         [POSIX] (pthread_mutex_t): Likewise.
9960         [POSIX] (pthread_mutexattr_t): Likewise.
9961         [POSIX] (pthread_once_t): Likewise.
9962         [POSIX] (pthread_t): Likewise.
9963         [POSIX-based standards] (pthread_atfork): Expect function.
9965 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
9966             Richard Sandiford  <richard@codesourcery.com>
9968         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9969         (swap_endianness_p): New extern variable.
9970         (set_big_endian): New inline function.
9971         (maybe_swap_uint32): Likewise.
9972         (maybe_swap_uint32_array): Likewise.
9973         (maybe_swap_uint32_obstack): Likewise.
9974         * locale/programs/locfile.c: Include <stdbool.h>.
9975         (swap_endianness_p): New variable.
9976         (add_locale_uint32): Call maybe_swap_uint32.
9977         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9978         (write_locale_data): Call maybe_swap_uint32_array.
9979         * locale/programs/ld-collate.c (obstack_int32_grow): Call
9980         maybe_swap_uint32.
9981         (obstack_int32_grow_fast): Likewise.
9982         (output_weightwc): Call maybe_swap_uint32_obstack.
9983         (collate_output): Likewise.
9984         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9985         (OPT_LITTLE_ENDIAN): Likewise.
9986         (options): Add --little-endian and --big-endian options.
9987         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9988         * locale/programs/locarchive.c: Include "locfile.h".
9989         (GET): New macro.
9990         (SET): Likewise.
9991         (INC): Likewise.
9992         (create_archive): Use the new macros to access fields of
9993         structures directly mapped from or written to locale archives.
9994         (oldlocrecentcmp): Likewise.
9995         (enlarge_archive): Likewise.
9996         (insert_name): Likewise.
9997         (add_alias): Likewise.
9998         (add_locale): Likewise.
9999         (delete_locales_from_archive): Likewise.
10000         (show_archive_content): Likewise.
10001         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
10002         locale data.
10004 2013-09-24  Roland McGrath  <roland@hack.frob.com>
10006         * manual/freemanuals.texi: Updated from (newly) canonical copy at
10007         http://www.gnu.org/doc/freemanuals.texi.
10008         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10010 2013-09-24  Will Newton  <will.newton@linaro.org>
10012         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10013         macro.
10015 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
10017         * locale/hashval.h (compute_hashval): Interpret bytes of key as
10018         unsigned char.
10020 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
10022         * manual/threads.texi (POSIX Threads): Fix a typo.
10024 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10026         [BZ #14547]
10027         * string/tst-strcoll-overflow.c: New test case.
10028         * string/Makefile (xtests): Add tst-strcoll-overflow.
10029         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10030         cache if string sizes may cause integer overflow.
10032         [BZ #14547]
10033         * string/strcoll_l.c (coll_seq): New members rule, idx,
10034         save_idx and back_us.
10035         (get_next_seq_nocache): New function.
10036         (do_compare_nocache): New function.
10037         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10038         when malloc fails.
10040 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
10042         [BZ #15754]
10043         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10044         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10045         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10047         [BZ #15754]
10048         * elf/Makefile (tests): Add tst-ptrguard1.
10049         (tests-static): Add tst-ptrguard1-static.
10050         (tst-ptrguard1-ARGS): Define.
10051         (tst-ptrguard1-static-ARGS): Define.
10052         * elf/tst-ptrguard1.c: New file.
10053         * elf/tst-ptrguard1-static.c: New file.
10054         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10055         * sysdeps/i386/stackguard-macros.h: Likewise.
10056         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10057         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10058         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10059         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10060         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10061         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10063 2013-09-23  Hector Marco  <hecmargi@upv.es>
10064             Ismael Ripoll  <iripoll@disca.upv.es>
10065             Carlos O'Donell  <carlos@redhat.com>
10067         [BZ #15754]
10068         * sysdeps/generic/stackguard-macros.h: Define
10069         __pointer_chk_guard_local and POINTER_CHK_GUARD.
10070         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10071         Define __pointer_chk_guard_local.
10072         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10073         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10075 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
10077         [BZ #15859]
10078         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10080 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
10082         * include/string.h (__ffs): Declare as hidden.
10083         * string/ffs.c (__ffs): Define as hidden.
10084         * sysdeps/i386/ffs.c (__ffs): Likewise.
10085         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10086         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10087         * sysdeps/s390/ffs.c (__ffs): Likewise.
10088         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10090 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
10092         * NEWS: Mention malloc probes.
10094         * malloc/arena.c (new_heap): New memory_heap_new probe.
10095         (grow_heap): New memory_heap_more probe.
10096         (shrink_heap): New memory_heap_less probe.
10097         (heap_trim): New memory_heap_free probe.
10098         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10099         (systrim): New memory_sbrk_less probe.
10100         * manual/probes.texi: Document them.
10102         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10103         * manual/probes.texi: Document it.
10105         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10106         (__libc_realloc): Add memory_realloc_retry probe.
10107         (__libc_memalign): Add memory_memalign_retry probe.
10108         (__libc_valloc): Add memory_valloc_retry probe.
10109         (__libc_pvalloc): Add memory_pvalloc_retry probe.
10110         (__libc_calloc): Add memory_calloc_retry probe.
10111         * manual/probes.texi: Document them.
10113         * malloc/arena.c (get_free_list): Add probe
10114         memory_arena_reuse_free_list.
10115         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10116         and memory_arena_reuse.
10117         (arena_get2) [!PER_THREAD]: Likewise.
10118         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10119         memory_arena_reuse_realloc.
10120         * manual/probes.texi: Document them.
10122         * malloc/malloc.c (__libc_free): Add
10123         memory_mallopt_free_dyn_thresholds probe.
10124         (__libc_mallopt): Add multiple memory_mallopt probes.
10125         * manual/probes.texi: Document them.
10127         * malloc/malloc.c: Include stap-probe.h.
10128         (__libc_mallopt): Add memory_mallopt probe.
10129         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10130         * manual/probes.texi: New.
10131         * manual/Makefile (chapters): Add probes.
10132         * manual/threads.texi: Set next node.
10134 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
10136         [BZ #15963, #13985]
10137         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10138         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10139         Add `Chinese' to `nan' entry name.
10141 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10143         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10144         (POLYNOMIAL): Likewise.
10145         (TAYLOR_SINCOS): Likewise.
10146         (TAYLOR_SLOW): Likewise.
10147         (__sin): Use TAYLOR_SINCOS.
10148         (__cos): Likewise.
10149         (slow): Use TAYLOR_SLOW.
10150         (sloww): Likewise.
10151         (bsloww): Likewise.
10152         (csloww): Likewise.
10154 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10156         * stdlib/strtod_l.c: Fix buffer overrun.
10158 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10160         * benchtests/Makefile (bench): Add sincos.
10161         * benchtests/bench-sincos.c: New file.
10163         * math/libm-test.inc (cos_test_data): New test inputs.
10164         (sin_test_data): Likewise.
10166         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10167         macro.
10168         (__sin): Use it.
10169         (__cos): Likewise.
10170         (slow1): Likewise.
10171         (slow2): Likewise.
10172         (sloww1): Likewise.
10173         (sloww2): Likewise.
10174         (bsloww1): Likewise.
10175         (bsloww2): Likewise.
10176         (cslow2): Likewise.
10177         (csloww1): Likewise.
10178         (csloww2): Likewise.
10180         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10181         function.
10182         (__sin): Use it.
10183         (__cos): Likewise.
10185         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10186         gotos.
10187         (__cos): Likewise.
10189 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
10191         * config.h.in (HAVE_MIPS_NAN2008): New macro.
10192         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10193         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10194         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10195         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10196         * elf/cache.c (print_entry): Handle the new cache flags.
10198 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
10199             Aldy Hernandez  <aldyh@redhat.com>
10201         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10202         Change condition to [_SOFT_FLOAT].
10203         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10204         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10205         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10206         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10207         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10208         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10209         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10210         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10211         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10212         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10213         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10214         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10215         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10216         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10217         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10218         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10219         declaration.
10221 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
10223         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10224         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10225         (__longjmp): Use LOAD_GP to load saved GPRs.
10226         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10227         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10228         (__sigsetjmp): Use SAVE_GP to save GPRs.
10230         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10231         Do not append -msoft-float.
10232         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10234 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10236         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10238 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
10240         [BZ #15966]
10241         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10242         (_FPU_GETCW): Use initial "__" on variable and field names but not
10243         on macro parameter name.
10244         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
10245         parentheses around reference to macro parameter.
10247 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
10249         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10250         prototype.
10251         (ctype_startup): Use uint32_t in cast and sizeof for
10252         ctype->charnames.
10254 2013-09-11  Jia Liu  <proljc@gmail.com>
10256         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10257         __daddr_t_defined.
10258         [__FreeBSD__]: Likewise.
10260 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
10262         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10263         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10264         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10265         (strchr): Remove __strchr_sse42 ifunc selection.
10266         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10267         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10269 2013-09-11  Will Newton  <will.newton@linaro.org>
10271         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10272         parameter to RES. Remove hardcoded 1000 value.
10273         * benchtests/bench-skeleton.c (main): Pass RES parameter
10274         to TIMING_INIT and multiply result by 1000.
10276 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10280 2013-09-11  Andreas Schwab  <schwab@suse.de>
10282         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10283         if not defined.
10284         (O_TMPFILE) [__USE_GNU]: Define.
10285         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10286         Define.
10288 2013-09-11  Will Newton  <will.newton@linaro.org>
10290         [BZ #15857]
10291         * malloc/malloc.c (__libc_memalign): Check the value of bytes
10292         does not overflow.
10294 2013-09-11  Will Newton  <will.newton@linaro.org>
10296         [BZ #15856]
10297         * malloc/malloc.c (__libc_valloc): Check the value of bytes
10298         does not overflow.
10300 2013-09-11  Will Newton  <will.newton@linaro.org>
10302         [BZ #15855]
10303         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10304         does not overflow.
10306 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
10308         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10309         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10310         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10311         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10312         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10314 2013-09-10  Allan McRae  <allan@archlinux.org>
10316         [BZ #15748]
10317         * manual/arith.texi (Parsing of Floats): Clarify
10318         cross-reference.
10320         [BZ #15849]
10321         * manual/install.texi (Running make install): Mention
10322         --enable-pt-chown.
10323         * INSTALL: Regenerated.
10325 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
10327         * csu/init-first.c (_init): Remove the !SHARED condition around
10328         FPU control word initialization.
10329         * elf/dl-support.c (_dl_fpu_control): New variable.
10330         (_dl_aux_init) <AT_FPUCW>: Initialize it.
10331         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10332         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10333         * math/test-fpucw-static.c: New file.
10334         * math/test-fpucw-ieee.c: New file.
10335         * math/test-fpucw-ieee-static.c: New file.
10336         * math/Makefile (tests): Add `test-fpucw-ieee' and
10337         `$(tests-static)'.
10338         (tests-static): New variable.
10339         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10340         dependency to...
10341         [($(build-shared),yes)]
10342         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10343         ... this.
10344         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10345         New dependency.
10347 2013-09-09  Allan McRae  <allan@archlinux.org>
10349         [BZ #15939]
10350         * manual/string.texi (Collation Functions): Fix typo in
10351         strcoll example.
10352         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10354         [BZ #15893]
10355         * stdlib/isomac.c (get_null_defines): Fix memory leak.
10357         [BZ #15892]
10358         * libio/memstream.c (open_memstream): Fix memory leak.
10359         * libio/wmemstream.c (open_wmemstream): Likewise.
10361         [BZ #15895]
10362         * nscd/netgroupcache.c: Fix nesting of ifdefs.
10364 2013-09-09  Will Newton  <will.newton@linaro.org>
10366         * malloc/Makefile: Add tst-realloc to tests.
10367         * malloc/tst-realloc.c: New file.
10369 2013-09-09  Allan McRae  <allan@archlinux.org>
10371         [BZ #15844]
10372         * COPYING: Update from GNU website to fix FSF address.
10373         * COPYING.LIB: Likewise.
10375 2013-09-06  David S. Miller  <davem@davemloft.net>
10377         * po/zh_TW.po: Update Chinese (traditional) translation from
10378         translation project.
10380 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
10381             Joseph Myers  <joseph@codesourcery.com>
10383         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10384         "localeinfo.h".
10385         (obstack_chunk_alloc): New macro.
10386         (obstack_chunk_free): Likewise.
10387         (record_offset): New function.
10388         (init_locale_data): Likewise.
10389         (align_locale_data): Likewise.
10390         (add_locale_empty): Likewise.
10391         (add_locale_raw_data): Likewise.
10392         (add_locale_raw_obstack): Likewise.
10393         (add_locale_string): Likewise.
10394         (add_locale_wstring): Likewise.
10395         (add_locale_uint32): Likewise.
10396         (add_locale_uint32_array): Likewise.
10397         (add_locale_char): Likewise.
10398         (start_locale_structure): Likewise.
10399         (end_locale_structure): Likewise.
10400         (start_locale_prelude): Likewise.
10401         (end_locale_prelude): Likewise.
10402         (write_locale_data): Take locale_file structure rather than an
10403         iovec.
10404         * locale/programs/locfile.h: Include "obstack.h".
10405         (struct locale_file): Change to store locale file contents instead
10406         of header.
10407         (init_locale_data): New prototype.
10408         (align_locale_data): Likewise.
10409         (add_locale_empty): Likewise.
10410         (add_locale_raw_data): Likewise.
10411         (add_locale_raw_obstack): Likewise.
10412         (add_locale_string): Likewise.
10413         (add_locale_wstring): Likewise.
10414         (add_locale_uint32): Likewise.
10415         (add_locale_uint32_array): Likewise.
10416         (add_locale_char): Likewise.
10417         (start_locale_structure): Likewise.
10418         (end_locale_structure): Likewise.
10419         (start_locale_prelude): Likewise.
10420         (end_locale_prelude): Likewise.
10421         (write_locale_data): Update prototype.
10422         * locale/programs/3level.h (struct TABLE): Remove result field.
10423         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10424         Use new locale_file interface.
10425         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10426         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10427         * locale/programs/ld-address.c (address_output): Use new
10428         locale_file interface.
10429         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10430         NO_ADD_LOCALE.
10431         (collate_finish): Don't call collseq_table_finalize.
10432         (collate_output): Use new locale_file interface.
10433         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10434         in file.
10435         (NO_FINALIZE): Change to NO_ADD_LOCALE.
10436         (TABLE): Move defines earlier in file.
10437         (ELEMENT): Likewise.
10438         (DEFAULT): Likewise.
10439         (wctrans_table_add): Move macro and inline function earlier in
10440         file.
10441         (struct wctype_table): Move type earlier in file.
10442         (add_locale_wctype_table): New static prototype.
10443         (struct locale_ctype_t): Use logical types instead of struct iovec
10444         pointers for members.
10445         (ctype_output): Use new locale_file interface.
10446         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
10447         new locale_file interface.
10448         (allocate_arrays): Update for use of new locale_file interface.
10449         * locale/programs/ld-identification.c (identification_output): Use
10450         new locale_file interface.
10451         * locale/programs/ld-measurement.c (measurement_output): Likewise.
10452         * locale/programs/ld-messages.c (messages_output): Likewise.
10453         * locale/programs/ld-monetary.c (monetary_output): Likewise.
10454         * locale/programs/ld-name.c (name_output): Likewise.
10455         * locale/programs/ld-numeric.c (numeric_output): Likewise.
10456         * locale/programs/ld-paper.c (paper_output): Likewise.
10457         * locale/programs/ld-telephone.c (telephone_output): Likewise.
10458         * locale/programs/ld-time.c (time_output): Likewise.
10460 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10462         * benchtests/Makefile: Add memrchr benchmark.
10463         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10464         benchmark as memrchr.
10465         * benchtests/bench-memrchr-ifunc.c: New file.
10466         * benchtests/bench-memrchr.c: New file.
10468 2013-09-06   Will Newton  <will.newton@linaro.org>
10470         * benchtests/Makefile (string-bench): Add memcpy.
10472 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
10473             Cong Wang  <amwang@redhat.com>
10475         [BZ #15850]
10476         * sysdeps/unix/sysv/linux/bits/in.h
10477         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10478         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10479         before __USE_KERNEL_IPV6_DEFS uses.
10480         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10481         IPPROTO_BEETPH.
10482         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10483         sockaddr_in6, or ipv6_mreq.
10485 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10487         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10488         memory access for final bytes in some large inputs.
10489         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10491 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10493         * string/test-memrchr.c: New file.
10494         * string/test-memrchr-ifunc.c: New file.
10495         * string/Makefile: Add new memrchr testcase.
10497 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
10499         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10500         fanotify_init returns EPERM.
10502 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
10504         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10505         errors.
10506         (top level): Treat second token from macro or constant entries for
10507         allowed headers as allowed.
10508         * include/complex.h: Condition internal declarations on
10509         [!_ISOMAC].
10510         * include/fenv.h: Condition include of <stdbool.h> and internal
10511         declarations on [!_ISOMAC].
10513 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
10515         [BZ #15923]
10516         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10518 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
10520         * configure.in (--enable-versioning): Remove configure option.
10521         (libc_cv_asm_symver_directive): Remove configure test.
10522         (libc_cv_ld_version_script_option): Likewise.
10523         (VERSIONING): Remove variable and AC_SUBST.
10524         (DO_VERSIONING): Remove AC_DEFINE.
10525         * configure: Regenerated.
10526         * config.h.in (DO_VERSIONING): Remove macro.
10527         * Makerules [$(versioning) = yes]: Change conditionals to
10528         [$(build-shared) = yes].
10529         * config.make.in (versioning): Remove variable.
10530         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10531         [$(build-shared) = yes].
10532         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10533         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10534         * elf/Makefile [$(versioning) = yes]: Change conditionals to
10535         [$(build-shared) = yes].
10536         * extra-lib.mk [$(versioning) = yes]: Likewise.
10537         * hurd/Makefile [$(versioning) = yes]: Likewise.
10538         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10539         [SHARED].
10540         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10541         [SHARED].
10542         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10543         [SHARED && !NO_HIDDEN].
10544         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10545         [SHARED].
10546         [SHARED && DO_VERSIONING]: Likewise..
10547         * libio/Makefile [$(versioning) = yes]: Change conditionals to
10548         [$(build-shared) = yes].
10549         * manual/install.texi (--disable-versioning): Remove
10550         documentation.
10551         * INSTALL: Regenerated.
10552         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10553         to [SHARED].
10554         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10555         [$(build-shared) = yes].
10556         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10557         * sysdeps/i386/i686/multiarch/strstr-c.c
10558         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10559         [SHARED && !NO_HIDDEN].
10560         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10561         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10562         * sysdeps/powerpc/powerpc32/dl-machine.c
10563         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10564         * sysdeps/powerpc/powerpc32/sysdep.h
10565         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10566         to [SHARED && PIC && !NO_HIDDEN].
10567         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10568         conditional to [SHARED].
10570 2013-09-04   Will Newton  <will.newton@linaro.org>
10572         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10573         * benchtests/bench-string.h: Include bench-timing.h instead
10574         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10575         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10576         call to HP_TIMING_DIFF_INIT.
10577         * benchtests/bench-memccpy.c: Use bench-timing.h macros
10578         instead of hp-timing.h macros.
10579         * benchtests/bench-memchr.c: Likewise.
10580         * benchtests/bench-memcmp.c: Likewise.
10581         * benchtests/bench-memcpy.c: Likewise.
10582         * benchtests/bench-memmem.c: Likewise.
10583         * benchtests/bench-memmove.c: Likewise.
10584         * benchtests/bench-memset.c: Likewise.
10585         * benchtests/bench-rawmemchr.c: Likewise.
10586         * benchtests/bench-strcasecmp.c: Likewise.
10587         * benchtests/bench-strcasestr.c: Likewise.
10588         * benchtests/bench-strcat.c: Likewise.
10589         * benchtests/bench-strchr.c: Likewise.
10590         * benchtests/bench-strcmp.c: Likewise.
10591         * benchtests/bench-strcpy.c: Likewise.
10592         * benchtests/bench-strcpy_chk.c: Likewise.
10593         * benchtests/bench-strlen.c: Likewise.
10594         * benchtests/bench-strncasecmp.c: Likewise.
10595         * benchtests/bench-strncat.c: Likewise.
10596         * benchtests/bench-strncmp.c: Likewise.
10597         * benchtests/bench-strncpy.c: Likewise.
10598         * benchtests/bench-strnlen.c: Likewise.
10599         * benchtests/bench-strpbrk.c: Likewise.
10600         * benchtests/bench-strrchr.c: Likewise.
10601         * benchtests/bench-strspn.c: Likewise.
10602         * benchtests/bench-strstr.c: Likewise.
10604 2013-09-04  Will Newton  <will.newton@linaro.org>
10606         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10608 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
10610         [BZ #15427]
10611         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10612         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10613         * math/libm-test.inc (lgamma_test_data): Add more tests.
10614         * sysdeps/i386/fpu/libm-test-ulps: Update.
10615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10617 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
10619         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10620         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10621         Add ifunc.
10622         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10623         Add strcmp-sse2-unaligned
10624         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10626 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
10628         * Versions.def (libc): Add GLIBC_2.19.
10630 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
10632         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10633         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10635 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
10637         [BZ #14155]
10638         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10639         intermediate calculations in recurrence.
10640         (__ieee754_ynf): Likewise.
10641         * math/libm-test.inc (jn_test_data): Do not allow spurious
10642         underflow exception.  Add more tests.
10643         (yn_test_data): Add more tests.
10644         * sysdeps/i386/fpu/libm-test-ulps: Update.
10645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10647 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
10649         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10651 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
10653         * csu/init-first.c: Fix then/than typos.
10654         * locale/programs/ld-collate.c: Likewise.
10655         * locale/programs/linereader.h: Likewise.
10656         * manual/charset.texi: Likewise.
10657         * manual/filesys.texi: Likewise.
10658         * manual/stdio.texi: Likewise.
10659         * manual/string.texi: Likewise.
10660         * stdlib/fmtmsg.c: Likewise.
10661         * sysdeps/i386/stpncpy.S: Likewise.
10662         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10663         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10664         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10665         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10667 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
10669         * elf/dl-open.c: Fix typos.
10670         * iconvdata/gbbig5.c: Likewise.
10671         * iconvdata/iso-2022-jp.c: Likewise.
10672         * iconv/gconv_int.h: Likewise.
10673         * iconv/loop.c: Likewise.
10674         * nis/rpcsvc/nis.h: Likewise.
10675         * resolv/ns_name.c: Likewise.
10676         * stdio-common/vfscanf.c: Likewise.
10677         * streams/stropts.h: Likewise.
10678         * sunrpc/rpc_thread.c: Likewise.
10679         * sysdeps/i386/strpbrk.S: Likewise.
10680         * sysdeps/ieee754/k_standard.c: Likewise.
10681         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10682         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10683         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10684         * sysdeps/mach/hurd/profil.c: Likewise.
10685         * sysdeps/s390/dl-procinfo.h: Likewise.
10686         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10687         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10688         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10689         * sysdeps/x86_64/dl-trampoline.S: Likewise.
10690         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10692 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
10694         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10695         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10697 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
10699         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10700         aix specific files.
10701         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10702         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10703         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10704         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10705         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10706         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10707         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10708         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10710 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
10711             Roland McGrath  <roland@hack.frob.com>
10713         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10714         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10716 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10718         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10719         __executable_start symbol instead of _start.
10721 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
10723         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10724         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10725         Move macros to...
10726         * sysdeps/gnu/ldsodefs.h: ... this new file.
10728         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10729         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10730         instead of ELFOSABI_LINUX.
10732         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
10733         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10734         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10735         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10736         Likewise.
10737         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10738         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10739         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10740         Likewise.
10741         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10742         (ibm_extended_long_double): Add ieee_nan member.
10743         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10744         (do_test): New function.
10746         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10747         TEST_TRUNC.
10748         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10749         functions, renamed from truncdfsf_test, trunctfsf_test,
10750         trunctfdf_test.
10751         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10752         functions.
10753         (do_test): Run all these.
10755 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
10757         * argp/argp-help.c: Fix typos.
10758         * argp/argp-parse.c: Likewise.
10759         * debug/backtracesyms.c: Likewise.
10760         * elf/elf.h: Likewise.
10761         * malloc/malloc.c: Likewise.
10762         * nis/nis_print.c: Likewise.
10763         * resolv/res_comp.c: Likewise.
10764         * stdlib/stdlib.h: Likewise.
10765         * sunrpc/clnt_tcp.c: Likewise.
10766         * sunrpc/clnt_udp.c: Likewise.
10767         * sunrpc/clnt_unix.c: Likewise.
10768         * sysdeps/unix/bsd/ptsname.c: Likewise.
10769         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10770         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
10771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10772         Likewise.
10773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10774         Likewise.
10775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10776         Likewise.
10777         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10779 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10781         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10782         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10784 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
10786         [BZ #15897]
10787         * dlfcn/Makefile (tests): Add bug-dl-leaf.
10788         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10789         ($(objpfx)bug-dl-leaf): New rule.
10790         ($(objpfx)bug-dl-leaf.so): Likewise.
10791         ($(objpfx)bug-dl-leaf.out): Likewise.
10792         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10793         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10794         * dlfcn/bug-dl-leaf.c: New test.
10795         * dlfcn/bug-dl-leaf-lib.c: Likewise.
10796         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10797         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10798         (dlclose): Likewise.
10799         (dlmopen): Likewise.
10801 2013-08-27  Roland McGrath  <roland@hack.frob.com>
10803         * include/netdb.h [!_ISOMAC]:
10804         Don't include <tls.h>.
10805         (h_errno, __libc_h_errno): Move declaration and macros out of
10806         [_LIBC_REENTRANT].
10808         * include/resolv.h [_RESOLV_H_]:
10809         Don't include <tls.h>.
10810         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10811         * resolv/res_libc.c: Don't include <tls.h>.
10812         (_res): Use __attribute__ ((nocommon)) in place of
10813         __attribute__ ((section (".bss"))).
10815         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10816         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10818         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10820         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10821         only under [SIOCGIFCONF && SIOCGIFNETMASK].
10823         * resolv/res_mkquery.c: Include <sys/time.h>.
10825         * inet/ifreq.c: Moved to ...
10826         * sysdeps/unix/ifreq.c: ... here.
10827         * inet/ifreq.c: New file, true stub version.
10829         * socket/sa_len.c: New file.
10830         * socket/Makefile (aux): Add it.
10831         * sysdeps/unix/sysv/linux/Makefile
10832         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10833         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10834         and #include <socket/sa_len.c>.
10835         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10836         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10838         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10839         * bits/socket.h: ... here.
10841         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10842         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10843         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10845 2013-08-27  Andreas Schwab  <schwab@suse.de>
10847         [BZ #15736]
10848         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10849         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10850         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10851         * string/test-strcasecmp.c (test_main): Run tests in several
10852         locales.
10853         * string/test-strncasecmp.c (test_main): Likewise.
10855         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10856         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10857         to __strcasecmp_nonascii and __strncasecmp_nonascii.
10858         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10859         (__strncasecmp_ssse3) [PIC]: Likewise.
10861 2013-08-26  Roland McGrath  <roland@hack.frob.com>
10863         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10865         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10866         instead of explicitly declaring xdecrypt.
10867         * nis/nss_nis/nis-publickey.c: Likewise.
10869 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10871         [BZ #15890]
10872         * nscd/aicache.c: Include res_hconf.h.
10873         (addhstaiX): Initialize res_hconf.
10875 2013-08-26  Andreas Schwab  <schwab@suse.de>
10877         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10878         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10880 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10882         * nscd/aicache.c (addhstaiX): Fix indentation.
10884 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
10886         * configure.ac: Quote $build_pt_chown test.
10887         * configure: Regenerated.
10889 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
10891         [BZ #15532]
10892         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10893         * math/s_cexpf.c (__cexpf): Likewise.
10894         * math/s_cexpl.c (__cexpl): Likewise.
10895         * math/libm-test.inc (cexp_test_data): Correct expected return
10896         value for NaN + i0.  Add another test.
10898 2013-08-22  David S. Miller  <davem@davemloft.net>
10900         * po/ca.po: Update Catalan translation from translation project.
10901         * po/uk.po: Add Ukrainian translations from translation project.
10903 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
10905         [BZ #15797]
10906         * math/s_fdim.c (__fdim): Check for infinite arguments if result
10907         is infinite, not alongside NaN test.
10908         * math/s_fdimf.c (__fdimf): Likewise.
10909         * math/s_fdiml.c (__fdiml): Likewise.
10910         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
10911         errno is unchanged.
10913 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
10915         * argp/argp-help.c: Fix typos.
10916         * crypt/speeds.c: Likewise.
10917         * csu/check_fds.c: Likewise.
10918         * elf/dl-load.c: Likewise.
10919         * elf/dl-open.c: Likewise.
10920         * elf/reldep3.c: Likewise.
10921         * elf/reldep.c: Likewise.
10922         * elf/sprof.c: Likewise.
10923         * iconv/iconv_charmap.c: Likewise.
10924         * iconv/skeleton.c: Likewise.
10925         * iconv/strtab.c: Likewise.
10926         * io/lockf64.c: Likewise.
10927         * libio/libioP.h: Likewise.
10928         * resolv/gai_notify.c: Likewise.
10929         * resolv/ns_name.c: Likewise.
10930         * resolv/ns_samedomain.c: Likewise.
10931         * resolv/res_send.c: Likewise.
10932         * stdlib/random.c: Likewise.
10933         * sunrpc/rpc/xdr.h: Likewise.
10934         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10935         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10936         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10937         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10938         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10939         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10940         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10941         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10942         * sysdeps/mach/hurd/check_fds.c: Likewise.
10943         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10944         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10945         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10946         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10947         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10948         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10949         * sysdeps/pthread/aio_notify.c: Likewise.
10950         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10951         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10952         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10953         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10954         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10956 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10958         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10959         version if bit_Slow_SSE4_2 is set.
10960         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10961         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10963 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10965         [BZ #15867]
10966         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10967         trampoline stack frame information.
10968         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10969         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10970         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10971         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10972         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10973         * sysdeps/unix/sysv/linux/powerpc/init-first.c
10974         (_libc_vdso_platform_setup): Initialize the signal trampolines.
10975         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10976         sa_flags value.
10977         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10978         interrupting a syscall and set with option SA_SIGINFO.
10980 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
10982         [BZ #15531]
10983         * math/s_cproj.c (__cproj): Only return an infinity if one part of
10984         argument is infinite.
10985         * math/s_cprojf.c (__cprojf): Likewise.
10986         * math/s_cprojl.c (__cprojl): Likewise.
10987         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10988         * math/libm-test.inc (cproj_test_data): Add more tests.
10990         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10992         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10993         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10994         size.  Use __ffs to determine corresponding shift.
10996 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
10997             Roland McGrath  <roland@hack.frob.com>
10999         * Makefile (INSTALL): Remove trailing blank lines from output of
11000         makeinfo.
11002 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11004         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11005         Align 32 bit compat elf_greg to 8 bytes.
11007 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11009         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11011 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11013         * string/strcoll_l.c (coll_seq): New structure.
11014         (get_next_seq_cached): New function.
11015         (get_next_seq): New function.
11016         (do_compare): New function.
11017         (STRCOLL): Use GNU style definition.  Simplify implementation
11018         by using get_next_seq, get_next_seq_cached and do_compare.
11020 2013-08-16  Florian Weimer  <fweimer@redhat.com>
11022         [BZ #14699]
11023         CVE-2013-4237
11024         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11025         member.
11026         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11027         member.
11028         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11029         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11030         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
11031         conditional.
11032         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11033         GETDENTS_64BIT_ALIGNED.
11034         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11035         * manual/filesys.texi (Reading/Closing Directory): Document
11036         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
11037         strongly.
11038         * manual/conf.texi (Limits for Files): Add portability note to
11039         NAME_MAX, PATH_MAX.
11040         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11042 2013-08-13  Andreas Schwab  <schwab@suse.de>
11044         [BZ #15749]
11045         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11046         of fabs.
11047         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11048         LDBL_MAX_EXP >= 16384]: Add tests for it.
11050 2013-08-12  David S. Miller  <davem@davemloft.net>
11052         * version.h (RELEASE): Set to "development".
11053         (VERSION): Set to "2.18.90".
11054         * NEWS: Add 2.19 section.
11056 2013-08-03  David S. Miller  <davem@davemloft.net>
11058         * po/ko.po: Update Korean translation from translation project.
11060 2013-08-01  David S. Miller  <davem@davemloft.net>
11062         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
11063         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11064         Bilka.
11066 2013-07-30  David S. Miller  <davem@davemloft.net>
11068         * po/fr.po: Update French translation from translation project.
11070 2013-07-28  David S. Miller  <davem@davemloft.net>
11072         * po/cs.po: Update Czech translation from translation project.
11074         * po/sv.po: Update Swedish translation from translation project.
11076 2013-07-27  David S. Miller  <davem@davemloft.net>
11078         * po/eo.po: Update Esperanto translation from translation project.
11080         * po/vi.po: Update Vietnamese translation from translation project.
11082         * po/de.po: Update German translation from translation project.
11084 2013-07-26  David S. Miller  <davem@davemloft.net>
11086         * po/bg.po: Update Bulgarian translation from translation project.
11088         * po/nl.po: Update Dutch translation from translation project.
11089         * po/pl.po: Update Polish translation from translation project.
11090         * po/ru.po: Update Russian translation from translation project.
11092 2013-07-24  David S. Miller  <davem@davemloft.net>
11094         * po/libc.pot: Update.
11096 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11098         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11099         variable page size.
11100         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11101         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11102         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11104 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11106         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11108 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11109             Andreas Schwab  <schwab@suse.de>
11110             Roland McGrath  <roland@hack.frob.com>
11111             Joseph Myers  <joseph@codesourcery.com>
11112             Carlos O'Donell  <carlos@redhat.com>
11114         [BZ #15755]
11115         * config.h.in: Define HAVE_PT_CHOWN.
11116         * config.make.in (build-pt-chown): New variable.
11117         * configure.in (--enable-pt_chown): New configure option.
11118         * configure: Regenerate.
11119         * login/Makefile: Include Makeconfig.  Build pt_chown only if
11120         build-pt-chown is enabled.
11121         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11122         pt_chown to fix pty ownership.
11123         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11124         CLOSE_ALL_FDS.
11125         * manual/install.texi (Configuring and compiling): Mention
11126         --enable-pt_chown. Add @findex for grantpt.
11127         * INSTALL: Regenerate.
11129 2013-07-20  David S. Miller  <davem@davemloft.net>
11131         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11132         difference between 32-bit and 64-bit.
11134 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
11136         [BZ #15711]
11137         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11138         Avoid system header dependency with -ffreestanding.
11139         ($(objpfx)bits/syscall%d): Likewise.
11141 2013-07-13  David S. Miller  <davem@davemloft.net>
11143         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11144         underflows from atanl/atan2l due to bug 15319.
11145         (casinh_test_data): Likewise.
11147 2013-07-07  David S. Miller  <davem@davemloft.net>
11149         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11151 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
11153         * sysdeps/i386/fpu/libm-test-ulps: Update.
11154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11156 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11158         * configure.in (--enable-lock-elision): Fix message text.
11159         * INSTALL: Regenerate.
11160         * configure: Regenerate.
11162 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11164         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11166 2013-07-03  Andreas Jaeger  <aj@suse.de>
11168         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11169         define.
11170         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11171         (ptrace_peeksiginfo_args): Add.
11172         (__ptrace_peeksiginfo_flags): Add.
11173         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11174         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11175         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11177 2013-07-03  Allan McRae  <allan@archlinux.org>
11179         * sysdeps/i386/fpu/libm-test-ulps: Update.
11181 2013-07-02  David S. Miller  <davem@davemloft.net>
11183         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11185 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
11187         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11189 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
11191         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11194 2013-07-02  Andi Kleen <ak@linux.intel.com>
11196         * config.h.in (ENABLE_LOCK_ELISION): Add.
11197         * configure.in (--enable-lock-elision): Add option.
11198         * manual/install.texi: Document --enable lock elision.
11199         * configure: Regenerate
11200         * INSTALL: Regenerate.
11202 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11204         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11205         SSE4.2 strcasecmp for libc.a.
11206         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11208 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
11210         [BZ #13304]
11211         * soft-fp/op-common.h (_FP_FMA): New macro.
11212         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11213         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
11214         (_FP_MUL_MEAT_1_imm): ... here.
11215         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
11216         (_FP_MUL_MEAT_1_wide): ... here.
11217         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
11218         (_FP_MUL_MEAT_1_hard): ... here.
11219         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11220         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
11221         (_FP_MUL_MEAT_2_wide): ... here.
11222         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
11223         (_FP_MUL_MEAT_2_wide_3mul): ... here.
11224         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
11225         (_FP_MUL_MEAT_2_gmp): ... here.
11226         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11227         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
11228         (_FP_MUL_MEAT_4_wide): ... here.
11229         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
11230         (_FP_MUL_MEAT_4_gmp): ... here.
11231         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11232         (_FP_WFRACBITS_DW_S): Likewise.
11233         (_FP_WFRACXBITS_DW_S): Likewise.
11234         (_FP_HIGHBIT_DW_S): Likewise.
11235         (FP_FMA_S): Likewise.
11236         (_FP_FRAC_HIGH_DW_S): Likewise.
11237         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11238         (_FP_WFRACBITS_DW_D): Likewise.
11239         (_FP_WFRACXBITS_DW_D): Likewise.
11240         (_FP_HIGHBIT_DW_D): Likewise.
11241         (FP_FMA_D): Likewise.
11242         (_FP_FRAC_HIGH_DW_D): Likewise.
11243         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11244         (_FP_WFRACBITS_DW_E): Likewise.
11245         (_FP_WFRACXBITS_DW_E): Likewise.
11246         (_FP_HIGHBIT_DW_E): Likewise.
11247         (FP_FMA_E): Likewise.
11248         (_FP_FRAC_HIGH_DW_E): Likewise.
11249         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11250         (_FP_WFRACBITS_DW_Q): Likewise.
11251         (_FP_WFRACXBITS_DW_Q): Likewise.
11252         (_FP_HIGHBIT_DW_Q): Likewise.
11253         (FP_FMA_Q): Likewise.
11254         (_FP_FRAC_HIGH_DW_Q): Likewise.
11255         * soft-fp/fmasf4.c: New file.
11256         * soft-fp/fmadf4.c: Likewise.
11257         * soft-fp/fmatf4.c: Likewise.
11259 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11261         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11262         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11263         Silvermont.
11264         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11265         macro.
11266         (index_Slow_SSE4_2): Likewise.
11267         (index_Prefer_PMINUB_for_stringop): Likewise.
11268         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11269         bit_Slow_SSE4_2 is set.
11270         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11271         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11273 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11275         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11276         rtld_global._dl_hwcap2.
11277         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11278         POWER8.
11279         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11280         POWER8 feature descriptions defined in _dl_hwcap2.
11281         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11282         string handling for POWER8 feature bits.
11283         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11284         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11285         _dl_powerpc_cap_flags.
11286         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11287         * sysdeps/powerpc/rtld-global-offsets.sym
11288         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11289         _dl_hwcap2 in the rtld_global_ro structure.
11291 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11293         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11294         hardware capabilities in support of AT_HWCAP2.
11295         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11296         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11297         GLRO(dl_hwcap2).
11298         (_dl_show_auxv): Add support for calling _dl_procinfo to display
11299         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
11300         explicitly the unknown a_type display mechanism is used.
11301         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11302         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11303         struct member.
11304         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11305         to macro prototype for AT_HWCAP2 support.
11306         * sysdeps/i386/dl-procinfo.h: Likewise.
11307         * sysdeps/s390/dl-procinfo.h: Likewise.
11308         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11309         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
11310         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
11311         return -1 for unknown a_type display fallback.
11312         * sysdeps/sparc/dl-procinfo.h: Likewise.
11313         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11314         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11316 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
11318         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11319         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11321 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
11323         [BZ #12492]
11324         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11325         mprotect making __stack_prot writable.
11327 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
11328             Joseph Myers  <joseph@codesourcery.com>
11330         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11331         as being properly aligned.
11333 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
11335         * dlfcn/modstatic5.c: New file.
11336         * dlfcn/tststatic5.c: New file.
11337         * dlfcn/Makefile (tests): Add tststatic5.
11338         (tests-static): Likewise.
11339         (modules-names): Add modstatic5.
11340         (tststatic5-ENV): New variable.
11341         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11343         [BZ #15022]
11344         * elf/dl-support.c (_dl_main_map): New variable.
11345         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11346         (_dl_nns, _dl_load_adds): Set to 1.
11347         (_dl_initial_searchlist): Refer to _dl_main_map.
11348         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11349         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11350         call to _dl_get_origin.
11351         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11352         around call_map.
11353         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11354         * dlfcn/modstatic3.c: New file.
11355         * dlfcn/tststatic3.c: New file.
11356         * dlfcn/tststatic4.c: New file.
11357         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11358         (tests-static): Likewise.
11359         (modules-names): Add modstatic3.
11360         (tststatic3-ENV, tststatic4-ENV): New variables.
11361         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11362         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11364 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
11366         * configure.in (CC): Require GCC version 4.4 or later.
11367         * configure: Regenerated.
11368         * manual/install.texi (Tools for Compilation): Update GCC version
11369         requirement.
11370         * INSTALL: Regenerated.
11372 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11374         [BZ #15674]
11375         * string/test-memcmp.c (check2): New.
11376         (main): Call check2.
11378         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11380 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
11382         [BZ #15022]
11383         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11384         over to...
11385         (dl_open_worker) [!SHARED]: ... here.
11387 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11389         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11391 2013-06-25  Richard Henderson  <rth@redhat.com>
11393         * locale/programs/locarchive.c: Include <libc-internal.h>
11395 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
11397         * manual/texinfo.tex: Update to version 2013-06-21.17, with
11398         trailing whitespace removed.
11400 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
11402         [BZ #10283]
11403         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11404         * locale/programs/locarchive.c: Include libc-mmap.h.
11405         (prepare_address_space): Take two new outputs (the mmap base and len).
11406         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
11407         values.
11408         (create_archive): Declare new mmap base and len values for
11409         prepare_address_space, and store the result in ah.
11410         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11411         (enlarge_archive): If ah->mmap_base is not NULL, use that and
11412         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11413         Declare new mmap base and len values for
11414         prepare_address_space, and store the result in new_ah.
11415         (open_archive): Declare new mmap base and len values for
11416         prepare_address_space, and store the result in ah.
11417         (close_archive): If ah->mmap_base is not NULL, use that and
11418         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11419         * sysdeps/generic/libc-mmap.h: New file.
11421 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
11423         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11424         (ALIGN_UP): Likewise.
11425         (PTR_ALIGN_DOWN): Likewise.
11426         (PTR_ALIGN_UP): Likewise.
11428 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11430         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11431         entry mapped to PPC_PLATFORM_POWER8.
11432         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11433         POWER8.
11434         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11435         (_dl_string_platform): Add case for exporting platform position for
11436         POWER8.
11437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11438         search path to sysdeps/powerpc/powerpc32/power8 directory.
11439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11440         search path to sysdeps/powerpc/powerpc64/power8 directory.
11441         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11442         power7 directories.
11443         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11444         power7 directories.
11446 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11448         * INSTALL: Regenerate.
11450         * nscd/connections.c (nscd_init): Fix comment.
11452 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
11454         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11456         [BZ #15667]
11457         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11458         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11460 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
11462         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11463         DL_DST_REQ_STATIC.
11464         (DL_DST_REQ_STATIC): Remove macro.
11466 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
11468         [BZ #7006]
11469         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11470         with a shift of 0 bits.
11472 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
11474         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11475         $(tststatic-ENV).
11477 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11479         [BZ #15655]
11480         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11482 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11484         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11485         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11486         accepts -fno-tree-loop-distribute-patterns.
11487         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11488         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11489         recursive call.
11490         * string/memset.c (memset): Likewise.
11491         * string/test-memmove.c (simple_memmove): Disable loop transformation
11492         to library calls.
11493         * string/test-memset.c (simple_memset): Likewise.
11494         * benchtests/bench-memmove.c (simple_memmove): Likewise.
11495         * benchtests/bench-memset.c (simple_memset): Likewise.
11496         * configure: Regenerated.
11498 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
11500         * math/test-misc.c (main): Ignore fesetround failure when failures
11501         of subsequent rounding tests would be ignored.
11503         [BZ #15654]
11504         * math/fedisblxcpt.c (fedisableexcept): Return 0.
11505         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11506         * math/fegetenv.c (__fegetenv): Return 0.
11507         * math/fegetexcept.c (fegetexcept): Return 0.
11508         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11509         FE_TONEAREST.
11510         * math/feholdexcpt.c (feholdexcept): Return 0.
11511         * math/fesetenv.c (__fesetenv): Return 0.
11512         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11513         argument FE_TONEAREST.
11514         * math/feupdateenv.c (__feupdateenv): Return 0.
11515         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11517 2013-06-18  Roland McGrath  <roland@hack.frob.com>
11519         * elf/rtld-Rules (rtld-compile-command.S): New variable.
11520         (rtld-compile-command.s, rtld-compile-command.c): New variables.
11521         ($(objpfx)rtld-%.os rules): Use them.
11523 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11525         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11526         fields.
11528 2013-06-17  Roland McGrath  <roland@hack.frob.com>
11530         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11531         length of target pattern, then descending length of dependency pattern.
11532         * configure.in (AWK): Require gawk 3.1.2 or newer.
11533         * manual/install.texi (Tools for Compilation): Say that we do.
11534         * configure: Regenerated.
11536         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11537         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11538         * scripts/sysd-rules.awk: ... this new script.
11539         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11540         than a glob-style pattern.
11542 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
11544         * math/test-misc.c (main): Do not treat incorrectly rounded
11545         conversions as failure unless ROUNDING_TESTS passes.
11547 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
11549         [BZ #15631]
11550         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11551         restore exception state around main square root computation, then
11552         check for inexactness explicitly.
11554         * math/libm-test.inc (fma_test_data): Add another test.
11556 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11558         * manual/threads.texi (Non-POSIX Extensions): New document
11559         node.  Document pthread_getattr_default_np and
11560         pthread_setattr_default_np.
11562         * Versions.def (libpthread): Add GLIBC_2.18.
11563         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11565         Likewise.
11566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11567         Likewise.
11568         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11569         Likewise.
11570         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11571         Likewise.
11572         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11573         Likewise.
11574         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11575         Likewise.
11576         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11577         Likewise.
11578         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11579         Likewise.
11580         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11581         Likewise.
11583 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11585         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11586         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11588 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11589             H.J. Lu  <hjl.tools@gmail.com>
11591         [BZ #15627]
11592         * sysdeps/x86_64/rtld-memset.c: Remove file.
11593         * sysdeps/x86_64/rtld-memset.S: New file.
11595 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
11597         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11598         (test_in_one_mode): Take arguments for whether the rounding mode
11599         is supported for each floating-point type.
11600         (do_test): Pass new arguments to test_in_one_mode using
11601         ROUNDING_TESTS.
11603 2013-06-13  Roland McGrath  <roland@hack.frob.com>
11605         * posix/tst-waitid.c (do_test): Distinguish different instances of
11606         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
11607         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11608         before entering the kernel for waitpid.
11610 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11612         * NEWS: Fix note on clock function precision.  Text by Roland
11613         McGrath.
11615 2013-06-13  Roland McGrath  <roland@hack.frob.com>
11617         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11618         it into place only when and if the sanity check passes.
11620 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
11622         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11623         output for whether conversion result is exact.  Take argument
11624         indicating whether type is IBM long double.
11625         (round_for_all): Change need_exact field to ibm_ld.
11626         * stdlib/tst-strtod-round.c (struct exactness): New type.
11627         (struct test): Change bool ld_ok field to struct exactness exact.
11628         (TEST): Update all definitions for change to field.
11629         (tests): Regenerate array contents.
11630         (test_in_one_mode): Take pointer to new field instead of old ld_ok
11631         field value.  Check for IBM long double here.
11632         (do_test): Update calls to test_in_one_mode.
11634 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11636         [BZ #12515]
11637         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11638         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11640 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11642         [BZ #15605]
11643         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11644         generated by the compiler on loop optimizations.
11645         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11646         general definitions.
11648 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
11650         * math/bug-nextafter.c: Include <math-tests.h>.
11651         (main): Only test for exceptions if EXCEPTION_TESTS is true for
11652         the relevant type.
11653         * math/bug-nexttoward.c: Include <math-tests.h>.
11654         (main): Only test for exceptions if EXCEPTION_TESTS is true for
11655         the relevant type.
11656         * math/test-misc.c: Include <math-tests.h>.
11657         (main): Only test for exceptions if EXCEPTION_TESTS is true for
11658         the relevant type.
11660 2013-06-12  Andreas Jaeger  <aj@suse.de>
11662         * po/ia.po: Update Interlingua translation from translation
11663         project.
11665 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11667         * include/fenv.h: Include stdbool.h.
11668         (struct rm_ctx): New structure.
11669         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11670         Define macro.
11671         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11672         (SET_RESTORE_ROUNDF): Likewise.
11673         (SET_RESTORE_ROUNDL): Likewise.
11674         (SET_RESTORE_ROUND_NOEX): Likewise.
11675         (SET_RESTORE_ROUND_NOEXF): Likewise.
11676         (SET_RESTORE_ROUND_NOEXL): Likewise.
11677         (SET_RESTORE_ROUND_53BIT): Likewise.
11678         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11679         (libc_feresetround_noexf_ctx): Likewise.
11680         (libc_feresetround_noexl_ctx): Likewise.
11681         (libc_feholdsetround_53bit_ctx): Likewise.
11682         (libc_feresetround_53bit_ctx): Likewise.
11683         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11684         (libc_feholdexcept_setround_sse_ctx): New function.
11685         (libc_fesetenv_sse_ctx): Likewise.
11686         (libc_feupdateenv_sse_ctx): Likewise.
11687         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11688         (libc_feholdexcept_setround_387_ctx): Likewise.
11689         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11690         (libc_feholdsetround_387_prec_ctx): Likewise.
11691         (libc_feholdsetround_387_ctx): Likewise.
11692         (libc_feholdsetround_387_53bit_ctx): Likewise.
11693         (libc_feholdsetround_sse_ctx): Likewise.
11694         (libc_feresetround_sse_ctx): Likewise.
11695         (libc_feresetround_387_ctx): Likewise.
11696         (libc_feupdateenv_387_ctx): Likewise.
11697         (libc_feholdexcept_setroundf_ctx): Define macro.
11698         (libc_fesetenvf_ctx): Likewise.
11699         (libc_feupdateenvf_ctx): Likewise.
11700         (libc_feholdsetroundf_ctx): Likewise.
11701         (libc_feresetroundf_ctx): Likewise.
11702         (libc_feholdexcept_setround_ctx): Likewise.
11703         (libc_fesetenv_ctx): Likewise.
11704         (libc_feupdateenv_ctx): Likewise.
11705         (libc_feholdsetround_ctx): Likewise.
11706         (libc_feresetround_ctx): Likewise.
11707         (libc_feholdexcept_setroundl_ctx): Likewise.
11708         (libc_feupdateenvl_ctx): Likewise.
11709         (libc_feholdsetroundl_ctx): Likewise.
11710         (libc_feresetroundl_ctx): Likewise.
11711         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11712         (libc_feresetround_53bit_ctx): Likewise.
11714 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11716         * locale/iso-639.def: Convert to UTF-8.
11718 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
11720         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11721         (EXCEPTION_TESTS_double): Likewise.
11722         (EXCEPTION_TESTS_long_double): Likewise.
11723         (EXCEPTION_TESTS): Likewise.
11724         * math/libm-test.inc (test_exceptions): Only test exceptions if
11725         EXCEPTION_TESTS (FLOAT).
11727 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11729         * benchtests/Makefile (string-bench): Add strcpy_chk and
11730         stpcpy_chk.
11731         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11732         * benchtests/bench-stpcpy_chk.c: New file.
11733         * benchtests/bench-strcpy_chk-ifunc.c: New file.
11734         * benchtests/bench-strcpy_chk.c: New file.
11735         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11736         code.
11737         (do_test): Likewise.
11739 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11741         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11742         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11743         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11744         with tabs where appropriate.
11745         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11746         dl-procinfo.h.
11747         [PPC_PLATFORM_PPC440]: Likewise.
11748         [PPC_PLATFORM_PPC464]: Likewise.
11749         [PPC_PLATFORM_PPC476]: Likewise.
11750         (_dl_string_platform): Add support for detecting ppc405, ppc440,
11751         ppc464, and ppc476 platform strings merging from ports/
11752         dl-procinfo.h.
11754 2013-06-11  Andreas Schwab  <schwab@suse.de>
11756         [BZ #14991]
11757         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11758         (from_ucs4_idx): Regenerate.
11759         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11760         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11761         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11762         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11763         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11764         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11765         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11766         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11767         from FROM_LOOP and TO_LOOP specific macros.
11768         (BODY): Handle combining characters.
11769         * iconvdata/BIG5HKSCS.irreversible: Update.
11770         * iconvdata/BIG5HKSCS.precomposed: New file.
11771         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11772         characters.
11773         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11775 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11777         * include/sys/time.h: Fix indentation and add copyright header.
11779         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11780         (do_test): Likewise.
11781         * string/test-memchr.c (do_one_test): Likewise.
11782         (do_test): Likewise.
11783         * string/test-memcmp.c (do_one_test): Likewise.
11784         (do_test): Likewise.
11785         * string/test-memcpy.c (do_one_test): Likewise.
11786         (do_test): Likewise.
11787         * string/test-memmem.c (do_one_test): Likewise.
11788         (do_test): Likewise.
11789         (do_random_tests): Likewise.
11790         * string/test-memmove.c (do_one_test): Likewise.
11791         (do_test): Likewise.
11792         * string/test-memset.c (do_one_test): Likewise.
11793         (do_test): Likewise.
11794         * string/test-rawmemchr.c (do_one_test): Likewise.
11795         (do_test): Likewise.
11796         * string/test-strcasecmp.c (do_one_test): Likewise.
11797         (do_test): Likewise.
11798         * string/test-strcasestr.c (do_one_test): Likewise.
11799         (do_test): Likewise.
11800         * string/test-strcat.c (do_one_test): Likewise.
11801         (do_test): Likewise.
11802         * string/test-strchr.c (do_one_test): Likewise.
11803         (do_test): Likewise.
11804         * string/test-strcmp.c (do_one_test): Likewise.
11805         (do_test): Likewise.
11806         * string/test-strcpy.c (do_one_test): Likewise.
11807         (do_test): Likewise.
11808         * string/test-string.h: Likewise.
11809         (test_init): Likewise.
11810         * string/test-strlen.c (do_one_test): Likewise.
11811         (do_test): Likewise.
11812         * string/test-strncasecmp.c (do_one_test): Likewise.
11813         (do_test): Likewise.
11814         * string/test-strncat.c (do_one_test): Likewise.
11815         (do_test): Likewise.
11816         * string/test-strncmp.c (do_one_test): Likewise.
11817         (do_test_limit): Likewise.
11818         (do_test): Likewise.
11819         * string/test-strncpy.c (do_one_test): Likewise.
11820         (do_test): Likewise.
11821         * string/test-strnlen.c (do_one_test): Likewise.
11822         (do_test): Likewise.
11823         * string/test-strpbrk.c (do_one_test): Likewise.
11824         (do_test): Likewise.
11825         * string/test-strrchr.c (do_one_test): Likewise.
11826         (do_test): Likewise.
11827         * string/test-strspn.c (do_one_test): Likewise.
11828         (do_test): Likewise.
11829         * string/test-strstr.c (do_one_test): Likewise.
11830         (do_test): Likewise.
11832         * benchtests/Makefile (string-bench): Add string benchmarks.
11833         * benchtests/bench-bcopy-ifunc.c: New file.
11834         * benchtests/bench-bcopy.c: New file.
11835         * benchtests/bench-bzero-ifunc.c: New file.
11836         * benchtests/bench-bzero.c: New file.
11837         * benchtests/bench-memccpy-ifunc.c: New file.
11838         * benchtests/bench-memccpy.c: New file.
11839         * benchtests/bench-memchr-ifunc.c: New file.
11840         * benchtests/bench-memchr.c: New file.
11841         * benchtests/bench-memcmp-ifunc.c: New file.
11842         * benchtests/bench-memcmp.c: New file.
11843         * benchtests/bench-memmem-ifunc.c: New file.
11844         * benchtests/bench-memmem.c: New file.
11845         * benchtests/bench-memmove-ifunc.c: New file.
11846         * benchtests/bench-memmove.c: New file.
11847         * benchtests/bench-mempcpy-ifunc.c: New file.
11848         * benchtests/bench-mempcpy.c: New file.
11849         * benchtests/bench-memset-ifunc.c: New file.
11850         * benchtests/bench-memset.c: New file.
11851         * benchtests/bench-rawmemchr-ifunc.c: New file.
11852         * benchtests/bench-rawmemchr.c: New file.
11853         * benchtests/bench-stpcpy-ifunc.c: New file.
11854         * benchtests/bench-stpcpy.c: New file.
11855         * benchtests/bench-stpncpy-ifunc.c: New file.
11856         * benchtests/bench-stpncpy.c: New file.
11857         * benchtests/bench-strcasecmp-ifunc.c: New file.
11858         * benchtests/bench-strcasecmp.c: New file.
11859         * benchtests/bench-strcasestr-ifunc.c: New file.
11860         * benchtests/bench-strcasestr.c: New file.
11861         * benchtests/bench-strcat-ifunc.c: New file.
11862         * benchtests/bench-strcat.c: New file.
11863         * benchtests/bench-strchr-ifunc.c: New file.
11864         * benchtests/bench-strchr.c: New file.
11865         * benchtests/bench-strchrnul-ifunc.c: New file.
11866         * benchtests/bench-strchrnul.c: New file.
11867         * benchtests/bench-strcmp-ifunc.c: New file.
11868         * benchtests/bench-strcmp.c: New file.
11869         * benchtests/bench-strcpy-ifunc.c: New file.
11870         * benchtests/bench-strcpy.c: New file.
11871         * benchtests/bench-strcspn-ifunc.c: New file.
11872         * benchtests/bench-strcspn.c: New file.
11873         * benchtests/bench-strlen-ifunc.c: New file.
11874         * benchtests/bench-strlen.c: New file.
11875         * benchtests/bench-strncasecmp-ifunc.c: New file.
11876         * benchtests/bench-strncasecmp.c: New file.
11877         * benchtests/bench-strncat-ifunc.c: New file.
11878         * benchtests/bench-strncat.c: New file.
11879         * benchtests/bench-strncmp-ifunc.c: New file.
11880         * benchtests/bench-strncmp.c: New file.
11881         * benchtests/bench-strncpy-ifunc.c: New file.
11882         * benchtests/bench-strncpy.c: New file.
11883         * benchtests/bench-strnlen-ifunc.c: New file.
11884         * benchtests/bench-strnlen.c: New file.
11885         * benchtests/bench-strpbrk-ifunc.c: New file.
11886         * benchtests/bench-strpbrk.c: New file.
11887         * benchtests/bench-strrchr-ifunc.c: New file.
11888         * benchtests/bench-strrchr.c: New file.
11889         * benchtests/bench-strspn-ifunc.c: New file.
11890         * benchtests/bench-strspn.c: New file.
11891         * benchtests/bench-strstr-ifunc.c: New file.
11892         * benchtests/bench-strstr.c: New file.
11894         * benchtests/Makefile: Disable parallel execution of targets.
11895         (string-bench): Add memcpy.
11896         (benchset): New variable to store a list of benchmark sets.
11897         (bench-func): Renamed from bench.
11898         (bench-set): New target.
11899         (bench): Depend on bench-func and bench-set.
11900         * benchtests/README: Add section on benchmark sets.
11901         * benchtests/bench-memcpy-ifunc.c: New file.
11902         * benchtests/bench-memcpy.c: New file.
11903         * benchtests/bench-string.h: New file.
11905 2013-06-11  Andreas Schwab  <schwab@suse.de>
11907         [BZ #15577]
11908         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11909         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11910         values in the triple.
11911         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11912         terminator in the group key.
11914 2013-06-11  Andreas Jaeger  <aj@suse.de>
11916         * po/zh_TW.po: Update Chinese (traditional) translation from
11917         translation project.
11919 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11921         * include/time.h (__clock_gettime): Add libc_hidden_proto.
11922         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11923         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
11924         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11925         (clock_getcpuclockid): Likewise.
11926         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11927         Add weak_alias and libc_hidden_def.
11928         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11929         * rt/clock_gettime.c (clock_gettime): Rename to
11930         __clock_gettime.  Add weak_alias and libc_hidden_def.
11931         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11932         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11933         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
11934         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11935         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11936         Likewise.
11937         * rt/clock_settime.c (clock_settime): Rename to
11938         __clock_settime.  Add weak_alias and libc_hidden_def.
11939         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11941 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
11943         * mach/err_boot.sub: Remove trailing whitespace.
11944         * mach/err_ipc.sub: Likewise.
11945         * mach/err_mach.sub: Likewise.
11947         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11948         (ROUNDING_TESTS_double): Likewise.
11949         (ROUNDING_TESTS_long_double): Likewise.
11950         (ROUNDING_TESTS): Likewise.
11951         * math/libm-test.inc: Include <math-tests.h>.
11952         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11953         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11954         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11955         (IF_ROUND_INIT_FE_UPWARD): Likewise.
11957 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11959         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11960         of assigning.
11962 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
11964         * sysdeps/gnu/errlist.awk: Do not generate space at end of
11965         otherwise empty TRANS lines.
11966         * sysdeps/gnu/errlist.c: Regenerated.
11968         * catgets/gencat.c (error_print): Use (void) in function
11969         definition.
11970         * crypt/crypt_util.c (__init_des): Likewise.
11971         * crypt/speeds.c (Stop): Likewise.
11972         (main): Likewise.
11973         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11974         * inet/ruserpass.c (token): Likewise.
11975         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11976         * intl/localealias.c (extend_alias_table): Likewise.
11977         * intl/plural-exp.c (init_germanic_plural): Likewise.
11978         * libio/fcloseall.c (__fcloseall): Likewise.
11979         * libio/genops.c (_IO_flush_all): Likewise.
11980         (_IO_flush_all_linebuffered): Likewise.
11981         (_IO_cleanup): Likewise.
11982         (_IO_iter_begin): Likewise.
11983         (_IO_iter_end): Likewise.
11984         (_IO_list_lock): Likewise.
11985         (_IO_list_unlock): Likewise.
11986         (_IO_list_resetlock): Likewise.
11987         * libio/getchar.c (getchar): Likewise.
11988         * libio/getchar_u.c (getchar_unlocked): Likewise.
11989         * libio/getwchar.c (getwchar): Likewise.
11990         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11991         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11992         * login/getpt.c (__getpt): Likewise.
11993         * login/tst-utmp.c (main): Likewise.
11994         * malloc/hooks.c (__malloc_check_init): Likewise.
11995         * malloc/malloc.c (__malloc_stats): Likewise.
11996         * malloc/mtrace.c (tr_break): Likewise.
11997         (mtrace): Likewise.
11998         (muntrace): Likewise.
11999         * misc/fstab.c (endfsent): Likewise.
12000         * misc/getclktck.c (__getclktck): Likewise.
12001         * misc/getdtsz.c (__getdtablesize): Likewise.
12002         * misc/gethostid.c (gethostid): Likewise.
12003         * misc/getpagesize.c (__getpagesize): Likewise.
12004         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12005         (__get_nprocs): Likewise.
12006         (__get_phys_pages): Likewise.
12007         (__get_avphys_pages): Likewise.
12008         * misc/getttyent.c (getttyent): Likewise.
12009         (setttyent): Likewise.
12010         (endttyent): Likewise.
12011         * misc/getusershell.c (getusershell): Likewise.
12012         (endusershell): Likewise.
12013         (setusershell): Likewise.
12014         (initshells): Likewise.
12015         * misc/hsearch.c (__hdestroy): Likewise.
12016         * misc/sync.c (sync): Likewise.
12017         * misc/syslog.c (closelog_internal): Likewise.
12018         (closelog): Likewise.
12019         * misc/ttyslot.c (ttyslot): Likewise.
12020         * misc/vhangup.c (vhangup): Likewise.
12021         * posix/fork.c (__fork): Likewise.
12022         * posix/getegid.c (__getegid): Likewise.
12023         * posix/geteuid.c (__geteuid): Likewise.
12024         * posix/getgid.c (__getgid): Likewise.
12025         * posix/getpid.c (__getpid): Likewise.
12026         * posix/getppid.c (__getppid): Likewise.
12027         * posix/getuid.c (__getuid): Likewise.
12028         * posix/pause.c (pause): Likewise.
12029         * posix/setpgrp.c (setpgrp): Likewise.
12030         * posix/setsid.c (__setsid): Likewise.
12031         * posix/test-vfork.c (noop): Likewise.
12032         * resolv/gethnamaddr.c (_endhtent): Likewise.
12033         (_gethtent): Likewise.
12034         (ht_endhostent): Likewise.
12035         (gethostent): Likewise.
12036         (dns_service): Likewise.
12037         * stdlib/drand48.c (drand48): Likewise.
12038         * stdlib/lrand48.c (lrand48): Likewise.
12039         * stdlib/mrand48.c (mrand48): Likewise.
12040         * stdlib/rand.c (rand): Likewise.
12041         * stdlib/random.c (__random): Likewise.
12042         * stdlib/setenv.c (clearenv): Likewise.
12043         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12044         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12045         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12046         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12047         (__get_nprocs): Likewise.
12048         (__get_phys_pages): Likewise.
12049         (__get_avphys_pages): Likewise.
12050         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12051         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12052         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12053         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12054         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12055         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12056         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12057         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12058         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12059         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12060         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12061         * sysdeps/mach/hurd/sync.c (sync): Likewise.
12062         * sysdeps/posix/clock.c (clock): Likewise.
12063         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12064         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12065         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12066         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12067         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12068         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12069         (__get_nprocs_conf): Likewise.
12070         (__get_phys_pages): Likewise.
12071         (__get_avphys_pages): Likewise.
12072         * time/clock.c (clock): Likewise.
12073         * time/tzset.c (__tzname_max): Likewise.
12075 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
12077         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12078         (__bswap_32): Do not use "register".
12079         * crypt/crypt.c (_ufc_doit_r): Likewise.
12080         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12081         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12082         * gmon/gmon.c (__monstartup): Likewise.
12083         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12084         * hurd/hurdmalloc.c (more_memory): Likewise.
12085         (malloc): Likewise.
12086         (free): Likewise.
12087         (realloc): Likewise.
12088         (malloc_fork_prepare): Likewise.
12089         (malloc_fork_parent): Likewise.
12090         (malloc_fork_child): Likewise.
12091         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12092         (_svcauth_des): Likewise.
12093         * inet/inet_lnaof.c (inet_lnaof): Likewise.
12094         * inet/inet_net.c (inet_network): Likewise.
12095         * inet/inet_netof.c (inet_netof): Likewise.
12096         * inet/rcmd.c (__validuser2_sa): Likewise.
12097         * io/fts.c (fts_open): Likewise.
12098         (fts_load): Likewise.
12099         (fts_close): Likewise.
12100         (fts_read): Likewise.
12101         (fts_children): Likewise.
12102         (fts_build): Likewise.
12103         (fts_stat): Likewise.
12104         (fts_sort): Likewise.
12105         (fts_alloc): Likewise.
12106         (fts_lfree): Likewise.
12107         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12108         (_IO_file_xsgetn): Likewise.
12109         (_IO_file_xsgetn_mmap): Likewise.
12110         * libio/iofopncook.c (_IO_cookie_read): Likewise.
12111         (_IO_cookie_write): Likewise.
12112         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12113         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12114         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12115         * malloc/obstack.c (_obstack_begin): Likewise.
12116         (_obstack_begin_1): Likewise.
12117         (_obstack_newchunk): Likewise.
12118         (_obstack_allocated_p): Likewise.
12119         (obstack_free): Likewise.
12120         (_obstack_memory_used): Likewise.
12121         * misc/getttyent.c (getttynam): Likewise.
12122         (getttyent): Likewise.
12123         (skip): Likewise.
12124         (value): Likewise.
12125         * misc/getusershell.c (initshells): Likewise.
12126         * misc/syslog.c (__vsyslog_chk): Likewise.
12127         * misc/ttyslot.c (ttyslot): Likewise.
12128         * nis/nis_hash.c (__nis_hash): Likewise.
12129         * posix/fnmatch_loop.c (FCT): Likewise.
12130         * posix/getconf.c (print_all): Likewise.
12131         (main): Likewise.
12132         * posix/getopt.c (exchange): Likewise.
12133         * posix/glob.c (globfree): Likewise.
12134         (prefix_array): Likewise.
12135         (__glob_pattern_type): Likewise.
12136         * resolv/arpa/nameser.h (NS_GET16): Likewise.
12137         (NS_GET32): Likewise.
12138         (NS_PUT16): Likewise.
12139         (NS_PUT32): Likewise.
12140         * resolv/gethnamaddr.c (getanswer): Likewise.
12141         (gethostbyname2): Likewise.
12142         (gethostbyaddr): Likewise.
12143         (_gethtent): Likewise.
12144         (_gethtbyname2): Likewise.
12145         (_gethtbyaddr): Likewise.
12146         * resolv/ns_print.c (dst_s_get_int16): Likewise.
12147         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12148         * resolv/res_init.c (__res_vinit): Likewise.
12149         (net_mask): Likewise.
12150         * resolv/res_mkquery.c (outchar): Likewise.
12151         (PRINT): Likewise.
12152         * stdio-common/printf_fp.c (outchar): Likewise.
12153         (PRINT): Likewise.
12154         * stdio-common/printf_fphex.c (outchar): Likewise.
12155         (PRINT): Likewise.
12156         * stdio-common/printf_size.c (outchar): Likewise.
12157         (PRINT): Likewise.
12158         * stdio-common/test_rdwr.c (main): Likewise.
12159         * stdio-common/tfformat.c (matches): Likewise.
12160         * stdio-common/vfprintf.c (outchar): Likewise.
12161         (printf_unknown): Likewise.
12162         (buffered_vfprintf): Likewise.
12163         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12164         * stdio-common/xbug.c (AppendToBuffer): Likewise.
12165         (ReadFile): Likewise.
12166         * stdlib/qsort.c (SWAP): Likewise.
12167         (_quicksort): Likewise.
12168         * stdlib/setenv.c (__add_to_environ): Likewise.
12169         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12170         * stdlib/strtol_l.c (__strtol_l): Likewise.
12171         * stdlib/tst-strtod.c (main): Likewise.
12172         * stdlib/tst-strtol.c (main): Likewise.
12173         * stdlib/tst-strtoll.c (main): Likewise.
12174         * string/bits/string2.h (__strcmp_cc): Likewise.
12175         (__strcmp_cg): Likewise.
12176         (__strcspn_c1): Likewise.
12177         (__strcspn_c2): Likewise.
12178         (__strcspn_c3): Likewise.
12179         (__strspn_c1): Likewise.
12180         (__strspn_c2): Likewise.
12181         (__strspn_c3): Likewise.
12182         (__strsep_1c): Likewise.
12183         (__strsep_2c): Likewise.
12184         (__strsep_3c): Likewise.
12185         * string/memccpy.c (__memccpy): Likewise.
12186         * string/stpcpy.c (__stpcpy): Likewise.
12187         * string/strcmp.c (strcmp): Likewise.
12188         * string/strrchr.c (strrchr): Likewise.
12189         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12190         Likewise.
12191         * sysdeps/mach/hurd/getcwd.c
12192         (_hurd_canonicalize_directory_name_internal): Likewise.
12193         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12194         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12195         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12196         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12197         Likewise, in both definitions.
12198         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12199         definitions.
12200         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12201         64] (__bswap_64): Likewise.
12202         * time/test_time.c (main): Likewise.
12203         * time/tzfile.c (__tzfile_read): Likewise.
12204         (__tzfile_compute): Likewise.
12205         * time/tzset.c (__tzset_parse_tz): Likewise.
12206         (tzset_internal): Likewise.
12207         (compute_change): Likewise.
12208         * wcsmbs/wcscat.c (__wcscat): Likewise.
12209         * wcsmbs/wcschr.c (wcschr): Likewise.
12210         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12211         * wcsmbs/wcscspn.c (wcscspn): Likewise.
12212         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12213         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12214         * wcsmbs/wcsspn.c (wcsspn): Likewise.
12215         * wcsmbs/wcsstr.c (wcsstr): Likewise.
12216         * wcsmbs/wmemchr.c (wmemchr): Likewise.
12217         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12218         * wcsmbs/wmemset.c (wmemset): Likewise.
12220 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
12222         * scripts/config.guess: Update to version 2013-05-16.
12223         * scripts/config.sub: Update to version 2013-04-24.
12224         * scripts/install-sh: Update to version 2011-11-20.07.
12225         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12226         * scripts/move-if-change: Update to version 2012-01-06 07:23.
12228 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
12230         * debug/fgetws_u_chk.c: Fix leading whitespaces.
12231         * elf/sln.c: Likewise.
12232         * hurd/hurd/ioctl.h: Likewise.
12233         * hurd/hurdmalloc.c: Likewise.
12234         * hurd/xattr.c: Likewise.
12235         * include/shlib-compat.h: Likewise.
12236         * inet/ruserpass.c: Likewise.
12237         * libio/iofgets_u.c: Likewise.
12238         * libio/iofgetws_u.c: Likewise.
12239         * locale/programs/ld-identification.c: Likewise.
12240         * locale/programs/ld-time.c: Likewise.
12241         * mach/msg-destroy.c: Likewise.
12242         * nss/nss_files/files-netgrp.c: Likewise.
12243         * resolv/res_data.c: Likewise.
12244         * soft-fp/op-1.h: Likewise.
12245         * soft-fp/op-2.h: Likewise.
12246         * soft-fp/op-4.h: Likewise.
12247         * soft-fp/op-common.h: Likewise.
12248         * stdio-common/printf_fphex.c: Likewise.
12249         * stdlib/strtod_l.c: Likewise.
12250         * sunrpc/rpc/clnt.h: Likewise.
12251         * sysdeps/generic/framestate.c: Likewise.
12252         * sysdeps/i386/bsd-_setjmp.S: Likewise.
12253         * sysdeps/i386/bsd-setjmp.S: Likewise.
12254         * sysdeps/i386/__longjmp.S: Likewise.
12255         * sysdeps/i386/setjmp.S: Likewise.
12256         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12257         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12258         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12259         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12260         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12261         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12262         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12263         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12264         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12265         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12266         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12267         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12268         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12269         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12270         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12271         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12272         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12273         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12274         * sysdeps/ieee754/support.c: Likewise.
12275         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12276         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12277         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12278         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12279         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12280         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12281         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12282         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12283         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12284         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12285         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12286         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12287         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12288         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12289         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12290         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12291         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12294 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
12296         * posix/transbug.c: Remove executable mode.
12298 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
12300         * crypt/speeds.c: Remove trailing whitespace.
12301         * dlfcn/default.c: Likewise.
12302         * elf/ifuncdep2.c: Likewise.
12303         * elf/ifuncmain1.c: Likewise.
12304         * elf/ifuncmain1vis.c: Likewise.
12305         * elf/testobj.h: Likewise.
12306         * elf/tst-stackguard1.c: Likewise.
12307         * gmon/sys/gmon.h: Likewise.
12308         * hurd/hurdmsg.c: Likewise.
12309         * hurd/new-fd.c: Likewise.
12310         * hurd/ports-get.c: Likewise.
12311         * iconvdata/ibm1008_420.c: Likewise.
12312         * inet/tst-getni1.c: Likewise.
12313         * inet/tst-getni2.c: Likewise.
12314         * libio/ioungetc.c: Likewise.
12315         * libio/wfiledoalloc.c: Likewise.
12316         * manual/libm-err-tab.pl: Likewise.
12317         * math/w_dremf.c: Likewise.
12318         * misc/ftruncate.c: Likewise.
12319         * posix/bug-glob2.c: Likewise.
12320         * posix/tst-pcre.c: Likewise.
12321         * posix/wait4.c: Likewise.
12322         * resolv/README: Likewise.
12323         * resolv/res_debug.h: Likewise.
12324         * resolv/tst-inet_ntop.c: Likewise.
12325         * setjmp/bug269-setjmp.c: Likewise.
12326         * soft-fp/extended.h: Likewise.
12327         * soft-fp/op-1.h: Likewise.
12328         * soft-fp/op-2.h: Likewise.
12329         * soft-fp/op-4.h: Likewise.
12330         * soft-fp/op-8.h: Likewise.
12331         * soft-fp/testit.c: Likewise.
12332         * stdio-common/bug16.c: Likewise.
12333         * stdlib/random.c: Likewise.
12334         * sunrpc/rpcsvc/rquota.x: Likewise.
12335         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12336         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12337         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12338         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12339         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12340         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12341         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12342         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12343         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12344         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12345         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12346         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12347         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12348         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12349         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12350         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12351         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12352         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12353         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12354         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12355         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12356         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12357         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12358         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12359         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12360         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12361         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12362         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12363         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12364         * sysdeps/ieee754/s_lib_version.c: Likewise.
12365         * sysdeps/mach/hurd/check_fds.c: Likewise.
12366         * sysdeps/mach/hurd/getsockname.c: Likewise.
12367         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12368         * sysdeps/mach/hurd/recvfrom.c: Likewise.
12369         * sysdeps/powerpc/bits/link.h: Likewise.
12370         * sysdeps/powerpc/dl-procinfo.c: Likewise.
12371         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12372         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12373         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12374         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12375         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12376         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12377         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12378         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12379         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12380         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12381         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12382         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12383         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12384         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12385         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12386         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12387         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12388         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12389         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12390         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12391         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12392         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12393         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12394         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12395         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12396         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12397         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12398         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12399         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12400         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12401         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12402         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12403         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12404         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12405         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12406         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12407         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12408         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12409         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12410         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12411         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12412         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12413         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12414         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12415         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12416         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12417         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12418         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12419         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12420         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12421         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12422         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12423         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12424         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12425         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12426         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12427         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12428         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12429         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12430         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12431         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12432         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12433         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12434         * sysdeps/powerpc/sysdep.h: Likewise.
12435         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12436         * sysdeps/s390/s390-64/sub_n.S: Likewise.
12437         * sysdeps/sh/dl-trampoline.S: Likewise.
12438         * sysdeps/sh/memset.S: Likewise.
12439         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12440         * sysdeps/sh/strlen.S: Likewise.
12441         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12442         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12443         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12444         * sysdeps/sparc/sparc32/rem.S: Likewise.
12445         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12446         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12447         * sysdeps/sparc/sparc32/strchr.S: Likewise.
12448         * sysdeps/sparc/sparc32/udiv.S: Likewise.
12449         * sysdeps/sparc/sparc32/urem.S: Likewise.
12450         * sysdeps/sparc/sparc64/add_n.S: Likewise.
12451         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12452         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12453         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12454         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12455         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12456         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12457         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12458         * sysdeps/unix/bsd/times.c: Likewise.
12459         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12460         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12464         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12465         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12466         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12467         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12468         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12469         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12470         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12471         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12472         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12473         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12474         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12475         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12476         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12477         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12478         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12479         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12480         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12481         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12482         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12483         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12484         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12485         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12486         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12487         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12488         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12489         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12490         * sysdeps/x86_64/strcspn.S: Likewise.
12492 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12494         * locale/C-translit.h: Revert #include <stdint.h> because this is a
12495         generated file.  Regenerate properly from gen-translit.pl.
12496         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
12497         locale/C-translit.h.
12499 2013-06-05  Andreas Schwab  <schwab@suse.de>
12501         [BZ #15100]
12502         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12503         week as 6 instead of -1.
12504         * time/tst-strptime.c (day_tests): Add test case.
12506 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12508         * sysdeps/generic/math_private.h
12509         (libc_feholdexcept_setround_53bit): Replace with
12510         libc_feholdsetround_53bit.
12511         (libc_feupdateenv_53bit): Replace with
12512         libc_feresetround_53bit.
12513         (SET_RESTORE_ROUND_53BIT): Adjust.
12515 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12517         * string/test-strchrnul.c: Add copyright header.
12519         * posix/tst-getaddrinfo4.c: Increase test timeout.
12521 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
12523         [BZ #15536]
12524         * math/libm-test.inc (MAX_EXP): Remove
12525         (MIN_EXP): Define.
12526         (ulp): Use MIN_EXP - MANT_DIG.
12527         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12529 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
12531         * po/be.po: Revert last change.
12532         * po/zh_CN.po: Likewise.
12533         * po/header.pot: Likewise.
12535 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
12537         * Makefile ($(common-objpfx)linkobj/libc.so): Define
12538         link-libc-deps to empty as target-specific variable.
12539         * Makerules (link-libc-args): New variable.
12540         (libc-for-link): Likewise.
12541         (link-libc-deps): Likewise.
12542         (lib%.so): Depend on $(link-libc-deps).  Link with
12543         $(link-libc-args).
12544         (build-module): Link with $(link-libc-args).
12545         (build-module-asneeded): Likewise.
12546         (build-module-helper-objlist): Filter out $(link-libc-deps) from
12547         list of objects.
12548         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12549         target-specific variable.
12550         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12551         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12552         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12553         libc.
12554         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12555         libc and ld.so.
12556         ($(objpfx)libpcprofile.so): Likewise.
12557         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12558         libc_nonshared.a.
12559         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12560         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12561         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12562         $(link-libc-deps).
12563         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12564         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12565         * login/Makefile ($(objpfx)libutil.so): Likewise.
12566         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12567         * math/Makefile ($(objpfx)libm.so): Likewise.
12568         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12569         $(objpfx)libnsl.so): Define libc-for-link as target-specific
12570         variable instead of depending directly on libc.
12571         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12572         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12573         $(link-libc-deps).
12574         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12575         libc.
12576         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12577         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12578         ($(objpfx)libanl.so): Likewise.
12579         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12580         ld.so.
12581         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12582         $(link-libc-deps).
12583         * sysdeps/i386/fpu/Makefile: Remove file.
12584         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12585         ($(objpfx)libm.so): Remove dependency on ld.so.
12587 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
12589         [BZ # 15553]
12590         * nis/yp_xdr.c (XDRMAXNAME): Define.
12591         (XDRMAXRECORD): Define.
12592         (xdr_domainname): Use XDRMAXNAME.
12593         (xdr_mapname): Likewise.
12594         (xdr_peername): Likewise.
12595         (xdr_keydat): Use XDRMAXRECORD.
12596         (xdr_valdat): Likewise.
12598 2013-05-30  Jeff Law  <law@redhat.com>
12600         [BZ #14256]
12601         * manual/errno.texi (ESTALE): Update to account for more than
12602         just NFS file systems.
12603         * sysdeps/gnu/errlist.c: Regenerated.
12605 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12607         [BZ #15465]
12608         * elf/Makefile (tests): Add tst-null-argv.
12609         (modules-names):  Add tst-null-argv-lib.
12610         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12611         (tst-null-argv-ENV): Set environment for tst-null-argv.
12612         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12613         (RTLD_PROGNAME): New macro.
12614         * elf/tst-null-argv.c: New test case.
12615         * elf/tst-null-argv-lib.c: Library for test case.
12616         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12617         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12618         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12619         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12620         * elf/dl-init.c (call_init): Likewise.
12621         (_dl_init): Likewise.
12622         * elf/dl-load.c (print_search_path): Likewise.
12623         (_dl_map_object): Likewise.
12624         * elf/dl-lookup.c (do_lookup_x): Likewise.
12625         (add_dependency): Likewise.
12626         (_dl_lookup_symbol_x): Likewise.
12627         (_dl_debug_bindings): Likewise.
12628         * elf/dl-open.c (_dl_show_scope): Likewise.
12629         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12630         * elf/dl-version.c (match_symbol): Likewise.
12631         (_dl_check_map_versions): Likewise.
12632         * elf/rtld.c (dl_main): Likewise.
12633         (print_unresolved): Use RTLD_PROGNAME.
12634         (print_missing_version): Likewise.
12635         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12636         (elf_machine_rela): Likewise.
12637         * sysdeps/powerpc/powerpc32/dl-machine.c
12638         (__process_machine_rela): Likewise.
12639         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12640         Likewise.
12641         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12642         Likewise.
12643         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12644         Likewise.
12645         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12646         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12647         Likewise.
12648         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12649         Likewise.
12650         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12652 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
12654         * po/be.po: Add descriptive title.
12655         * po/zh_CN.po: Likewise.
12656         * po/header.pot: Likewise.
12658 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
12660         * locale/programs/locarchive.c (create_archive): Inlucde fname in
12661         error message.
12662         (enlarge_archive): Likewise.
12664 2013-05-28  Ben North  <ben@redfrontdoor.org>
12666         * manual/arith.texi (frexp): It is the magnitude of the return
12667         value which lies in [0.5, 1), not the return value itself.
12669 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12671         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12673 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
12675         * stdio-common/bug26.c (main): Correct fscanf template.
12677         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12678         declare _dl_skip_args.
12680         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12681         Don't declare.
12683         * manual/platform.texi: Add missing @end deftypefun.
12685 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
12687         [BZ #15529]
12688         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12689         bit of mantissa of 2^16382.
12690         * math/libm-test.inc (hypot_test_data): Add more tests.
12692         * math/libm-test.inc: Add drem and pow10 to list of tested
12693         functions.
12694         (pow10_test): New function.
12695         (drem_test): Likewise.
12696         (drem_test_tonearest): Likewise.
12697         (drem_test_towardzero): Likewise.
12698         (drem_test_downward): Likewise.
12699         (drem_test_upward): Likewise.
12700         (main): Call the new functions.
12702         * math/libm-test.inc (finite_test_data): Remove.
12703         (finite_test): Run tests from isfinite_test_data.
12704         (gamma_test_data): Remove.
12705         (gamma_test): Run tests from lgamma_test_data.
12706         * sysdeps/i386/fpu/libm-test-ulps: Update.
12707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12709 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12711         * manual/platform.texi: Add PowerPC PPR function set documentation.
12712         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12713         implementation.
12715 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
12717         * math/libm-test.inc (MAX_EXP): Define.
12718         (ULPDIFF): Define.
12719         (ulp): New function.
12720         (check_float_internal): Use ULPDIFF.
12721         (cpow_test): Disable failing test.
12722         (check_ulp): Test ulp() implemetnation.
12723         (main): Call check_ulp before starting tests.
12725 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
12727         * math/gen-libm-test.pl (generate_testfile): Do not handle
12728         START_DATA and END_DATA.
12729         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12730         END_DATA.
12731         (acos_tonearest_test_data): Likewise.
12732         (acos_towardzero_test_data): Likewise.
12733         (acos_downward_test_data): Likewise.
12734         (acos_upward_test_data): Likewise.
12735         (acosh_test_data): Likewise.
12736         (asin_test_data): Likewise.
12737         (asin_tonearest_test_data): Likewise.
12738         (asin_towardzero_test_data): Likewise.
12739         (asin_downward_test_data): Likewise.
12740         (asin_upward_test_data): Likewise.
12741         (asinh_test_data): Likewise.
12742         (atan_test_data): Likewise.
12743         (atanh_test_data): Likewise.
12744         (atan2_test_data): Likewise.
12745         (cabs_test_data): Likewise.
12746         (cacos_test_data): Likewise.
12747         (cacosh_test_data): Likewise.
12748         (carg_test_data): Likewise.
12749         (casin_test_data): Likewise.
12750         (casinh_test_data): Likewise.
12751         (catan_test_data): Likewise.
12752         (catanh_test_data): Likewise.
12753         (cbrt_test_data): Likewise.
12754         (ccos_test_data): Likewise.
12755         (ccosh_test_data): Likewise.
12756         (ceil_test_data): Likewise.
12757         (cexp_test_data): Likewise.
12758         (cimag_test_data): Likewise.
12759         (clog_test_data): Likewise.
12760         (clog10_test_data): Likewise.
12761         (conj_test_data): Likewise.
12762         (copysign_test_data): Likewise.
12763         (cos_test_data): Likewise.
12764         (cos_tonearest_test_data): Likewise.
12765         (cos_towardzero_test_data): Likewise.
12766         (cos_downward_test_data): Likewise.
12767         (cos_upward_test_data): Likewise.
12768         (cosh_test_data): Likewise.
12769         (cosh_tonearest_test_data): Likewise.
12770         (cosh_towardzero_test_data): Likewise.
12771         (cosh_downward_test_data): Likewise.
12772         (cosh_upward_test_data): Likewise.
12773         (cpow_test_data): Likewise.
12774         (cproj_test_data): Likewise.
12775         (creal_test_data): Likewise.
12776         (csin_test_data): Likewise.
12777         (csinh_test_data): Likewise.
12778         (csqrt_test_data): Likewise.
12779         (ctan_test_data): Likewise.
12780         (ctan_tonearest_test_data): Likewise.
12781         (ctan_towardzero_test_data): Likewise.
12782         (ctan_downward_test_data): Likewise.
12783         (ctan_upward_test_data): Likewise.
12784         (ctanh_test_data): Likewise.
12785         (ctanh_tonearest_test_data): Likewise.
12786         (ctanh_towardzero_test_data): Likewise.
12787         (ctanh_downward_test_data): Likewise.
12788         (ctanh_upward_test_data): Likewise.
12789         (erf_test_data): Likewise.
12790         (erfc_test_data): Likewise.
12791         (exp_test_data): Likewise.
12792         (exp_tonearest_test_data): Likewise.
12793         (exp_towardzero_test_data): Likewise.
12794         (exp_downward_test_data): Likewise.
12795         (exp_upward_test_data): Likewise.
12796         (exp10_test_data): Likewise.
12797         (exp2_test_data): Likewise.
12798         (expm1_test_data): Likewise.
12799         (fabs_test_data): Likewise.
12800         (fdim_test_data): Likewise.
12801         (finite_test_data): Likewise.
12802         (floor_test_data): Likewise.
12803         (fma_test_data): Likewise.
12804         (fma_towardzero_test_data): Likewise.
12805         (fma_downward_test_data): Likewise.
12806         (fma_upward_test_data): Likewise.
12807         (fmax_test_data): Likewise.
12808         (fmin_test_data): Likewise.
12809         (fmod_test_data): Likewise.
12810         (fpclassify_test_data): Likewise.
12811         (frexp_test_data): Likewise.
12812         (gamma_test_data): Likewise.
12813         (hypot_test_data): Likewise.
12814         (ilogb_test_data): Likewise.
12815         (isfinite_test_data): Likewise.
12816         (isgreater_test_data): Likewise.
12817         (isgreaterequal_test_data): Likewise.
12818         (isinf_test_data): Likewise.
12819         (isless_test_data): Likewise.
12820         (islessequal_test_data): Likewise.
12821         (islessgreater_test_data): Likewise.
12822         (isnan_test_data): Likewise.
12823         (isnormal_test_data): Likewise.
12824         (issignaling_test_data): Likewise.
12825         (isunordered_test_data): Likewise.
12826         (j0_test_data): Likewise.
12827         (j1_test_data): Likewise.
12828         (jn_test_data): Likewise.
12829         (ldexp_test_data): Likewise.
12830         (lgamma_test_data): Likewise.
12831         (lrint_test_data): Likewise.
12832         (lrint_tonearest_test_data): Likewise.
12833         (lrint_towardzero_test_data): Likewise.
12834         (lrint_downward_test_data): Likewise.
12835         (lrint_upward_test_data): Likewise.
12836         (llrint_test_data): Likewise.
12837         (llrint_tonearest_test_data): Likewise.
12838         (llrint_towardzero_test_data): Likewise.
12839         (llrint_downward_test_data): Likewise.
12840         (llrint_upward_test_data): Likewise.
12841         (log_test_data): Likewise.
12842         (log10_test_data): Likewise.
12843         (log1p_test_data): Likewise.
12844         (log2_test_data): Likewise.
12845         (logb_test_data): Likewise.
12846         (logb_downward_test_data): Likewise.
12847         (lround_test_data): Likewise.
12848         (llround_test_data): Likewise.
12849         (modf_test_data): Likewise.
12850         (nearbyint_test_data): Likewise.
12851         (nextafter_test_data): Likewise.
12852         (nexttoward_test_data): Likewise.
12853         (pow_test_data): Likewise.
12854         (pow_tonearest_test_data): Likewise.
12855         (pow_towardzero_test_data): Likewise.
12856         (pow_downward_test_data): Likewise.
12857         (pow_upward_test_data): Likewise.
12858         (remainder_test_data): Likewise.
12859         (remainder_tonearest_test_data): Likewise.
12860         (remainder_towardzero_test_data): Likewise.
12861         (remainder_downward_test_data): Likewise.
12862         (remainder_upward_test_data): Likewise.
12863         (remquo_test_data): Likewise.
12864         (rint_test_data): Likewise.
12865         (rint_tonearest_test_data): Likewise.
12866         (rint_towardzero_test_data): Likewise.
12867         (rint_downward_test_data): Likewise.
12868         (rint_upward_test_data): Likewise.
12869         (round_test_data): Likewise.
12870         (scalb_test_data): Likewise.
12871         (scalbn_test_data): Likewise.
12872         (scalbln_test_data): Likewise.
12873         (signbit_test_data): Likewise.
12874         (sin_test_data): Likewise.
12875         (sin_tonearest_test_data): Likewise.
12876         (sin_towardzero_test_data): Likewise.
12877         (sin_downward_test_data): Likewise.
12878         (sin_upward_test_data): Likewise.
12879         (sincos_test_data): Likewise.
12880         (sinh_test_data): Likewise.
12881         (sinh_tonearest_test_data): Likewise.
12882         (sinh_towardzero_test_data): Likewise.
12883         (sinh_downward_test_data): Likewise.
12884         (sinh_upward_test_data): Likewise.
12885         (sqrt_test_data): Likewise.
12886         (tan_test_data): Likewise.
12887         (tan_tonearest_test_data): Likewise.
12888         (tan_towardzero_test_data): Likewise.
12889         (tan_downward_test_data): Likewise.
12890         (tan_upward_test_data): Likewise.
12891         (tanh_test_data): Likewise.
12892         (tgamma_test_data): Likewise.
12893         (trunc_test_data): Likewise.
12894         (y0_test_data): Likewise.
12895         (y1_test_data): Likewise.
12896         (yn_test_data): Likewise.
12897         (significand_test_data): Likewise.
12899         * math/gen-libm-test.pl (@functions): Remove variable.
12900         (generate_testfile): Don't handle START and END lines.
12901         * math/libm-test.inc (START): New macro.
12902         (END): Likewise.
12903         (END_COMPLEX): Likewise.
12904         (acos_test): Use END macro without arguments.
12905         (acos_test_tonearest): Likewise.
12906         (acos_test_towardzero): Likewise.
12907         (acos_test_downward): Likewise.
12908         (acos_test_upward): Likewise.
12909         (acosh_test): Likewise.
12910         (asin_test): Likewise.
12911         (asin_test_tonearest): Likewise.
12912         (asin_test_towardzero): Likewise.
12913         (asin_test_downward): Likewise.
12914         (asin_test_upward): Likewise.
12915         (asinh_test): Likewise.
12916         (atan_test): Likewise.
12917         (atanh_test): Likewise.
12918         (atan2_test): Likewise.
12919         (cabs_test): Likewise.
12920         (cacos_test): Use END_COMPLEX macro without arguments.
12921         (cacosh_test): Likewise.
12922         (carg_test): Use END macro without arguments.
12923         (casin_test): Use END_COMPLEX macro without arguments.
12924         (casinh_test): Likewise.
12925         (catan_test): Likewise.
12926         (catanh_test): Likewise.
12927         (cbrt_test): Use END macro without arguments.
12928         (ccos_test): Use END_COMPLEX macro without arguments.
12929         (ccosh_test): Likewise.
12930         (ceil_test): Use END macro without arguments.
12931         (cexp_test): Use END_COMPLEX macro without arguments.
12932         (cimag_test): Use END macro without arguments.
12933         (clog_test): Use END_COMPLEX macro without arguments.
12934         (clog10_test): Likewise.
12935         (conj_test): Likewise.
12936         (copysign_test): Use END macro without arguments.
12937         (cos_test): Likewise.
12938         (cos_test_tonearest): Likewise.
12939         (cos_test_towardzero): Likewise.
12940         (cos_test_downward): Likewise.
12941         (cos_test_upward): Likewise.
12942         (cosh_test): Likewise.
12943         (cosh_test_tonearest): Likewise.
12944         (cosh_test_towardzero): Likewise.
12945         (cosh_test_downward): Likewise.
12946         (cosh_test_upward): Likewise.
12947         (cpow_test): Use END_COMPLEX macro without arguments.
12948         (cproj_test): Likewise.
12949         (creal_test): Use END macro without arguments.
12950         (csin_test): Use END_COMPLEX macro without arguments.
12951         (csinh_test): Likewise.
12952         (csqrt_test): Likewise.
12953         (ctan_test): Likewise.
12954         (ctan_test_tonearest): Likewise.
12955         (ctan_test_towardzero): Likewise.
12956         (ctan_test_downward): Likewise.
12957         (ctan_test_upward): Likewise.
12958         (ctanh_test): Likewise.
12959         (ctanh_test_tonearest): Likewise.
12960         (ctanh_test_towardzero): Likewise.
12961         (ctanh_test_downward): Likewise.
12962         (ctanh_test_upward): Likewise.
12963         (erf_test): Use END macro without arguments.
12964         (erfc_test): Likewise.
12965         (exp_test): Likewise.
12966         (exp_test_tonearest): Likewise.
12967         (exp_test_towardzero): Likewise.
12968         (exp_test_downward): Likewise.
12969         (exp_test_upward): Likewise.
12970         (exp10_test): Likewise.
12971         (exp2_test): Likewise.
12972         (expm1_test): Likewise.
12973         (fabs_test): Likewise.
12974         (fdim_test): Likewise.
12975         (finite_test): Likewise.
12976         (floor_test): Likewise.
12977         (fma_test): Likewise.
12978         (fma_test_towardzero): Likewise.
12979         (fma_test_downward): Likewise.
12980         (fma_test_upward): Likewise.
12981         (fmax_test): Likewise.
12982         (fmin_test): Likewise.
12983         (fmod_test): Likewise.
12984         (fpclassify_test): Likewise.
12985         (frexp_test): Likewise.
12986         (gamma_test): Likewise.
12987         (hypot_test): Likewise.
12988         (ilogb_test): Likewise.
12989         (isfinite_test): Likewise.
12990         (isgreater_test): Likewise.
12991         (isgreaterequal_test): Likewise.
12992         (isinf_test): Likewise.
12993         (isless_test): Likewise.
12994         (islessequal_test): Likewise.
12995         (islessgreater_test): Likewise.
12996         (isnan_test): Likewise.
12997         (isnormal_test): Likewise.
12998         (issignaling_test): Likewise.
12999         (isunordered_test): Likewise.
13000         (j0_test): Likewise.
13001         (j1_test): Likewise.
13002         (jn_test): Likewise.
13003         (ldexp_test): Likewise.
13004         (lgamma_test): Likewise.
13005         (lrint_test): Likewise.
13006         (lrint_test_tonearest): Likewise.
13007         (lrint_test_towardzero): Likewise.
13008         (lrint_test_downward): Likewise.
13009         (lrint_test_upward): Likewise.
13010         (llrint_test): Likewise.
13011         (llrint_test_tonearest): Likewise.
13012         (llrint_test_towardzero): Likewise.
13013         (llrint_test_downward): Likewise.
13014         (llrint_test_upward): Likewise.
13015         (log_test): Likewise.
13016         (log10_test): Likewise.
13017         (log1p_test): Likewise.
13018         (log2_test): Likewise.
13019         (logb_test): Likewise.
13020         (logb_test_downward): Likewise.
13021         (lround_test): Likewise.
13022         (llround_test): Likewise.
13023         (modf_test): Likewise.
13024         (nearbyint_test): Likewise.
13025         (nextafter_test): Likewise.
13026         (nexttoward_test): Likewise.
13027         (pow_test): Likewise.
13028         (pow_test_tonearest): Likewise.
13029         (pow_test_towardzero): Likewise.
13030         (pow_test_downward): Likewise.
13031         (pow_test_upward): Likewise.
13032         (remainder_test): Likewise.
13033         (remainder_test_tonearest): Likewise.
13034         (remainder_test_towardzero): Likewise.
13035         (remainder_test_downward): Likewise.
13036         (remainder_test_upward): Likewise.
13037         (remquo_test): Likewise.
13038         (rint_test): Likewise.
13039         (rint_test_tonearest): Likewise.
13040         (rint_test_towardzero): Likewise.
13041         (rint_test_downward): Likewise.
13042         (rint_test_upward): Likewise.
13043         (round_test): Likewise.
13044         (scalb_test): Likewise.
13045         (scalbn_test): Likewise.
13046         (scalbln_test): Likewise.
13047         (signbit_test): Likewise.
13048         (sin_test): Likewise.
13049         (sin_test_tonearest): Likewise.
13050         (sin_test_towardzero): Likewise.
13051         (sin_test_downward): Likewise.
13052         (sin_test_upward): Likewise.
13053         (sincos_test): Likewise.
13054         (sinh_test): Likewise.
13055         (sinh_test_tonearest): Likewise.
13056         (sinh_test_towardzero): Likewise.
13057         (sinh_test_downward): Likewise.
13058         (sinh_test_upward): Likewise.
13059         (sqrt_test): Likewise.
13060         (tan_test): Likewise.
13061         (tan_test_tonearest): Likewise.
13062         (tan_test_towardzero): Likewise.
13063         (tan_test_downward): Likewise.
13064         (tan_test_upward): Likewise.
13065         (tanh_test): Likewise.
13066         (tgamma_test): Likewise.
13067         (trunc_test): Likewise.
13068         (y0_test): Likewise.
13069         (y1_test): Likewise.
13070         (yn_test): Likewise.
13071         (significand_test): Likewise.
13073 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
13075         [BZ #15381]
13076         * libio/genops.c (_IO_no_init): Initialize wide struct info.
13078 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
13080         [BZ #14894]
13081         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13082         __ppc_mdoio and __ppc_mdoom.
13083         * manual/platform.texi: Document new functions __ppc_yield,
13084         __ppc_mdoio and __ppc_mdoom.
13086 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
13088         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13089         (main): Mention "tls" pseudo-hwcap is legacy.
13090         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13092 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
13094         * math/gen-libm-test.pl (parse_args): Output only string of
13095         arguments as text for test name, not full call or descriptions of
13096         tests for extra outputs.
13097         (generate_testfile): Do not pass function name to parse_args.
13098         Generate this_func variable from START.
13099         * math/libm-test.inc (struct test_f_f_data): Rename test_name
13100         field to arg_str.
13101         (struct test_ff_f_data): Likewise.
13102         (test_ff_f_data_nexttoward): Likewise.
13103         (struct test_fi_f_data): Likewise.
13104         (struct test_fl_f_data): Likewise.
13105         (struct test_if_f_data): Likewise.
13106         (struct test_fff_f_data): Likewise.
13107         (struct test_c_f_data): Likewise.
13108         (struct test_f_f1_data): Likewise.  Remove field extra_name.
13109         (struct test_fF_f1_data): Likewise.
13110         (struct test_ffI_f1_data): Likewise.
13111         (struct test_c_c_data): Rename test_name field to arg_str.
13112         (struct test_cc_c_data): Likewise.
13113         (struct test_f_i_data): Likewise.
13114         (struct test_ff_i_data): Likewise.
13115         (struct test_f_l_data): Likewise.
13116         (struct test_f_L_data): Likewise.
13117         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
13118         and extra2_name.
13119         (COMMON_TEST_SETUP): New macro.
13120         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13121         (COMMON_TEST_CLEANUP): Likewise.
13122         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13123         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
13124         macros.
13125         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13126         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
13127         macros.
13128         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13129         (RUN_TEST_fff_f): Take argument string.  Call new setup and
13130         cleanup macros.
13131         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13132         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
13133         macros.
13134         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13135         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
13136         macros.
13137         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13138         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
13139         cleanup macros.
13140         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13141         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
13142         cleanup macros.
13143         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13144         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
13145         cleanup macros.
13146         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13147         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
13148         macros.
13149         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13150         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
13151         macros.
13152         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13153         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
13154         macros.
13155         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13156         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
13157         cleanup macros.
13158         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13159         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
13160         cleanup macros.
13161         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13162         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
13163         macros.
13164         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13165         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
13166         cleanup macros.
13167         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13168         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
13169         macros.
13170         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13171         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
13172         macros.
13173         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13174         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
13175         cleanup macros.
13176         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13178 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
13180         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13181         to _sifields.sigfault.
13182         (si_addr_lsb): Define new macro.
13183         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13184         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13185         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13187 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
13189         [BZ #15441]
13190         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13191         returns -1.
13192         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13193         null return -1.
13194         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13195         loading the domain.
13197 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
13199         * math/gen-libm-test.pl (parse_args): Do not include expected
13200         result in test name.
13201         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13202         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13203         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13204         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13205         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13208 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13210         * benchtests/Makefile: Sort function entries.
13212         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13213         tanh, asinh, acosh, atanh.
13214         * benchtests/acos-inputs: New file.
13215         * benchtests/acosh-inputs: New file.
13216         * benchtests/asin-inputs: New file.
13217         * benchtests/asinh-inputs: New file.
13218         * benchtests/atanh-inputs: New file.
13219         * benchtests/cosh-inputs: New file.
13220         * benchtests/log-inputs: New file.
13221         * benchtests/sinh-inputs: New file.
13222         * benchtests/tanh-inputs: New file.
13224 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
13226         [BZ #15339]
13227         * posix/tst-getaddrinfo4.c: New test.
13228         * posix/Makefile (tests): Add it.
13230 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13232         [BZ #15339]
13233         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13234         when no services were used.
13235         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13236         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13238 2013-05-21  Andreas Schwab  <schwab@suse.de>
13240         [BZ #15014]
13241         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13242         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13243         successful.
13244         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13245         redundant variable declarations and reallocation of buffer when
13246         parsing as IPv6 address.  Always set NSS status when called from
13247         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
13248         buffer too small.  Correct computation of needed size.
13249         * nss/Makefile (tests): Add test-digits-dots.
13250         * nss/test-digits-dots.c: New test.
13252 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13254         * benchtests/Makefile: Remove instructions for adding
13255         benchmark tests.
13256         * benchtests/README: New file to explain how to execute and
13257         enhance the benchmark tests.
13259 2013-05-21  Andreas Schwab  <schwab@suse.de>
13261         [BZ #15493]
13262         * setjmp/Makefile (tests): Add tst-sigsetjmp.
13263         * setjmp/tst-sigsetjmp.c: New test.
13265 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
13267         * sysdeps/x86_64/memset.S (memset): New implementation.
13268         (__bzero): Likewise.
13269         (__memset_tail): New function.
13271 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
13273         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13274         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13275         __memcpy_sse2_unaligned ifunc selection.
13276         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13277         Add memcpy-sse2-unaligned.S.
13278         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13279         Add: __memcpy_sse2_unaligned.
13281 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
13283         [BZ #15490]
13284         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13285         math_force_eval before restoring floating-point envrionment.
13286         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13287         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13288         Likewise.
13289         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13290         <math_private.h>.
13291         (__nearbyintl): Use math_force_eval before restoring
13292         floating-point environment.
13293         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13295         * math/gen-libm-test.pl (special_functions): Remove.
13296         (parse_args): Don't handle TEST_extra.  Handle functions with no
13297         return value.
13298         * math/libm-test.inc (struct test_sincos_data): Replace with
13299         struct test_fFF_11_data.
13300         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13301         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13302         (sincos_test_data): Change element type to struct
13303         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
13304         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13305         RUN_TEST_LOOP_sincos.
13306         * math/README.libm-test: Don't mention special handling of
13307         individual functions.
13308         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13309         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13310         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13311         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13312         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13315         * math/gen-libm-test.pl (get_variable): Remove function.
13316         (parse_args): Don't show pointer parameters to call in test
13317         names.  Use "extra output N" in test names for extra outputs
13318         rather than naming variables.
13320 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
13322         [BZ #15488]
13323         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13324         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13325         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13326         double tests.
13327         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13328         disable.
13329         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13330         check_long_double.
13332         * math/gen-libm-test.pl (@tests): Remove variable.
13333         ($count): Likewise.
13334         (new_test): Remove function.
13335         (show_exceptions): New function.
13336         (special_functions): Use show_exceptions instead of new_test.
13337         (parse_args): Likewise.
13338         (generate_testfile): Pass only function name in generated call to
13339         print_max_error or print_complex_max_error.
13340         (get_ulps): Do not handle complex tests specially.
13341         (output_test): Rename to ...
13342         (get_all_ulps_for_test): ... this.  Return a string rather than
13343         printing to a file.  Require ulps to be present.
13344         (output_ulps): Generate arrays rather than #defines.
13345         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13346         (struct ulp_data): New type.
13347         (BUILD_COMPLEX_ULP): Remove macro.
13348         (compare_ulp_data): New function.
13349         (find_ulps): Likewise.
13350         (find_test_ulps): Likewise.
13351         (find_function_ulps): Likewise.
13352         (find_complex_function_ulps): Likewise.
13353         (print_max_error): Determine allowed ulps using
13354         find_function_ulps.
13355         (print_complex_max_error): Determine allowed ulps using
13356         find_complex_function_ulps.
13357         (check_float_internal): Determine max ulps using find_test_ulps.
13358         (check_float): Do not take max_ulp parameter.  Update call to
13359         check_float_internal.
13360         (check_complex): Likewise.
13361         (check_int): Do not take max_ulp parameter.
13362         (check_long): Likewise.
13363         (check_bool): Likewise.
13364         (check_longlong): Likewise.
13365         (struct test_f_f_data): Remove max_ulp field.
13366         (struct test_ff_f_data): Likewise.
13367         (struct test_ff_f_data_nexttoward): Likewise.
13368         (struct test_fi_f_data): Likewise.
13369         (struct test_fl_f_data): Likewise.
13370         (struct test_if_f_data): Likewise.
13371         (struct test_fff_f_data): Likewise.
13372         (struct test_c_f_data): Likewise.
13373         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13374         (struct test_fF_f1_data): Likewise.
13375         (struct test_ffI_f1_data): Likewise.
13376         (struct test_c_c_data): Remove max_ulp field.
13377         (struct test_cc_c_data): Likewise.
13378         (struct test_f_i_data): Likewise.
13379         (struct test_ff_i_data): Likewise.
13380         (struct test_f_l_data): Likewise.
13381         (struct test_f_L_data): Likewise.
13382         (struct test_sincos_data): Likewise.
13383         (RUN_TEST_f_f): Do not handle ulps.
13384         (RUN_TEST_LOOP_f_f): Likewise.
13385         (RUN_TEST_2_f): Likewise.
13386         (RUN_TEST_LOOP_2_f): Likewise.
13387         (RUN_TEST_fff_f): Likewise.
13388         (RUN_TEST_LOOP_fff_f): Likewise.
13389         (RUN_TEST_c_f): Likewise.
13390         (RUN_TEST_LOOP_c_f): Likewise.
13391         (RUN_TEST_f_f1): Likewise.
13392         (RUN_TEST_LOOP_f_f1): Likewise.
13393         (RUN_TEST_fF_f1): Likewise.
13394         (RUN_TEST_LOOP_fF_f1): Likewise.
13395         (RUN_TEST_fI_f1): Likewise.
13396         (RUN_TEST_LOOP_fI_f1): Likewise.
13397         (RUN_TEST_ffI_f1): Likewise.
13398         (RUN_TEST_LOOP_ffI_f1): Likewise.
13399         (RUN_TEST_c_c): Likewise.
13400         (RUN_TEST_LOOP_c_c): Likewise.
13401         (RUN_TEST_cc_c): Likewise.
13402         (RUN_TEST_LOOP_cc_c): Likewise.
13403         (RUN_TEST_f_i): Likewise.
13404         (RUN_TEST_LOOP_f_i): Likewise.
13405         (RUN_TEST_f_i_tg): Likewise.
13406         (RUN_TEST_LOOP_f_i_tg): Likewise.
13407         (RUN_TEST_ff_i_tg): Likewise.
13408         (RUN_TEST_LOOP_ff_i_tg): Likewise.
13409         (RUN_TEST_f_b): Likewise.
13410         (RUN_TEST_LOOP_f_b): Likewise.
13411         (RUN_TEST_f_b_tg): Likewise.
13412         (RUN_TEST_LOOP_f_b_tg): Likewise.
13413         (RUN_TEST_f_l): Likewise.
13414         (RUN_TEST_LOOP_f_l): Likewise.
13415         (RUN_TEST_f_L): Likewise.
13416         (RUN_TEST_LOOP_f_L): Likewise.
13417         (RUN_TEST_sincos): Likewise.
13418         (RUN_TEST_LOOP_sincos): Likewise.
13420 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
13422         [BZ #15480]
13423         [BZ #15485]
13424         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13425         main case of finite arguments, set rounding mode to FE_TONEAREST
13426         and discard exceptions.
13427         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13428         exceptions.
13429         (remainder_tonearest_test_data): New variable.
13430         (remainder_test_tonearest): New function.
13431         (remainder_towardzero_test_data): New variable.
13432         (remainder_test_towardzero): New function.
13433         (remainder_downward_test_data): New variable.
13434         (remainder_test_downward): New function.
13435         (remainder_upward_test_data): New variable.
13436         (remainder_test_upward): New function.
13437         (main): Call the new test functions.
13439         * math/libm-test.inc (struct test_f_f1_data): Remove field
13440         extra_init.
13441         (struct test_fF_f1_data): Likewise.
13442         (struct test_ffI_f1_data): Likewise.
13443         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
13444         based on value of EXTRA_EXPECTED.
13445         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13446         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
13447         EXTRA_VAR based on value of EXTRA_EXPECTED.
13448         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13449         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
13450         EXTRA_VAR based on value of EXTRA_EXPECTED.
13451         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13452         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
13453         EXTRA_VAR based on value of EXTRA_EXPECTED.
13454         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13455         * math/gen-libm-test.pl (parse_args): Don't output initializers
13456         for extra output values.
13458         * math/libm-test.inc (check_int): Expect result to be exactly
13459         equal to expected value and do not handle ulps.
13460         (check_long): Likewise.
13461         (check_longlong): Likewise.
13463         * math/libm-test.inc (ceil_test_data): Test for "inexact"
13464         exceptions.
13465         (cimag_test_data): Likewise.
13466         (conj_test_data): Likewise.
13467         (copysign_test_data): Likewise.
13468         (cproj_test_data): Likewise.
13469         (creal_test_data): Likewise.
13470         (fabs_test_data): Likewise.
13471         (fdim_test_data): Likewise.
13472         (finite_test_data): Likewise.
13473         (floor_test_data): Likewise.
13474         (fmax_test_data): Likewise.
13475         (fmin_test_data): Likewise.
13476         (fmod_test_data): Likewise.
13477         (fpclassify_test_data): Likewise.
13478         (frexp_test_data): Likewise.
13479         (ilogb_test_data): Likewise.
13480         (isfinite_test_data): Likewise.
13481         (isgreater_test_data): Likewise.
13482         (isgreaterequal_test_data): Likewise.
13483         (isinf_test_data): Likewise.
13484         (isless_test_data): Likewise.
13485         (islessequal_test_data): Likewise.
13486         (islessgreater_test_data): Likewise.
13487         (isnan_test_data): Likewise.
13488         (isnormal_test_data): Likewise.
13489         (issignaling_test_data): Likewise.
13490         (isunordered_test_data): Likewise.
13491         (ldexp_test_data): Likewise.
13492         (lrint_test_data): Likewise.
13493         (lrint_test_data) [TEST_FLOAT]: Disable one test.
13494         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13495         (lrint_tonearest_test_data): Test for "inexact" exceptions.
13496         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13497         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13498         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13499         test input.
13500         (lrint_towardzero_test_data): Test for "inexact" exceptions.
13501         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13502         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13503         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13504         that test input.
13505         (lrint_downward_test_data): Test for "inexact" exceptions.
13506         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13507         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13508         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13509         test input.
13510         (lrint_upward_test_data): Test for "inexact" exceptions.
13511         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13512         test input.
13513         (llrint_test_data): Test for "inexact" exceptions.
13514         (llrint_test_data) [TEST_FLOAT]: Disable one test.
13515         (llrint_tonearest_test_data): Test for "inexact" exceptions.
13516         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13517         (llrint_towardzero_test_data): Test for "inexact" exceptions.
13518         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13519         (llrint_downward_test_data): Test for "inexact" exceptions.
13520         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13521         (llrint_upward_test_data): Test for "inexact" exceptions.
13522         (logb_test_data): Likewise.
13523         (logb_downward_test_data): Likewise.
13524         (nextafter_test_data): Likewise.
13525         (nexttoward_test_data): Likewise.
13526         (remainder_test_data): Likewise.
13527         (remquo_test_data): Likewise.
13528         (scalbn_test_data): Likewise.
13529         (scalbln_test_data): Likewise.
13530         (signbit_test_data): Likewise.
13531         (sqrt_test_data): Likewise.
13532         (significand_test_data): Likewise.
13534 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13536         [BZ #15424]
13537         * benchtests/bench-modf.c (struct args): Mark arg0 as
13538         volatile.
13539         * scripts/bench.pl: Mark members of struct args as volatile.
13541 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13543         [BZ # 15497]
13544         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13545         negative infinity on POWER6 or lower.
13546         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13548 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
13550         [BZ #15442]
13551         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13552         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13553         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13554         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13555         (_FP_SETQNAN): New macro.
13556         (_FP_SETQNAN_SEMIRAW): Likewise.
13557         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13558         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13559         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13560         (FP_EXTEND): Use _FP_FRAC_SNANP.
13561         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13562         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13563         into account.
13564         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13565         New macro.
13566         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13567         Likewise.
13569 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
13571         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13572         with DIVIDE_BY_ZERO_EXCEPTION.
13573         (gamma_test_data): Likewise.
13574         (lgamma_test_data): Likewise.
13575         (log_test_data): Likewise.
13576         (log10_test_data): Likewise.
13577         (log2_test_data): Likewise.
13578         (tgamma_test_data): Likewise.
13580         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13581         (acos_test_tonearest): Likewise.
13582         (acos_test_towardzero): Likewise.
13583         (acos_test_downward): Likewise.
13584         (acos_test_upward): Likewise.
13585         (acosh_test): Likewise.
13586         (asin_test): Likewise.
13587         (asin_test_tonearest): Likewise.
13588         (asin_test_towardzero): Likewise.
13589         (asin_test_downward): Likewise.
13590         (asin_test_upward): Likewise.
13591         (asinh_test): Likewise.
13592         (atan_test): Likewise.
13593         (atanh_test): Likewise.
13594         (atan2_test): Likewise.
13595         (cabs_test): Likewise.
13596         (cacos_test): Likewise.
13597         (cacosh_test): Likewise.
13598         (casin_test): Likewise.
13599         (casinh_test): Likewise.
13600         (catan_test): Likewise.
13601         (catanh_test): Likewise.
13602         (cbrt_test): Likewise.
13603         (ccos_test): Likewise.
13604         (ccosh_test): Likewise.
13605         (cexp_test): Likewise.
13606         (clog_test): Likewise.
13607         (clog10_test): Likewise.
13608         (cos_test): Likewise.
13609         (cos_test_tonearest): Likewise.
13610         (cos_test_towardzero): Likewise.
13611         (cos_test_downward): Likewise.
13612         (cos_test_upward): Likewise.
13613         (cosh_test): Likewise.
13614         (cosh_test_tonearest): Likewise.
13615         (cosh_test_towardzero): Likewise.
13616         (cosh_test_downward): Likewise.
13617         (cosh_test_upward): Likewise.
13618         (cpow_test): Likewise.
13619         (csin_test): Likewise.
13620         (csinh_test): Likewise.
13621         (csqrt_test): Likewise.
13622         (ctan_test): Likewise.
13623         (ctan_test_tonearest): Likewise.
13624         (ctan_test_towardzero): Likewise.
13625         (ctan_test_downward): Likewise.
13626         (ctan_test_upward): Likewise.
13627         (ctanh_test): Likewise.
13628         (ctanh_test_tonearest): Likewise.
13629         (ctanh_test_towardzero): Likewise.
13630         (ctanh_test_downward): Likewise.
13631         (ctanh_test_upward): Likewise.
13632         (erf_test): Likewise.
13633         (erfc_test): Likewise.
13634         (exp_test): Likewise.
13635         (exp_test_tonearest): Likewise.
13636         (exp_test_towardzero): Likewise.
13637         (exp_test_downward): Likewise.
13638         (exp_test_upward): Likewise.
13639         (exp10_test): Likewise.
13640         (exp2_test): Likewise.
13641         (expm1_test): Likewise.
13642         (fmod_test): Likewise.
13643         (gamma_test): Likewise.
13644         (hypot_test): Likewise.
13645         (j0_test): Likewise.
13646         (j1_test): Likewise.
13647         (jn_test): Likewise.
13648         (lgamma_test): Likewise.
13649         (log_test): Likewise.
13650         (log10_test): Likewise.
13651         (log1p_test): Likewise.
13652         (log2_test): Likewise.
13653         (logb_test_downward): Likewise.
13654         (pow_test): Likewise.
13655         (pow_test_tonearest): Likewise.
13656         (pow_test_towardzero): Likewise.
13657         (pow_test_downward): Likewise.
13658         (pow_test_upward): Likewise.
13659         (remainder_test): Likewise.
13660         (remquo_test): Likewise.
13661         (sin_test): Likewise.
13662         (sin_test_tonearest): Likewise.
13663         (sin_test_towardzero): Likewise.
13664         (sin_test_downward): Likewise.
13665         (sin_test_upward): Likewise.
13666         (sincos_test): Likewise.
13667         (sinh_test): Likewise.
13668         (sinh_test_tonearest): Likewise.
13669         (sinh_test_towardzero): Likewise.
13670         (sinh_test_downward): Likewise.
13671         (sinh_test_upward): Likewise.
13672         (sqrt_test): Likewise.
13673         (tan_test): Likewise.
13674         (tan_test_tonearest): Likewise.
13675         (tan_test_towardzero): Likewise.
13676         (tan_test_downward): Likewise.
13677         (tan_test_upward): Likewise.
13678         (tanh_test): Likewise.
13679         (tgamma_test): Likewise.
13680         (y0_test): Likewise.
13681         (y1_test): Likewise.
13682         (yn_test): Likewise.
13684         * math/gen-libm-test.pl (adjust_arg): Remove function.
13685         (special_function): Remove argument $in_func.  Only handle
13686         generating output for tables of tests, not inside functions.
13687         (parse_args): Likewise.
13688         (generate_testfile): Remove variable $in_func.  Update call to
13689         parse_args.
13690         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13691         (MINUS_ZERO_INIT): Rename macro to minus_zero.
13692         (PLUS_INFTY_INIT): Rename macro to plus_infty.
13693         (MINUS_INFTY_INIT): Rename macro to minus_infty.
13694         (QNAN_VALUE_INIT): Rename macro to qnan_value.
13695         (MAX_VALUE_INIT): Rename macro to max_value.
13696         (MIN_VALUE_INIT): Rename macro to min_value.
13697         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13698         (plus_zero): Remove variable.
13699         (minus_zero): Likewise.
13700         (plus_infty): Likewise.
13701         (minus_infty): Likewise.
13702         (qnan_value): Likewise.
13703         (max_value): Likewise.
13704         (min_value): Likewise.
13705         (min_subnorm_value): Likewise.
13707 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13709         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13710         uint64_t or uint32_t usage.
13711         * crypt/sha256-block.c: Likewise.
13712         * crypt/sha256-crypt.c: Likewise.
13713         * crypt/sha256.c: Likewise.
13714         * crypt/sha512-block.c: Likewise.
13715         * crypt/sha512-crypt.c: Likewise.
13716         * crypt/sha512.c: Likewise.
13717         * debug/backtrace-tst.c: Likewise.
13718         * debug/pcprofiledump.c: Likewise.
13719         * elf/cache.c: Likewise.
13720         * elf/dl-cache.c: Likewise.
13721         * elf/dl-misc.c: Likewise.
13722         * elf/dl-profile.c: Likewise.
13723         * elf/dl-support.c: Likewise.
13724         * elf/ldconfig.c: Likewise.
13725         * elf/sprof.c: Likewise.
13726         * iconv/dummy-repertoire.c: Likewise.
13727         * iconv/iconv_charmap.c: Likewise.
13728         * iconv/skeleton.c: Likewise.
13729         * iconvdata/8bit-generic.c: Likewise.
13730         * iconvdata/cp737.h: Likewise.
13731         * iconvdata/cp775.h: Likewise.
13732         * iconvdata/ibm1008.h: Likewise.
13733         * iconvdata/ibm1025.h: Likewise.
13734         * iconvdata/ibm1046.h: Likewise.
13735         * iconvdata/ibm1097.h: Likewise.
13736         * iconvdata/ibm1112.h: Likewise.
13737         * iconvdata/ibm1122.h: Likewise.
13738         * iconvdata/ibm1123.h: Likewise.
13739         * iconvdata/ibm1124.h: Likewise.
13740         * iconvdata/ibm1129.h: Likewise.
13741         * iconvdata/ibm1130.h: Likewise.
13742         * iconvdata/ibm1132.h: Likewise.
13743         * iconvdata/ibm1133.h: Likewise.
13744         * iconvdata/ibm1137.h: Likewise.
13745         * iconvdata/ibm1140.h: Likewise.
13746         * iconvdata/ibm1141.h: Likewise.
13747         * iconvdata/ibm1142.h: Likewise.
13748         * iconvdata/ibm1143.h: Likewise.
13749         * iconvdata/ibm1144.h: Likewise.
13750         * iconvdata/ibm1145.h: Likewise.
13751         * iconvdata/ibm1146.h: Likewise.
13752         * iconvdata/ibm1147.h: Likewise.
13753         * iconvdata/ibm1148.h: Likewise.
13754         * iconvdata/ibm1149.h: Likewise.
13755         * iconvdata/ibm1153.h: Likewise.
13756         * iconvdata/ibm1154.h: Likewise.
13757         * iconvdata/ibm1155.h: Likewise.
13758         * iconvdata/ibm1156.h: Likewise.
13759         * iconvdata/ibm1157.h: Likewise.
13760         * iconvdata/ibm1158.h: Likewise.
13761         * iconvdata/ibm1160.h: Likewise.
13762         * iconvdata/ibm1161.h: Likewise.
13763         * iconvdata/ibm1162.h: Likewise.
13764         * iconvdata/ibm1163.h: Likewise.
13765         * iconvdata/ibm1164.h: Likewise.
13766         * iconvdata/ibm1166.h: Likewise.
13767         * iconvdata/ibm1167.h: Likewise.
13768         * iconvdata/ibm12712.h: Likewise.
13769         * iconvdata/ibm1390.h: Likewise.
13770         * iconvdata/ibm1399.h: Likewise.
13771         * iconvdata/ibm16804.h: Likewise.
13772         * iconvdata/ibm4517.h: Likewise.
13773         * iconvdata/ibm4899.h: Likewise.
13774         * iconvdata/ibm4909.h: Likewise.
13775         * iconvdata/ibm4971.h: Likewise.
13776         * iconvdata/ibm5347.h: Likewise.
13777         * iconvdata/ibm803.h: Likewise.
13778         * iconvdata/ibm856.h: Likewise.
13779         * iconvdata/ibm901.h: Likewise.
13780         * iconvdata/ibm902.h: Likewise.
13781         * iconvdata/ibm9030.h: Likewise.
13782         * iconvdata/ibm9066.h: Likewise.
13783         * iconvdata/ibm921.h: Likewise.
13784         * iconvdata/ibm922.h: Likewise.
13785         * iconvdata/ibm9448.h: Likewise.
13786         * iconvdata/isiri-3342.h: Likewise.
13787         * iconvdata/jis0201.h: Likewise.
13788         * include/link.h: Likewise.
13789         * include/netdb.h: Likewise.
13790         * inet/check_native.c: Likewise.
13791         * inet/check_pf.c: Likewise.
13792         * inet/getipv4sourcefilter.c: Likewise.
13793         * inet/getnameinfo.c: Likewise.
13794         * inet/getsourcefilter.c: Likewise.
13795         * inet/htonl.c: Likewise.
13796         * inet/setipv4sourcefilter.c: Likewise.
13797         * inet/setsourcefilter.c: Likewise.
13798         * inet/test-inet6_opt.c: Likewise.
13799         * inet/tst-network.c: Likewise.
13800         * locale/C-collate.c: Likewise.
13801         * locale/C-ctype.c: Likewise.
13802         * locale/C-time.c: Likewise.
13803         * locale/C-translit.h: Likewise.
13804         * locale/loadarchive.c: Likewise.
13805         * locale/programs/3level.h: Likewise.
13806         * locale/programs/charmap.c: Likewise.
13807         * locale/programs/charmap.h: Likewise.
13808         * locale/programs/ld-address.c: Likewise.
13809         * locale/programs/ld-collate.c: Likewise.
13810         * locale/programs/ld-ctype.c: Likewise.
13811         * locale/programs/ld-identification.c: Likewise.
13812         * locale/programs/ld-measurement.c: Likewise.
13813         * locale/programs/ld-messages.c: Likewise.
13814         * locale/programs/ld-monetary.c: Likewise.
13815         * locale/programs/ld-name.c: Likewise.
13816         * locale/programs/ld-numeric.c: Likewise.
13817         * locale/programs/ld-paper.c: Likewise.
13818         * locale/programs/ld-telephone.c: Likewise.
13819         * locale/programs/ld-time.c: Likewise.
13820         * locale/programs/linereader.c: Likewise.
13821         * locale/programs/locale.c: Likewise.
13822         * locale/programs/locarchive.c: Likewise.
13823         * locale/programs/locfile.h: Likewise.
13824         * locale/programs/repertoire.c: Likewise.
13825         * locale/programs/simple-hash.c: Likewise.
13826         * locale/programs/simple-hash.h: Likewise.
13827         * malloc/memusage.c: Likewise.
13828         * malloc/memusagestat.c: Likewise.
13829         * nis/nis_defaults.c: Likewise.
13830         * nis/nis_hash.c: Likewise.
13831         * nis/nis_print.c: Likewise.
13832         * nis/nis_xdr.c: Likewise.
13833         * nscd/connections.c: Likewise.
13834         * nscd/hstcache.c: Likewise.
13835         * nscd/nscd_gethst_r.c: Likewise.
13836         * nscd/nscd_getserv_r.c: Likewise.
13837         * nscd/nscd_helper.c: Likewise.
13838         * nscd/servicescache.c: Likewise.
13839         * nss/makedb.c: Likewise.
13840         * nss/nss_db/db-XXX.c: Likewise.
13841         * nss/nss_db/db-initgroups.c: Likewise.
13842         * nss/nss_db/db-netgrp.c: Likewise.
13843         * nss/nss_files/files-network.c: Likewise.
13844         * nss/nss_files/files-parse.c: Likewise.
13845         * posix/bug-regex5.c: Likewise.
13846         * posix/fnmatch_loop.c: Likewise.
13847         * posix/regcomp.c: Likewise.
13848         * posix/regexec.c: Likewise.
13849         * posix/tst-rfc3484-2.c: Likewise.
13850         * posix/tst-rfc3484-3.c: Likewise.
13851         * posix/tst-rfc3484.c: Likewise.
13852         * resolv/nss_dns/dns-canon.c: Likewise.
13853         * resolv/nss_dns/dns-network.c: Likewise.
13854         * resolv/res_init.c: Likewise.
13855         * resolv/res_mkquery.c: Likewise.
13856         * resolv/tst-aton.c: Likewise.
13857         * stdlib/cxa_atexit.c: Likewise.
13858         * stdlib/cxa_finalize.c: Likewise.
13859         * stdlib/gen-fpioconst.c: Likewise.
13860         * stdlib/strtol_l.c: Likewise.
13861         * string/tst-endian.c: Likewise.
13862         * sunrpc/auth_des.c: Likewise.
13863         * sunrpc/clnt_udp.c: Likewise.
13864         * sunrpc/rtime.c: Likewise.
13865         * sunrpc/svcauth_des.c: Likewise.
13866         * sunrpc/xdr.c: Likewise.
13867         * sunrpc/xdr_intXX_t.c: Likewise.
13868         * sunrpc/xdr_rec.c: Likewise.
13869         * sysdeps/generic/ldconfig.h: Likewise.
13870         * sysdeps/generic/ldsodefs.h: Likewise.
13871         * sysdeps/generic/memusage.h: Likewise.
13872         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13873         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13874         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13875         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13876         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13877         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13878         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13879         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13880         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13881         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13882         * sysdeps/posix/getaddrinfo.c: Likewise.
13883         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13884         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13885         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13886         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13887         * sysdeps/powerpc/test-gettimebase.c: Likewise.
13888         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13889         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13890         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13891         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13892         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13893         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13894         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13895         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13896         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13897         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13898         * sysdeps/x86_64/dl-tls.h: Likewise.
13899         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13900         * time/alt_digit.c: Likewise.
13901         * time/era.c: Likewise.
13902         * wcsmbs/tst-c16c32-1.c: Likewise.
13904 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
13906         * math/libm-test.inc (struct test_sincos_data): New type.
13907         (RUN_TEST_LOOP_sincos): New macro.
13908         (sincos_test_data): New variable.
13909         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13911 2013-05-16  Richard Henderson  <rth@redhat.com>
13913         * math/atest-exp2.c (LIMB64): New macro.
13914         (CONSTSZ): New macro.
13915         (mp_exp1, mp_exp_m1, mp_log2): New variables.
13916         (hexdig): Move ...
13917         (print_mpn_fp): ... to function scope.
13918         (read_mpn_hex): Remove.
13919         (get_log2): Remove.
13920         (exp2_mpn): Use mp_log2.
13921         (main): Use mp_exp1.
13923 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
13925         * math/libm-test.inc: Remove comment about not testing "inexact"
13926         exceptions.
13927         (INEXACT_EXCEPTION): New macro.
13928         (NO_INEXACT_EXCEPTION): Likewise.
13929         (INVALID_EXCEPTION_OK): Update value.
13930         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13931         (OVERFLOW_EXCEPTION_OK): Likewise.
13932         (UNDERFLOW_EXCEPTION_OK): Likewise.
13933         (IGNORE_ZERO_INF_SIGN): Likewise.
13934         (ERRNO_UNCHANGED): Likewise.
13935         (ERRNO_EDOM): Likewise.
13936         (ERRNO_ERANGE): Likewise.
13937         (test_exceptions): Handle testing "inexact" exceptions.
13938         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13939         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13940         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13941         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13942         INEXACT_EXCEPTION.
13943         (rint_towardzero_test_data): Likewise.
13944         (rint_downward_test_data): Likewise.
13945         (rint_upward_test_data): Likewise.
13947         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13948         with OVERFLOW_EXCEPTION.
13949         (exp10_test_data): Likewise.
13950         (exp2_test_data): Likewise.
13951         (expm1_test_data): Likewise.
13952         (lgamma_test_data): Likewise.
13953         (pow_test_data): Likewise.
13954         (tgamma_test_data): Likewise.
13955         (yn_test_data): Remove duplicate test of overflow.
13957         * math/libm-test.inc (struct test_cc_c_data): New type.
13958         (RUN_TEST_LOOP_cc_c): New macro.
13959         (cpow_test_data): New variable.
13960         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13962         * math/libm-test.inc (struct test_f_L_data): New type.
13963         (RUN_TEST_LOOP_f_L): New macro.
13964         (llrint_test_data): New variable.
13965         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13966         (llrint_tonearest_test_data): New variable.
13967         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13968         (llrint_towardzero_test_data): New variable.
13969         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13970         (llrint_downward_test_data): New variable.
13971         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13972         (llrint_upward_test_data): New variable.
13973         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13974         (llround_test_data): New variable.
13975         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13977 2013-05-13  Peter Collingbourne  <pcc@google.com>
13979         * math/atest-exp2.c (get_log2): Remove const attribute.
13981 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
13983         * math/libm-test.inc (struct test_f_l_data): New type.
13984         (RUN_TEST_LOOP_f_l): New macro.
13985         (lrint_test_data): New variable.
13986         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13987         (lrint_tonearest_test_data): New variable.
13988         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13989         (lrint_towardzero_test_data): New variable.
13990         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13991         (lrint_downward_test_data): New variable.
13992         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13993         (lrint_upward_test_data): New variable.
13994         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13995         (lround_test_data): New variable.
13996         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13998 2013-05-15  Peter Collingbourne  <pcc@google.com>
14000         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14001         (EXTRACT_WORDS64) Use where appropriate.
14002         (INSERT_WORDS64) Likewise.
14004         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14005         constraints with x constraints.
14006         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14008         * malloc/obstack.c (_obstack_compat): Add initializer.
14010 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
14012         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14013         si_trapno and add si_addr_lsb to _sifields.sigfault.
14014         (si_trapno): Remove macro.
14015         (si_addr_lsb): Define new macro.
14016         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14018 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
14020         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14021         instead of TEST_f_l.
14022         (llrint_test_tonearest): Likewise.
14023         (llrint_test_towardzero): Likewise.
14024         (llrint_test_downward): Likewise.
14025         (llrint_test_upward): Likewise.
14026         (llround_test): Likewise.
14028         * math/libm-test.inc (struct test_f_i_data): Add comment.
14029         (RUN_TEST_LOOP_f_b): New macro.
14030         (RUN_TEST_LOOP_f_b_tg): Likewise.
14031         (finite_test_data): New variable.
14032         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14033         (isfinite_test_data): New variable.
14034         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14035         (isinf_test_data): New variable.
14036         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14037         (isnan_test_data): New variable.
14038         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14039         (isnormal_test_data): New variable.
14040         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14041         (issignaling_test_data): New variable.
14042         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14043         (signbit_test_data): New variable.
14044         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14046         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14047         with INVALID_EXCEPTION.
14048         (acosh_test_data): Likewise.
14049         (asin_test_data): Likewise.
14050         (atanh_test_data): Likewise.
14051         (fmod_test_data): Likewise.
14052         (log_test_data): Likewise.
14053         (log10_test_data): Likewise.
14054         (log2_test_data): Likewise.
14055         (pow_test_data): Likewise.
14056         (sqrt_test_data): Likewise.
14057         (y0_test_data): Likewise.
14058         (y1_test_data): Likewise.
14059         (yn_test_data): Likewise.
14061         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14062         function contents.
14064         * math/libm-test.inc (struct test_ff_i_data): New type.
14065         (RUN_TEST_LOOP_ff_i_tg): New macro.
14066         (isgreater_test_data): New variable.
14067         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14068         (isgreaterequal_test_data): New variable.
14069         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14070         (isless_test_data): New variable.
14071         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14072         (islessequal_test_data): New variable.
14073         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14074         (islessgreater_test_data): New variable.
14075         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14076         (isunordered_test_data): New variable.
14077         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14079 2013-05-14  David S. Miller  <davem@davemloft.net>
14081         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14083 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
14085         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14087         * math/libm-test.inc (struct test_fF_f1_data): Change type of
14088         extra_test to int.
14089         (struct test_f_i_data): Change type of max_ulp to int.
14091         * math/libm-test.inc (test_ffI_f1_data): New type.
14092         (RUN_TEST_LOOP_ffI_f1): New macro.
14093         (remquo_test_data): New variable.
14094         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14096         * setjmp/tst-setjmp-fp.c: New file.
14097         * setjmp/Makefile (tests): Add tst-setjmp-fp.
14098         (link-libm): New variable.
14099         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14101         * math/libm-test.inc (struct test_f_i_data): New type.
14102         (RUN_TEST_LOOP_f_i): New macro.
14103         (RUN_TEST_LOOP_f_i_tg): Likewise.
14104         (fpclassify_test_data): New variable.
14105         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14106         (ilogb_test_data): New variable.
14107         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14109         * math/libm-test.inc (scalbln_test): Correct function name in END
14110         call.
14112         * math/libm-test.inc (struct test_f_f1_data): Add comment.
14113         (RUN_TEST_LOOP_fI_f1): New macro.
14114         (frexp_test_data): New variable.
14115         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14117         * math/libm-test.inc (struct test_fF_f1_data): New type.
14118         (RUN_TEST_LOOP_fF_f1): New macro.
14119         (modf_test_data): New variable.
14120         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14122         * math/libm-test.inc (struct test_f_f1_data): New type.
14123         (RUN_TEST_LOOP_f_f1): New macro.
14124         (gamma_test_data): New variable.
14125         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14126         (lgamma_test_data): New variable.
14127         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14129 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
14131         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14132         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14133         (main): Comment "tls" pseudo-hwcap.
14135 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
14137         * math/libm-test.inc (struct test_fl_f_data): New type.
14138         (RUN_TEST_LOOP_fl_f): New variable.
14139         (scalbln_test_data): New variable.
14140         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14142         * math/libm-test.inc (struct test_fi_f_data): New type.
14143         (RUN_TEST_LOOP_fi_f): New macro.
14144         (ldexp_test_data): New variable.
14145         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14146         (scalbn_test_data): New variable.
14147         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14149         * math/libm-test.inc (struct test_c_f_data): New type.
14150         (RUN_TEST_LOOP_c_f): New macro.
14151         (cabs_test_data): New variable.
14152         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14153         (carg_test_data): New variable.
14154         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14155         (cimag_test_data): New variable.
14156         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14157         (creal_test_data): New variable.
14158         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14160         * math/libm-test.inc (struct test_if_f_data): New type.
14161         (RUN_TEST_LOOP_if_f): New macro.
14162         (jn_test_data): New variable.
14163         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14164         (yn_test_data): New variable.
14165         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14167         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14169 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14171         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14172         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14174 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14176         * benchtests/Makefile (CPPFLAGS-nonlib): Add
14177         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14178         (bench-deps): Add bench-timing.h.
14179         * benchtests-bench-skeleton.c: Include bench-timing.h.
14180         (main): Use TIMING_* macros instead of clock_gettime.
14181         * benchtests/bench-timing.h: New file.
14183         [BZ #14582]
14184         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14185         Renamed from _LIB_VERSION.
14186         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14188 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
14190         * math/libm-test.inc (struct test_fff_f_data): New type.
14191         (RUN_TEST_LOOP_fff_f): New macro.
14192         (fma_test_data): New variable.
14193         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14194         (fma_towardzero_test_data): New variable.
14195         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14196         (fma_downward_test_data): New variable.
14197         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14198         (fma_upward_test_data): New variable.
14199         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14201         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14202         (struct test_c_c_data): New type.
14203         (RUN_TEST_LOOP_c_c): New macro.
14204         (cacos_test_data): New variable.
14205         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14206         (cacosh_test_data): New variable.
14207         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14208         (casin_test_data): New variable.
14209         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14210         (casinh_test_data): New variable.
14211         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14212         (catan_test_data): New variable.
14213         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14214         (catanh_test_data): New variable.
14215         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14216         (ccos_test_data): New variable.
14217         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14218         (ccosh_test_data): New variable.
14219         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14220         (cexp_test_data): New variable.
14221         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14222         (clog_test_data): New variable.
14223         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14224         (clog10_test_data): New variable.
14225         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14226         (conj_test_data): New variable.
14227         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14228         (cproj_test_data): New variable.
14229         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14230         (csin_test_data): New variable.
14231         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14232         (csinh_test_data): New variable.
14233         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14234         (csqrt_test_data): New variable.
14235         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14236         (ctan_test_data): New variable.
14237         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14238         (ctan_tonearest_test_data): New variable.
14239         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14240         (ctan_towardzero_test_data): New variable.
14241         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14242         (ctan_downward_test_data): New variable.
14243         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14244         (ctan_upward_test_data): New variable.
14245         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14246         (ctanh_test_data): New variable.
14247         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14248         (ctanh_tonearest_test_data): New variable.
14249         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14250         (ctanh_towardzero_test_data): New variable.
14251         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14252         (ctanh_downward_test_data): New variable.
14253         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14254         (ctanh_upward_test_data): New variable.
14255         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14256         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14257         of BUILD_COMPLEX.
14259         * math/libm-test.inc (struct test_ff_f_data): New type.
14260         (struct test_ff_f_data_nexttoward): Likewise.
14261         (RUN_TEST_LOOP_2_f): New macro.
14262         (RUN_TEST_LOOP_ff_f): Likewise.
14263         (atan2_test_data): New variable.
14264         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14265         (copysign_test_data): New variable.
14266         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14267         (fdim_test_data): New variable.
14268         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14269         (fmax_test_data): New variable.
14270         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14271         (fmin_test_data): New variable.
14272         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14273         (fmod_test_data): New variable.
14274         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14275         (hypot_test_data): New variable.
14276         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14277         (nextafter_test_data): New variable.
14278         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14279         (nexttoward_test_data): New variable.
14280         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14281         (pow_test_data): New variable.
14282         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14283         (pow_tonearest_test_data): New variable.
14284         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14285         (pow_towardzero_test_data): New variable.
14286         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14287         (pow_downward_test_data): New variable.
14288         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14289         (pow_upward_test_data): New variable.
14290         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14291         (remainder_test_data): New variable.
14292         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14293         (scalb_test_data): New variable.
14294         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14295         * sysdeps/i386/fpu/libm-test-ulps: Update.
14297 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
14299         * math/libm-test.inc (fma_test): Use max_value instead of local
14300         variable fltmax.
14301         (nextafter_test): Likewise.
14303         * math/libm-test.inc (acos_towardzero_test_data): New variable.
14304         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14305         (acos_downward_test_data): New variable.
14306         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14307         (acos_upward_test_data): New variable.
14308         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14309         (acosh_test_data): New variable.
14310         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14311         (asin_test_data): New variable.
14312         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14313         (asin_tonearest_test_data): New variable.
14314         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14315         (asin_towardzero_test_data): New variable.
14316         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14317         (asin_downward_test_data): New variable.
14318         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14319         (asin_upward_test_data): New variable.
14320         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14321         (asinh_test_data): New variable.
14322         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14323         (atan_test_data): New variable.
14324         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14325         (atanh_test_data): New variable.
14326         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14327         (cbrt_test_data): New variable.
14328         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14329         (ceil_test_data): New variable.
14330         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14331         (cos_test_data): New variable.
14332         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14333         (cos_tonearest_test_data): New variable.
14334         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14335         (cos_towardzero_test_data): New variable.
14336         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14337         (cos_downward_test_data): New variable.
14338         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14339         (cos_upward_test_data): New variable.
14340         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14341         (cosh_test_data): New variable.
14342         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14343         (cosh_tonearest_test_data): New variable.
14344         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14345         (cosh_towardzero_test_data): New variable.
14346         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14347         (cosh_downward_test_data): New variable.
14348         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14349         (cosh_upward_test_data): New variable.
14350         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14351         (erf_test_data): New variable.
14352         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14353         (erfc_test_data): New variable.
14354         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14355         (exp_test_data): New variable.
14356         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14357         (exp_tonearest_test_data): New variable.
14358         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14359         (exp_towardzero_test_data): New variable.
14360         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14361         (exp_downward_test_data): New variable.
14362         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14363         (exp_upward_test_data): New variable.
14364         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14365         (exp10_test_data): New variable.
14366         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14367         (exp2_test_data): New variable.
14368         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14369         (expm1_test_data): New variable.
14370         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14371         (fabs_test_data): New variable.
14372         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14373         (floor_test_data): New variable.
14374         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14375         (j0_test_data): New variable.
14376         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14377         (j1_test_data): New variable.
14378         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14379         (log_test_data): New variable.
14380         (log_test): Run tests with RUN_TEST_LOOP_f_f.
14381         (log10_test_data): New variable.
14382         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14383         (log1p_test_data): New variable.
14384         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14385         (log2_test_data): New variable.
14386         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14387         (logb_test_data): New variable.
14388         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14389         (logb_downward_test_data): New variable.
14390         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14391         (nearbyint_test_data): New variable.
14392         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14393         (rint_test_data): New variable.
14394         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14395         (rint_tonearest_test_data): New variable.
14396         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14397         (rint_towardzero_test_data): New variable.
14398         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14399         (rint_downward_test_data): New variable.
14400         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14401         (rint_upward_test_data): New variable.
14402         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14403         (round_test_data): New variable.
14404         (round_test): Run tests with RUN_TEST_LOOP_f_f.
14405         (sin_test_data): New variable.
14406         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14407         (sin_tonearest_test_data): New variable.
14408         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14409         (sin_towardzero_test_data): New variable.
14410         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14411         (sin_downward_test_data): New variable.
14412         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14413         (sin_upward_test_data): New variable.
14414         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14415         (sinh_test_data): New variable.
14416         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14417         (sinh_tonearest_test_data): New variable.
14418         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14419         (sinh_towardzero_test_data): New variable.
14420         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14421         (sinh_downward_test_data): New variable.
14422         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14423         (sinh_upward_test_data): New variable.
14424         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14425         (sqrt_test_data): New variable.
14426         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14427         (tan_test_data): New variable.
14428         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14429         (tan_tonearest_test_data): New variable.
14430         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14431         (tan_towardzero_test_data): New variable.
14432         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14433         (tan_downward_test_data): New variable.
14434         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14435         (tan_upward_test_data): New variable.
14436         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14437         (tanh_test_data): New variable.
14438         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14439         (tgamma_test_data): New variable.
14440         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14441         (trunc_test_data): New variable.
14442         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14443         (y0_test_data): New variable.
14444         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14445         (y1_test_data): New variable.
14446         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14447         (significand_test_data): New variable.
14448         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14450 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
14452         [BZ #12387]
14453         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14455 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14457         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14459 2013-05-10  Andreas Jaeger  <aj@suse.de>
14461         [BZ #15448]
14462         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14463         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14465 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
14467         * math/gen-libm-test.pl (adjust_arg): New function.
14468         (special_functions): Handle generating output in both functions
14469         and arrays.
14470         (parse_args): Likewise.
14471         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
14472         $in_func argument to parse_args.
14473         * math/libm-test.inc (struct test_f_f_data): New type.
14474         (IF_ROUND_INIT_): New macro.
14475         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14476         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14477         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14478         (IF_ROUND_INIT_FE_UPWARD): Likewise.
14479         (ROUND_RESTORE_): Likewise.
14480         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14481         (ROUND_RESTORE_FE_TONEAREST): Likewise.
14482         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14483         (ROUND_RESTORE_FE_UPWARD): Likewise.
14484         (RUN_TEST_LOOP_f_f): New macro.
14485         (acos_test_data): New variable.
14486         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14487         (acos_tonearest_test_data): New variable.
14488         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14490 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14492         * benchtests/bench-skeleton.c (startup): Fix coding style.
14494 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
14496         [BZ #6809]
14497         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14498         negative infinity argument.
14499         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14500         negative infinity argument.
14501         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14502         negative infinity argument.
14503         * math/libm-test.inc (tgamma_test): Expect errno to be set for
14504         domain errors.
14506 2013-05-10  Florian Weimer  <fweimer@redhat.com>
14508         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14509         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14510         * iconv/iconv_prog.c (main): Likewise.
14511         * locale/programs/charmap-dir.c (charmap_readdir)
14512         (fopen_uncompressed): Likewise.
14513         * locale/programs/locfile.c (siblings_uncached)
14514         (write_locale_data): Use lstat64 instead of lstat.
14515         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14516         stat.
14518 2013-05-10  Andreas Jaeger  <aj@suse.de>
14520         [BZ #15395]
14521         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14522         localization.
14523         Include <locale.h>.
14525 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
14527         * elf/dl-close.c (_dl_close_worker): Add comments.
14529 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
14531         [BZ #15359]
14532         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14533         high part of pi/2.
14534         (__ieee754_rem_pio2l): Update comments.
14536         [BZ #15429]
14537         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14538         high part of pi/2.
14539         (__ieee754_rem_pio2l): Update comments.
14541         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14542         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14544         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14545         M_PI_4l.
14547         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14548         (M_PI_34_LOG10El): Likewise.
14549         (M_PI2_LOG10El): Likewise.
14550         (M_PI4_LOG10El): Likewise.
14551         (M_PI_LOG10El): Likewise.
14553 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14555         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14557 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
14559         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14560         (MINUS_ZERO_INIT): Likewise.
14561         (PLUS_INFTY_INIT): Likewise.
14562         (MINUS_INFTY_INIT): Likewise.
14563         (QNAN_VALUE_INIT): Likewise.
14564         (MAX_VALUE_INIT): Likewise.
14565         (MIN_VALUE_INIT): Likewise.
14566         (MIN_SUBNORM_VALUE_INIT): Likewise.
14567         (plus_zero): Initialize with PLUS_ZERO_INIT.
14568         (minus_zero): Initialize with MINUS_ZERO_INIT.
14569         (plus_infty): Initialize with PLUS_INFTY_INIT.
14570         (minus_infty): Initialize with MINUS_INFTY_INIT.
14571         (qnan_value): Initialize with QNAN_VALUE_INIT.
14572         (max_value): Initialize with MAX_VALUE_INIT.
14573         (min_value): Initialize with MIN_VALUE_INIT.
14574         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14576         * math/libm-test.inc (RUN_TEST_if_f): New macro.
14577         (jn_test): Use TEST_if_f instead of TEST_ff_f.
14578         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14579         (yn_test): Use TEST_if_f instead of TEST_ff_f.
14581         * math/libm-test.inc (RUN_TEST_f_f): New macro.
14582         (RUN_TEST_2_f): Likewise.
14583         (RUN_TEST_ff_f): Likewise.
14584         (RUN_TEST_fi_f): Likewise.
14585         (RUN_TEST_fl_f): Likewise.
14586         (RUN_TEST_fff_f): Likewise.
14587         (RUN_TEST_c_f): Likewise.
14588         (RUN_TEST_f_f1): Likewise.
14589         (RUN_TEST_fF_f1): Likewise.
14590         (RUN_TEST_fI_f1): Likewise.
14591         (RUN_TEST_ffI_f1): Likewise.
14592         (RUN_TEST_c_c): Likewise.
14593         (RUN_TEST_cc_c): Likewise.
14594         (RUN_TEST_f_i): Likewise.
14595         (RUN_TEST_f_i_tg): Likewise.
14596         (RUN_TEST_ff_i_tg): Likewise.
14597         (RUN_TEST_f_b): Likewise.
14598         (RUN_TEST_f_b_tg): Likewise.
14599         (RUN_TEST_f_l): Likewise.
14600         (RUN_TEST_f_L): Likewise.
14601         (RUN_TEST_sincos): Likewise.
14602         * math/gen-libm-test.pl (new_test): Take new argument to indicate
14603         whether to show exceptions.  Do not include ");\n" in return
14604         value.
14605         (special_functions): Output call to RUN_TEST_sincos instead of
14606         check_float calls.  Update calls to new_test.
14607         (parse_args): Output call to single RUN_TEST_* macro instead of
14608         check_* calls and other assignments.  Update calls to new_test.
14610         [BZ #2546]
14611         [BZ #2560]
14612         [BZ #5159]
14613         [BZ #15426]
14614         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14615         input to result for tgamma overflow.
14616         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14617         (gamma_coeff): New variable.
14618         (NCOEFF): New macro.
14619         (gamma_positive): New function.
14620         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14621         underflow here.  Use gamma_positive instead of exp (lgamma) for
14622         other arguments.
14623         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14624         (gamma_coeff): New variable.
14625         (NCOEFF): New macro.
14626         (gammaf_positive): New function.
14627         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14628         underflow here.  Use gamma_positive instead of exp (lgamma) for
14629         other arguments.
14630         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14631         (gamma_coeff): New variable.
14632         (NCOEFF): New macro.
14633         (gammal_positive): New function.
14634         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14635         underflow here.  Use gamma_positive instead of exp (lgamma) for
14636         other arguments.
14637         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14638         (gamma_coeff): New variable.
14639         (NCOEFF): New macro.
14640         (gammal_positive): New function.
14641         (__ieee754_gammal_r): Handle positive infinity, overflow and
14642         underflow here.  Handle NaN the same as positive infinity.  Remove
14643         check x < 0xffffffff for negative integers.  Use gamma_positive
14644         instead of exp (lgamma) for other arguments.
14645         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14646         (gamma_coeff): New variable.
14647         (NCOEFF): New macro.
14648         (gammal_positive): New function.
14649         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14650         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14651         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14652         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14653         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14654         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14655         * sysdeps/generic/math_private.h (__gamma_productf): New
14656         prototype.
14657         (__gamma_product): Likewise.
14658         (__gamma_productl): Likewise.
14659         * math/Makefile (libm-calls): Add gamma_product.
14660         * math/libm-test.inc (tgamma_test): Add more tests.
14661         * sysdeps/i386/fpu/libm-test-ulps: Update.
14662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14664 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
14666         * benchtests/bench-skeleton.c (main): Preheat CPU.
14668 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
14670         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14672 2013-05-07  Roland McGrath  <roland@hack.frob.com>
14674         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14675         and _dl_skip_args_internal.
14677 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
14679         * manual/message.texi (Message Translation): Talk about users.
14680         Message to key mapping impacts design.
14682 2013-05-06  Roland McGrath  <roland@hack.frob.com>
14684         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14686         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14688         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14689         * sysdeps/wordsize-64/glob64.c: ... here.
14691         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14692         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14693         New macros.
14695         * debug/getlogin_r_chk.c: Moved to ...
14696         * login/getlogin_r_chk.c: ... here.
14697         * debug/Makefile (routines): Move getlogin_r_chk to ...
14698         * login/Makefile (routines): ... here.
14699         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14700         * login/Versions (libc: GLIBC_2.4): ... here.
14702         * io/poll.c (__poll): Renamed from poll.
14703         Add libc_hidden_def.
14704         (poll): Define as weak alias.
14706         * debug/ptsname_r_chk.c: Moved to ...
14707         * login/ptsname_r_chk.c: ... here.
14708         * debug/Makefile (routines): Move ptsname_r_chk to ...
14709         * login/Makefile (routines): ... here.
14710         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14711         * login/Versions (libc: GLIBC_2.4): ... here.
14713         * posix/getlogin.c: Moved to ...
14714         * login/getlogin.c: ... here.
14715         * posix/getlogin_r.c: Moved to ...
14716         * login/getlogin_r.c: ... here.
14717         * posix/getlogin_r.c: Moved to ...
14718         * login/getlogin_r.c: ... here.
14719         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14720         * login/Makefile (routines): ... here.
14721         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14722         * login/Versions (libc: GLIBC_2.0): ... here.
14724         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14725         (setrlimit): Define as weak alias.
14727         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14728         Call __ names for open, ftruncate, and close.
14729         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14730         (truncate): Define as weak alias.
14732 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
14734         * math/gen-libm-test.pl (parse_args): Initialize x before each
14735         test of frexp, modf and remquo.
14737         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14738         test signgam value.
14740 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14742         [BZ #15418]
14743         [BZ #15419]
14744         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14745         internal tests.
14746         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14748 2013-05-06  Roland McGrath  <roland@hack.frob.com>
14750         * elf/dl-writev.h: New file.
14751         * elf/dl-misc.c: Include it.
14752         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14753         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14755 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
14757         * math/libm-test.inc (noXFails): Remove variable.
14758         (noXPasses): Likewise.
14759         (BUILD_COMPLEX_INT): Remove macro.
14760         (print_screen): Remove xfail argument.
14761         (print_screen_max_error): Likewise.
14762         (update_stats): Likewise.
14763         (print_max_error): Likewise.  Update calls to other affected
14764         functions.
14765         (print_complex_max_error): Likewise.
14766         (test_single_exception): Update calls to print_screen.
14767         (test_single_errno): Likewise.
14768         (check_float_internal): Remove xfail argument.  Update calls to
14769         other affected functions.
14770         (check_float): Likewise.
14771         (check_complex): Likewise.
14772         (check_int): Likewise.
14773         (check_long): Likewise.
14774         (check_bool): Likewise.
14775         (check_longlong): Likewise.
14776         (main): Don't print noXFails and noXPasses.
14777         * math/gen-libm-test.pl (top level): Don't mention expected
14778         failure handling in comment.
14779         (new_test): Don't handle expected failures.
14780         (parse_args): Don't mention expected failure handling in comment.
14781         (generate_testfile): Don't handle expected failures.
14782         (parse_ulps): Likewise.
14783         (print_ulps_file): Likewise.
14784         (get_failure): Remove function.
14785         (output_test): Don't handle expected failures.
14786         * make/README.libm-test: Don't mention expected failure handling.
14788         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
14789         (minus_zero): Likewise.
14790         (plus_infty): Likewise.
14791         (minus_infty): Likewise.
14792         (qnan_value): Likewise.
14793         (max_value): Likewise.
14794         (min_value): Likewise.
14795         (min_subnorm_value): Likewise.
14796         (initialize): Do not initialize those variables dynamically.
14798 2013-05-03  Roland McGrath  <roland@hack.frob.com>
14800         * io/open.c (__open_2): Moved to ...
14801         * io/open_2.c: ... this new file.
14802         * io/open64.c (__open64_2): Moved to ...
14803         * io/open64_2.c: ... this new file.
14804         * io/openat.c (__openat_2): Moved to ...
14805         * io/openat_2.c: ... this new file.
14806         * io/openat64.c (__openat64_2): Moved to ...
14807         * io/openat64_2.c: ... this new file.
14808         * io/Makefile (routines): Add them.
14809         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14810         * sysdeps/unix/sysv/linux/open_2.c: File removed.
14811         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14812         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14813         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14814         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14815         (__openat64): Add hidden_ver.
14816         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14817         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14819         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14820         Separately conditionalize setting of GLRO(dl_sysinfo) so
14821         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14822         as well, but the actual setting is only under [NEED_DL_SYSINFO].
14824 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14826         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14827         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14828         definition.
14829         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14830         * sysdeps/unix/sysv/linux/powerpc/init-first.c
14831         (_libc_vdso_platform_setup): Add __vdso_time initialization.
14832         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14833         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14835 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
14837         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14838         test signgam value.
14840         * math/libm-test.inc (hypot_test): Do not use
14841         IGNORE_ZERO_INF_SIGN.
14843 2013-05-03  Andreas Jaeger  <aj@suse.de>
14845         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14846         Linux 3.9.
14847         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14848         (PF_MAX): Adjust for VSOCK change.
14850 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14852         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14854 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
14856         [BZ #15264]
14857         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14858         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14859         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14861 2013-05-02  David S. Miller  <davem@davemloft.net>
14863         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14865 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
14867         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14869 2013-05-01  Roland McGrath  <roland@hack.frob.com>
14871         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14873 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
14875         [BZ #14952]
14876         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14877         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14878         Use __attribute__ ((__gnu_inline__)).
14879         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14880         Don't use __attribute__ ((__gnu_inline__)).
14882 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
14884         [BZ #15423]
14885         * math/s_catan.c (__catan): Handle small real or imaginary part of
14886         input specially to avoid spurious underflow.
14887         * math/s_catanf.c (__catanf): Likewise.
14888         * math/s_catanh.c (__catanh): Likewise.
14889         * math/s_catanhf.c (__catanhf): Likewise.
14890         * math/s_catanhl.c (__catanhl): Likewise.
14891         * math/s_catanl.c (__catanl): Likewise.
14892         * math/libm-test.inc (catan_test): Add more tests.
14893         (catanh_test): Likewise.
14894         * sysdeps/i386/fpu/libm-test-ulps: Update.
14895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14897 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14899         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14901 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
14903         [BZ #15416]
14904         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14905         accurately for denominator in atan2.
14906         * math/s_catanf.c (__catanf): Likewise.
14907         * math/s_catanh.c (__catanh): Likewise.
14908         * math/s_catanhf.c (__catanhf): Likewise.
14909         * math/s_catanhl.c (__catanhl): Likewise.
14910         * math/s_catanl.c (__catanl): Likewise.
14911         * math/libm-test.inc (catan_test): Add more tests.
14912         (catanh_test): Likewise.
14913         * sysdeps/i386/fpu/libm-test-ulps: Update.
14914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14916 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14918         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14920         * benchtests/Makefile (bench): Remove slow benchmarks.
14921         * benchtests/atan-inputs: Add slow benchmark inputs.
14922         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14923         (BENCH_FUNC): Accept variant offset.
14924         (VARIANT): Define.
14925         * benchtests/bench-skeleton.c (main): Run benchmark for each
14926         variant.
14927         * benchtests/cos-inputs: Add slow benchmark inputs.
14928         * benchtests/exp-inputs: Likewise.
14929         * benchtests/pow-inputs: Likewise.
14930         * benchtests/sin-inputs: Likewise.
14931         * benchtests/slowatan-inputs: Remove.
14932         * benchtests/slowatan.c: Remove.
14933         * benchtests/slowcos-inputs: Remove.
14934         * benchtests/slowcos.c: Remove.
14935         * benchtests/slowexp-inputs: Remove.
14936         * benchtests/slowexp.c: Remove.
14937         * benchtests/slowpow-inputs: Remove.
14938         * benchtests/slowpow.c: Remove.
14939         * benchtests/slowsin-inputs: Remove.
14940         * benchtests/slowsin.c: Remove.
14941         * benchtests/slowtan-inputs: Remove.
14942         * benchtests/slowtan.c: Remove.
14943         * benchtests/tan-inputs: Add slow benchmark inputs.
14944         * scripts/bench.pl: Parse comments and directives.
14946         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
14947         in CPPFLAGS.
14948         ($(objpfx)bench-%.c): Remove *-ITER.
14949         * benchtests/bench-modf.c: Remove definition of ITER.
14950         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14951         (main): Loop for DURATION seconds instead of fixed number of
14952         iterations.
14953         * scripts/bench.pl: Don't expect iterations in parameters.
14955 2013-04-29  Roland McGrath  <roland@hack.frob.com>
14957         * io/fchdir.c (__fchdir): Renamed from fchdir.
14958         (fchdir): Define as weak alias.
14960 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
14962         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14963         (ERRNO_EDOM): Likewise.
14964         (ERRNO_ERANGE): Likewise.
14965         (noErrnoTests): New variable.
14966         (init_max_error): Set errno to 0.
14967         (test_single_errno): New function.
14968         (test_errno): Likewise.
14969         (check_float_internal): Call test_errno.  Set errno to 0.
14970         (check_complex): Refer to errno tests in comment.
14971         (check_int): Call test_errno.  Set errno to 0.
14972         (check_long): Likewise.
14973         (check_bool): Likewise.
14974         (check_longlong): Likewise.
14975         (cos_test): Use ERRNO_* flags for errno tests instead of
14976         check_int.
14977         (expm1_test): Likewise.
14978         (fmod_test): Likewise.
14979         (ilogb_test): Likewise.
14980         (lgamma_test): Likewise.
14981         (pow_test): Likewise.
14982         (remainder_test): Likewise.
14983         (sin_test): Likewise.
14984         (tan_test): Likewise.
14985         (yn_test): Likewise.
14986         (initialize): Set errno to 0.
14987         (main): Print number of errno tests.
14988         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14990 2013-04-29  Andreas Jaeger  <aj@suse.de>
14992         [BZ #15084]
14993         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14994         and RES_USEVC.
14996         [BZ #15085]
14997         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14998         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14999         unimplemented.
15001         [BZ #15380]
15002         * stdlib/random.c (__initstate): Return NULL if
15003         __initstate fails.
15005         [BZ #15086]
15006         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15007         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15008         RES_SNGLKUPREOP.
15010 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15012         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15014 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
15016         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15017         of individual tests.
15018         (casin_test): Likewise.
15019         (casinh_test): Likewise.
15021 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
15023         [BZ #15409]
15024         * math/s_catan.c (__catan): Handle arguments with large real or
15025         imaginary part separately without squaring.
15026         * math/s_catanf.c (__catanf): Likewise.
15027         * math/s_catanh.c (__catanh): Likewise.
15028         * math/s_catanhf.c (__catanhf): Likewise.
15029         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15030         and redefine.
15031         (__catanhl): Handle arguments with large real or imaginary part
15032         separately without squaring.
15033         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15034         and redefine.
15035         (__catanl): Handle arguments with large real or imaginary part
15036         separately without squaring.
15037         * math/libm-test.inc (catan_test): Add more tests.
15038         (catanh_test): Likewise.
15039         * sysdeps/i386/fpu/libm-test-ulps: Update.
15040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15042 2013-04-27  Andreas Jaeger  <aj@suse.de>
15044         [BZ #15007]
15045         * stdlib/stdlib.h: Update guards for qecvt.
15046         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15047         <stdlib.h>.
15049 2013-04-27  Allan McRae  <allan@archlinux.org>
15051         * sysdeps/i386/fpu/libm-test-ulps: Update.
15053 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
15055         [BZ #15406]
15056         * math/s_catan.c: Include <float.h>.
15057         (__catan): Ensure underflow exception occurs for underflowed
15058         result.
15059         * math/s_catanf.c: Include <float.h>.
15060         (__catanf): Ensure underflow exception occurs for underflowed
15061         result.
15062         * math/s_catanh.c: Include <float.h>.
15063         (__catanh): Ensure underflow exception occurs for underflowed
15064         result.
15065         * math/s_catanhf.c: Include <float.h>.
15066         (__catanhf): Ensure underflow exception occurs for underflowed
15067         result.
15068         * math/s_catanhl.c: Include <float.h>.
15069         (__catanhl): Ensure underflow exception occurs for underflowed
15070         result.
15071         * math/s_catanl.c: Include <float.h>.
15072         (__catanl): Ensure underflow exception occurs for underflowed
15073         result.
15074         * math/libm-test.inc (catan_test): Add more tests.
15075         (catanh_test): Likewise.
15077         [BZ #15405]
15078         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15079         underflowed result.
15080         * math/s_ccoshf.c (__ccoshf): Likewise.
15081         * math/s_ccoshl.c (__ccoshl): Likewise.
15082         * math/s_csin.c (__csin): Likewise.
15083         * math/s_csinf.c (__csinf): Likewise.
15084         * math/s_csinh.c (__csinh): Likewise.
15085         * math/s_csinhf.c (__csinhf): Likewise.
15086         * math/s_csinhl.c (__csinhl): Likewise.
15087         * math/s_csinl.c (__csinl): Likewise.
15088         * math/libm-test.inc (ccos_test): Add more tests.
15089         (ccosh_test): Likewise.
15090         (csin_test): Likewise.
15091         (csinh_test): Likewise.
15093 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15095         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15096         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15097         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15098         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15099         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15100         powerpc/power5+/fpu folders.
15101         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15104 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
15106         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15108 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
15110         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15111         additions to variable.
15112         [$(config-machine) = x86_64] (modules-names): Likewise.
15113         ($(objpfx)tst-audit3): Remove dependency.
15114         ($(objpfx)tst-audit3.out): Likewise.
15115         ($(objpfx)tst-audit4): Likewise.
15116         ($(objpfx)tst-audit4.out): Likewise.
15117         ($(objpfx)tst-audit5): Likewise.
15118         ($(objpfx)tst-audit5.out): Likewise.
15119         ($(objpfx)tst-audit6): Likewise.
15120         ($(objpfx)tst-audit6.out): Likewise.
15121         ($(objpfx)tst-audit7): Likewise.
15122         ($(objpfx)tst-audit7.out): Likewise.
15123         (tst-audit3-ENV): Remove variable.
15124         (tst-audit4-ENV): Likewise.
15125         (tst-audit5-ENV): Likewise.
15126         (tst-audit6-ENV): Likewise.
15127         (tst-audit7-ENV): Likewise.
15128         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15129         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15130         addition to variable.
15131         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15132         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15133         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15134         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15135         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15136         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15137         tst-audit3, tst-audit4 and tst-audit5.
15138         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15139         tst-audit6 and tst-audit7.
15140         [$(subdir) = elf] (modules-names): Add audit modules for those
15141         tests.
15142         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15143         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15144         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15145         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15146         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15147         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15148         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15149         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15150         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15151         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15152         [$(subdir) = elf] (tst-audit3-ENV): New variable.
15153         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15154         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15155         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15156         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15157         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15158         Likewise.
15159         [$(subdir) = elf && $(config-cflags-avx) = yes]
15160         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15161         [$(subdir) = elf && $(config-cflags-avx) = yes]
15162         (CFLAGS-tst-auditmod4a.c): Likewise.
15163         [$(subdir) = elf && $(config-cflags-avx) = yes]
15164         (CFLAGS-tst-auditmod4b.c): Likewise.
15165         [$(subdir) = elf && $(config-cflags-avx) = yes]
15166         (CFLAGS-tst-auditmod6b.c): Likewise.
15167         [$(subdir) = elf && $(config-cflags-avx) = yes]
15168         (CFLAGS-tst-auditmod6c.c): Likewise.
15169         [$(subdir) = elf && $(config-cflags-avx) = yes]
15170         (CFLAGS-tst-auditmod7b.c): Likewise.
15171         * elf/tst-audit3.c: Move to ...
15172         * sysdeps/x86_64/tst-audit3.c: ... here.
15173         * elf/tst-audit4.c: Move to ...
15174         * sysdeps/x86_64/tst-audit4.c: ... here.
15175         * elf/tst-audit5.c: Move to ...
15176         * sysdeps/x86_64/tst-audit5.c: ... here.
15177         * elf/tst-audit6.c: Move to ...
15178         * sysdeps/x86_64/tst-audit6.c: ... here.
15179         * elf/tst-audit7.c: Move to ...
15180         * sysdeps/x86_64/tst-audit7.c: ... here.
15181         * elf/tst-auditmod3a.c: Move to ...
15182         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15183         * elf/tst-auditmod3b.c: Move to ...
15184         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15185         * elf/tst-auditmod4a.c: Move to ...
15186         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15187         * elf/tst-auditmod4b.c: Move to ...
15188         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15189         * elf/tst-auditmod5a.c: Move to ...
15190         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15191         * elf/tst-auditmod5b.c: Move to ...
15192         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15193         * elf/tst-auditmod6a.c: Move to ...
15194         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15195         * elf/tst-auditmod6b.c: Move to ...
15196         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15197         * elf/tst-auditmod6c.c: Move to ...
15198         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15199         * elf/tst-auditmod7a.c: Move to ...
15200         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15201         * elf/tst-auditmod7b.c: Move to ...
15202         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15204 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
15206         [BZ #15366]
15207         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15208         define unconditionally.
15209         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15210         define unconditionally.
15211         (INT8_C, INT16_C, etc.): Likewise.
15213 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
15215         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15216         __ehdr_start with hidden visibility.
15218         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15220 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
15222         * math/libm-test.inc (cos_test): Use accurate hex constants.
15223         (sincost_test): Likewise.
15225 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
15227         * math/libm-test.inc (catan_test): Add more tests.
15228         (catanh_test): Likewise.
15230         * math/s_catanf.c (__catanf): Use suffixed floating-point
15231         constants.
15232         * math/s_catanhf.c (__catanhf): Likewise.
15233         * math/s_catanhl.c (__catanhl): Likewise.
15234         * math/s_catanl.c (__catanl): Likewise.
15236         [BZ #15394]
15237         * math/s_catan.c (__catan): Calculate imaginary part of result
15238         with log1p not log unless computing log of number close to 0.
15239         * math/s_catanf.c (__catanf): Likewise.
15240         * math/s_catanl.c (__catanl): Likewise.
15241         * math/s_catanh.c (__catanh): Calculate real part of result with
15242         log1p not log unless computing log of number close to 0.
15243         * math/s_catanhf.c (__catanhf): Likewise.
15244         * math/s_catanhl.c (__catanhl): Likewise.
15245         * math/libm-test.inc (catan_test): Add more tests.
15246         (catanh_test): Likewise.
15247         * sysdeps/i386/fpu/libm-test-ulps: Update.
15248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15250 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15252         * benchtests/Makefile: Mention files in which fast and slow
15253         paths of math functions are implemented.
15255 2013-04-23  Roland McGrath  <roland@hack.frob.com>
15257         * sysdeps/posix/timespec_get.c: New file.
15259 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15261         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15262         POWER.
15263         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15264         for POWER.
15265         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15266         powerpc/power5/fpu folders.
15267         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15268         * benchtests/Makefile: Add modf testcase.
15269         * benchtests/bench-modf.c: New file: Benchmark test for mo
15271 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15273         [BZ #14888]
15274         * time/Makefile (tests): Add tst-strptime-whitespace.
15275         * time/strptime_l.c (get_number): Use ISSPACE.
15276         (__strptime_internal): Likewise.
15277         * time/tst-strptime-whitespace.c: New test case.
15279 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
15281         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15282         member.
15283         (_nss_files_init): Set it here.
15285 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
15287         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15288         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15289         unsigned.
15291 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
15293         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15295 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
15297         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15298         size just once.
15300 2013-04-21  David S. Miller  <davem@davemloft.net>
15302         * po/ru.po: Update Russion translation from translation project.
15304 2013-04-17  Adam Conrad  <adconrad@0c3.net>
15306         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15307         and setfsgid.
15309 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
15311         * configure.in: Remove i386 configure warning. Remove i386 case.
15312         * configure: Regenerate.
15313         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15314         Add example to error message.
15315         * sysdeps/i386/configure: Regenerate.
15317 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15319         * benchtests/Makefile (bench): Add cos, tan, slowcos and
15320         slowtan.
15321         * benchtests/cos-inputs: New file.
15322         * benchtests/slowcos-inputs: New file.
15323         * benchtests/slowcos.c: New file.
15324         * benchtests/slowtan-inputs: New file.
15325         * benchtests/slowtan.c: New file.
15326         * benchtests/tan-inputs: New file.
15328 2013-04-16  Roland McGrath  <roland@hack.frob.com>
15330         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15331         considered kosher.
15333 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15335         * benchtests/Makefile: Include cppflags-iterator.mk to add
15336         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15338         * Makefile.in (bench-clean): New target.
15339         * benchtests/Makefile (bench-clean): Likewise.
15341 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
15343         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15345 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
15347         * stdio-common/tstdiomisc.c: Fix coding-style violation.
15349 2013-04-15  Andreas Schwab  <schwab@suse.de>
15351         * nscd/grpcache.c (cache_addgr): Properly check for short write.
15352         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15353         * nscd/pwdcache.c (cache_addpw): Likewise.
15354         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
15355         more than recsize.
15357 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15359         * benchtests/Makefile (bench): Write all output to
15360         bench-out.tmp together.
15362 2013-04-15  Andreas Schwab  <schwab@suse.de>
15364         * nscd/nscd.c (main): Don't fork again after closing files.
15366 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15368         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15370         * benchtests/Rules (bench-deps): Collect dependencies into a
15371         single variable.  Add Makefile to dependencies.
15372         ($(objpfx)bench-%.c): Depend on bench-deps.
15374 2013-04-12  Roland McGrath  <roland@hack.frob.com>
15375             Xavier Roche  <roche+kml2@exalead.com>
15377         [BZ #15361]
15378         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15379         just that it's a file descriptor.
15380         * manual/llio.texi (Synchronizing AIO Operations): Update description
15381         for EBADF error from aio_fsync.
15383 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15385         * Rules (bench): Move target definition...
15386         * benchtests/Makefile: ... here.
15388 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
15390         * math/libm-test.inc (cos_test): Fix PI/2 test.
15391         (sincos_test): Likewise.
15392         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15393         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15395 2013-04-11  Andreas Schwab  <schwab@suse.de>
15397         [BZ #13988]
15398         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15399         accept exponent character only when digits were seen.
15400         * stdio-common/Makefile (tests): Add bug26.
15401         * stdio-common/bug26.c: New file.
15403         [BZ #14293]
15404         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15405         non-freeable.
15407 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15409         * Makeconfig (rtld-prefix): Define built linker prefix.
15410         * Rules (run-bench): Use it.
15411         * math/Makefile (run-regen-ulps): Likewise.
15413         * Rules (bench): Remove eval.
15415 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15416             Roland McGrath  <roland@hack.frob.com>
15417             Ondrej Bilka  <neleai@seznam.cz>
15419         [BZ #15346]
15420         * time/getdate.c: Include ctype.h and alloca.h.
15421         (__getdate_r): Trim leading and trailing spaces of input.
15422         * time/tst-getdate.c (tests): Add tests with leading and
15423         trailing spaces.
15425 2013-04-08  Roland McGrath  <roland@hack.frob.com>
15427         [BZ #14280]
15428         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15429         when computing value.
15431 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
15433         * math/README.libm-test (How can I generate "libm-test-ulps"?):
15434         Use testrun.sh to run libm tests.
15436         [BZ #15309]
15437         * elf/dl-open.c (dl_open_worker): memset all of seen array.
15439 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
15441         [BZ #15264]
15442         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15444 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
15446         * Makefile.in (regen-ulps): New target.
15447         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15448         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15449         [ifneq (no,$(PERL)] (regen-ulps): New target.
15450         [ifeq (no,$(PERL)] (regen-ulps): New target.
15451         * math/libm-test.inc (ulps_file_name): Define.
15452         (output_dir): New variable.
15453         (options): Add "output-dir" option.
15454         (parse_opt): Handle 'o' case.
15455         (main): If output_dir is non-NULL use it as a prefix
15456         otherwise use "".
15457         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15459 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
15461         [BZ #10060, #10062]
15462         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15463         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15464         fail configure if __sync_val_compare_and_swap is not inlined.
15465         * sysdeps/i386/configure: Regenerate.
15466         * configure.in: Build for i686 when configured for i386.
15467         * configure: Regenerate.
15468         * README: Remove i386 reference.
15470 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
15472         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15473         * sysdeps/s390/s390-64/sysdep.h: Likewise.
15475 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
15477         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15478         (lmsnanval): New variables.
15479         (F): Add conversion tests.
15480         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15481         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15483         * stdio-common/tstdiomisc.c (F): Properly collect individual
15484         tests' results.
15486         [BZ #14686, #15336]
15487         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15488         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15489         Instead, use input NaN values or generate a qNaN by arithmetic
15490         operation.  Also fix bugs to comply with the standard.
15491         * math/libm-test.inc (remainder_test): Add more tests.
15493         [BZ #15335, #15342]
15494         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15495         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15496         input NaN values or generate a qNaN by arithmetic operation.
15498         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15499         unreachable code.
15501         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15502         definitions.
15504 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
15506         [BZ #14478]
15507         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15508         underflowed result.
15509         * math/s_cexpf.c (__cexpf): Likewise.
15510         * math/s_cexpl.c (__cexpl): Likewise.
15511         * math/libm-test.inc (cexp_test): Add more tests.
15513 2013-04-03  Andreas Schwab  <schwab@suse.de>
15515         [BZ #15330]
15516         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15517         order arrays from heap if bigger than alloca cutoff.
15519 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
15521         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15522         (SNAN_TESTS_double): Refer to GCC PR56831.
15523         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15524         GCC PR56828.
15526 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15528         * Rules (bench): Move bench.out after the run is complete.
15530         * Rules (bench): Echo currently running benchmark.
15532         * benchtests/Makefile (bench): Add atan and slowatan.
15533         * benchtests/atan-inputs: New file.
15534         * benchtests/slowatan-inputs: New file.
15535         * benchtests/slowatan.c: New file.
15537         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15538         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15539         its value.
15541         [BZ #15305]
15542         * sysdeps/unix/sysv/linux/kernel-features.h
15543         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15544         __ASSUME_XFS_RESTRICTED_CHOWN.
15545         * sysdeps/unix/sysv/linux/pathconf.c
15546         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15547         Save and restore errno.
15549 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
15551         [BZ #15327]
15552         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15553         arguments using __kernel_casinh.
15554         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15555         arguments using __kernel_casinhf.
15556         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15557         arguments using __kernel_casinhl.
15558         * math/libm-test.inc (cacosh_test): Add more tests.
15559         * sysdeps/i386/fpu/libm-test-ulps: Update.
15560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15562 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15564         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15565         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15567         * bench/Makefile (bench): Add sin and slowsin.
15568         * benchtests/sin-inputs: New file.
15569         * benchtests/slowsin-inputs: New file.
15570         * benchtests/slowsin.c: New file.
15572         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15573         (bench): Add slowexp and slowpow.
15574         (exp-ITER): Increase iterations.
15575         (pow-ITER): Likewise.
15576         * benchtests/exp-inputs: Change input.
15577         * benchtests/pow-inputs: Likewise.
15578         * benchtests/slowexp-inputs: New file.
15579         * benchtests/slowexp.c: New file.
15580         * benchtests/slowpow-inputs: New file.
15581         * benchtests/slowpow.c: New file.
15583 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15585         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15586         instructions.
15587         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15588         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15589         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15590         * benchtests/Makefile: Add rint benchtest.
15591         * benchtests/rint-inputs: Input for rint benchtest.
15593 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
15595         * Versions.def (libm): Add GLIBC_2.18.
15596         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15597         hidden libm prototypes.
15598         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15599         * math/Makefile (libm-calls): Add s_issignaling.
15600         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15601         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
15602         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15603         declaration.
15604         * math/math.h [__USE_GNU] (issignaling): New macro.
15605         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15606         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15607         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15608         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15609         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15610         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15611         * manual/arith.texi (issignaling): New section.
15612         * manual/libm-err-tab.pl (@all_functions): Update comment.
15613         * math/gen-libm-test.pl (parse_args): Apply special handling for
15614         issignaling.
15615         * math/libm-test.inc (print_float, issignaling_test): New
15616         functions.
15617         (check_float_internal): Add issignaling checks.
15618         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15619         default definition.
15620         * sysdeps/powerpc/math-tests.h: New file.
15621         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15622         tests.
15623         * math/test-snan.c (TEST_FUNC): Likewise.
15625 2013-03-30  David S. Miller  <davem@davemloft.net>
15627         * po/de.po: Update from translation team.
15629 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
15631         [BZ #10357]
15632         * math/k_casinh.c (__kernel_casinh): Handle arguments with
15633         imaginary part less than 1.0 and real part less than 0.5
15634         specially.
15635         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15636         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15637         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15638         (cacos_test): Add more tests.
15639         (casin_test): Likewise.
15640         (casinh_test): Likewise.
15641         * sysdeps/i386/fpu/libm-test-ulps: Update.
15642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15644 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15646         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15647         ONE with its value.
15649         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15650         (__pow_mp): Replace ONE and MONE with their values.
15651         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15652         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15653         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15654         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15655         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15656         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15658         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15660         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15661         (__pow_mp): Replace ZERO and MZERO with their values.
15662         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15663         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15664         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15665         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15666         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15667         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15668         (__sqr): Likewise.
15670         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15672         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15674 2013-03-28  Roland McGrath  <roland@hack.frob.com>
15676         * include/stdlib.h [!SHARED] (__call_tls_dtors):
15677         Declare with __attribute__ ((weak)).
15678         * stdlib/exit.c (__libc_atexit) [!SHARED]:
15679         Call __call_tls_dtors only if it's not NULL.
15681 2013-03-28  Roland McGrath  <roland@hack.frob.com>
15683         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15684         didn't do it already, then set _dl_phdr and _dl_phnum based on the
15685         magic __ehdr_start linker symbol if it's defined.
15686         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15687         them up here if it was already done.
15689         * elf/dl-support.c (_dl_phdr): Make pointer to const.
15690         (_dl_aux_init): Use const in cast when setting it.
15691         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15692         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15693         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15695         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15696         Declare them here.
15697         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15698         * csu/libc-tls.c: Nor here.
15699         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15701         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15702         (__libc_message): Never call vsyslog.
15704 2013-03-28  Alan Modra  <amodra@gmail.com>
15706         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15707         Define as empty.
15708         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15709         Likewise.
15711 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15713         [BZ #15214]
15714         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15715         underflow.
15716         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15718 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15720         [BZ #15304]
15721         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15722         Don't add gid passed as argument.
15724         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15726 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
15728         [BZ #15307]
15729         * math/k_casinh.c (__kernel_casinh): Handle arguments with
15730         imaginary part between 1.0 and 1.5 and real part less than 0.5
15731         specially.
15732         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15733         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15734         * math/libm-test.inc (cacos_test): Add more tests.
15735         (casin_test): Likewise.
15736         (casinh_test): Likewise.
15737         * sysdeps/i386/fpu/libm-test-ulps: Update.
15738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15740 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15742         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15743         constants.
15744         (norm): Likewise.
15745         (denorm): Likewise.
15746         (__dbl_mp): Likewise.
15747         (add_magnitudes): Likewise.
15748         (sub_magnitudes): Likewise.
15749         (__add): Likewise.
15750         (__sub): Likewise.
15751         (__mul): Likewise.
15752         (__sqr): Likewise.
15753         (__inv): Likewise.
15754         (__dvd): Likewise.
15756         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15757         commented code.
15758         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15759         (__dubcos): Likewise.
15760         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15761         (__ieee754_acos): Likewise.
15762         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15763         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15764         (__exp1): Likewise.
15765         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15766         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15767         (log1): Likewise.
15768         (my_log2): Likewise.
15769         (checkint): Likewise.
15770         * sysdeps/ieee754/dbl-64/e_remainder.c
15771         (__ieee754_remainder): Likewise.
15772         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15773         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15774         (bsloww): Likewise.
15775         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15777         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15778         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15779         MANTISSA_STORE_T to store computations on mantissa.  Use
15780         macros for rounding and division.
15781         (denorm): Likewise.
15782         (__dbl_mp): Likewise.
15783         (add_magnitudes): Likewise.
15784         (sub_magnitudes): Likewise.
15785         (__mul): Likewise.
15786         (__sqr): Likewise.
15787         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
15788         powers of two in terms of TWOPOW macro.
15789         (mp_no): Make type of mantissa as MANTISSA_T.
15790         [!RADIXI]: Define RADIXI.
15791         [!TWO52]: Define TWO52.
15792         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15794 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15796         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15797         llroundl symbol when building for PPC32.
15799 2013-03-24  Mark H Weaver  <mhw@netris.org>
15801         * manual/arith.texi (Normalization Functions): Fix prototypes for
15802         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15804 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15806         [BZ #13889]
15807         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15808         high value to check if expl overflow.
15809         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15810         to check for underflow and overflow.
15811         * math/libm-test.inc: Add exp test.
15813 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
15815         [BZ #11120]
15816         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15817         with NOT_IN_libc.
15819 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15821         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15822         symbol.
15824 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
15826         * math/gen-libm-test.pl (parse_args, special_functions): Properly
15827         wrap blocks consisting of several statements.
15829         * sysdeps/generic/math-tests.h: New file.
15830         * sysdeps/i386/fpu/math-tests.h: Likewise.
15831         * math/test-snan.c: Include it.
15832         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15834 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
15836         [BZ #15285]
15837         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15838         (__ieee754_j0l): Do not improve calculations using cos of twice
15839         input for inputs above LDBL_MAX / 2.0L.
15840         (__ieee754_y0l): Likewise.
15841         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15842         (__ieee754_j1l): Do not improve calculations using cos of twice
15843         input for inputs above LDBL_MAX / 2.0L.
15844         (__ieee754_y1l): Likewise.
15845         * math/libm-test.inc (j0_test): Add another test.
15846         (j1_test): Likewise.
15847         (y0_test): Likewise.
15848         (y1_test): Likewise.
15849         * sysdeps/i386/fpu/libm-test-ulps: Update.
15851 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15853         * Rules ($(objpfx)bench-%.c): Include code from a C source
15854         file.
15856 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
15858         [BZ #15287]
15859         * math/k_casinh.c (__kernel_casinh): Handle arguments with
15860         imaginary part 1.0 and real part less than 0.5 specially.
15861         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15862         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15863         * math/libm-test.inc (cacos_test): Add more tests.
15864         (casin_test): Likewise.
15865         (casinh_test): Likewise.
15866         * sysdeps/i386/fpu/libm-test-ulps: Update.
15867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15869 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15871         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15872         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15874 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
15876         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15877         * config.make.in (config-cflags-sse4): Remove variable.
15878         (config-cflags-avx): Likewise.
15879         (config-cflags-sse2avx): Likewise.
15880         (config-cflags-novzeroupper): Likewise.
15881         (config-asflags-i686): Likewise.
15882         (have-mfma4): Likewise.
15883         (have-as-vis3): Likewise.
15884         (MIG): Likewise.
15885         * configure.in (MIG): Do not AC_SUBST.
15886         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15887         (libc_cv_cc_sse4): Do not AC_SUBST.
15888         (libc_cv_cc_avx): Likewise.
15889         (libc_cv_cc_sse2avx): Likewise.
15890         (libc_cv_cc_novzeroupper): Likewise.
15891         (libc_cv_cc_fma4): Likewise.
15892         (libc_cv_as_i686): Likewise.
15893         (libc_cv_sparc_as_vis3): Likewise.
15894         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15895         LIBC_CONFIG_VAR.
15896         (config-asflags-i686): Likewise.
15897         (config-cflags-avx): Likewise.
15898         (config-cflags-sse2avx): Likewise.
15899         (have-mfma4): Likewise.
15900         (config-cflags-novzeroupper): Likewise.
15901         * sysdeps/mach/configure.in (MIG): Likewise.
15902         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15903         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15904         LIBC_CONFIG_VAR.
15905         (config-cflags-avx): Likewise.
15906         (config-cflags-sse2avx): Likewise.
15907         (have-mfma4): Likewise.
15908         (config-cflags-novzeroupper): Likewise.
15909         * configure: Regenerated.
15910         * sysdeps/i386/configure: Likewise.
15911         * sysdeps/mach/configure: Likewise.
15912         * sysdeps/sparc/configure: Likewise.
15913         * sysdeps/x86_64/configure: Likewise.
15915 2013-03-20  Roland McGrath  <roland@hack.frob.com>
15917         [BZ #14812]
15918         * locale/programs/localedef.c (options): Put N_ translation marker
15919         on argument names, not just descriptions.
15921 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15923         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15925 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
15927         [BZ #14176]
15928         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15930 2013-03-19  Roland McGrath  <roland@hack.frob.com>
15932         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15933         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15934         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15935         [!BEFORE_ABORT] (before_abort): New function.
15936         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15937         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15938         (writev_for_fatal): New function.
15939         (WRITEV_FOR_FATAL): New macro; call that.
15940         (backtrace_and_maps): New function.
15941         (BEFORE_ABORT): New macro; call that.
15942         (struct str_list): Type removed.
15943         (__libc_message, __libc_fatal): Functions removed.
15944         Include <sysdeps/posix/libc_fatal.c> instead.
15946 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
15948         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15949         constants.
15950         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15951         double constants.
15953 2013-03-19  Andreas Schwab  <schwab@suse.de>
15955         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15956         * sysdeps/gnu/configure: Regenerate.
15958         * configure.in: Substitute libc_cv_rtlddir.
15959         * configure: Regenerate.
15960         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15961         * Makeconfig (rtlddir, inst_rtlddir): New variables.
15962         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15963         * elf/Makefile (install-others, CFLAGS-interp.c)
15964         (ldso_install, common-ldd-rewrite): Likewise.
15965         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15966         $(inst_slibdir)/$(rtld-installed-name).
15967         * scripts/rellns-sh: Add -p option.
15968         * Makerules (make-shlib-link): Use rellns-sh to get relative name
15969         for source.
15971 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15973         * manual/nptl.texi: Renamed to ...
15974         * manual/threads.texi: ... this.
15975         * manual/Makefile (chapters): Update.
15977 2013-03-18  Roland McGrath  <roland@hack.frob.com>
15979         [BZ #14812]
15980         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15981         on argument names, not just descriptions.
15982         * malloc/memusagestat.c (options): Likewise.
15983         * nss/getent.c (options): Likewise.
15985 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
15987         [BZ #14812]
15988         * iconv/iconv_prog.c (options): Put N_ translation marker
15989         on argument names, not just descriptions.
15990         * iconv/iconvconfig.c (options): Likewise.
15992 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
15994         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15995         implementation which is faster on all x86_64 architectures.
15996         Tested on AMD, Intel Nehalem, SNB, IVB.
15997         * sysdeps/x86_64/strnlen.S: Likewise.
15999         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16000         Remove all multiarch strlen and strnlen versions.
16001         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16002         Remove strlen and strnlen related parts.
16004         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16005         Inline strlen part.
16006         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16008         * sysdeps/x86_64/multiarch/strlen.S: Remove.
16009         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16010         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16011         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16012         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16013         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16015 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
16017         * manual/memory.texi (Malloc Tunable Parameters):
16018         Sort parameters alphabetically. Add comments for missing entries.
16020 2013-03-17  David S. Miller  <davem@davemloft.net>
16022         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16024 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
16026         [BZ #15283]
16027         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16028         for arguments at most half maximum finite value.
16029         * math/libm-test.inc (j0_test): Add more tests.
16030         (j1_test): Likewise.
16031         (y0_test): Likewise.
16032         (y1_test): Likewise.
16033         * sysdeps/i386/fpu/libm-test-ulps: Update.
16034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16036         [BZ #14155]
16037         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16038         1 / x and functions P and Q for arguments above 0x1p256L.
16039         (__ieee754_y0l): Likewise.
16040         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16041         (__ieee754_y1l): Likewise.
16042         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16043         (j1_test): Likewise.
16044         (y0_test): Likewise.
16045         (y1_test): Likewise.
16047 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
16049         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16050         variable.
16052 2013-03-15  Roland McGrath  <roland@hack.frob.com>
16054         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16055         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16056         zero since it's initialized to EXEC_PAGESIZE.
16058         * sysdeps/unix/sysv/linux/ldsodefs.h
16059         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16060         * sysdeps/generic/ldsodefs.h: ... here.
16062 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
16064         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16066         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16067         math/test-snan.c.
16068         * math/test-snan.c: Renamed from
16069         sysdeps/powerpc/fpu/test-powerpc-snan.c.
16070         * math/Makefile (tests): Add test-snan.
16071         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16072         test-powerpc-snan.
16074         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16075         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
16076         functions.
16077         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
16078         __builtin_nan family of functions.
16079         * math/libm-test.inc (initialize): Initialize qnan_value with
16080         __builtin_nan family of functions.
16081         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16082         Remove variables.
16083         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16084         Remove functions.
16085         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
16086         storage class.  Initialize qNaN_var and sNaN_var with
16087         __builtin_nan and __builtin_nans families of functions,
16088         respectively.
16090         * math/libm-test.inc (acosh_test): Also test with qNaN input.
16091         (sqrt_test): Remove duplicate test with qNaN input.
16092         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16093         (round_test, signbit_test, significand_test): Note missing +/-Inf
16094         as well as qNaN tests.
16096         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16097         qNaN_var.  Fix a few strings, too.
16098         * math/libm-test.inc (nan_value): Rename to qnan_value.
16099         * math/gen-libm-test.pl (%beautify): Adjust to that.
16100         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16101         * math/test-misc.c (main): Likewise.
16102         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16103         to __qnan_bytes, and __qnan_union, respectively.
16104         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16105         Likewise.
16106         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16107         and lqnanval, respectively.
16108         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16109         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16110         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16111         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16113         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16114         * math/test-misc.c (main) [__x86_64__]: Enable test for long
16115         doubles.
16117         * math/test-misc.c (main): Fix copy'n'pastos.
16118         * misc/tst-efgcvt.c (special): Likewise.
16120         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16121         Remove declarations.
16123 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16125         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16126         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16127         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16128         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16130 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16132         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16133         macro to return vdso values correctly in IFUNC implementations.
16134         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16135         Optimization by using IFUNC.
16137 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16138             Richard Henderson  <rth@redhat.com>
16139             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16141         * Makefile.in (bench): New target.
16142         * NEWS: Mention the benchmark framework.
16143         * Rules (bench): Likewise.
16144         (binaries-bench): Generate binaries for functions to
16145         benchmark.
16146         * benchtests/Makefile: New makefile for benchmark tests.
16147         * benchtests/bench-skeleton.c: New skeleton file for benchmark
16148         programs.
16149         * benchtests/exp-inputs: New input file for EXP function.
16150         * benchtests/pow-inputs: New input file for POW function.
16151         * scripts/bench.pl: New script to generate source files for
16152         benchmark programs.
16154 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16156         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16157         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16158         computations on mantissa.  Use macros for rounding and
16159         division.
16160         (denorm): Likewise.
16161         (__dbl_mp): Likewise.
16162         (add_magnitudes): Likewise.
16163         (sub_magnitudes): Likewise.
16164         (__mul): Likewise.
16165         (__sqr): Likewise.
16166         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
16167         powers of two in terms of TWOPOW macro.
16168         (mp_no): Make type of mantissa as MANTISSA_T.
16169         [!RADIXI]: Define RADIXI.
16170         [!TWO52]: Define TWO52.
16171         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16173         * manual/nptl.texi (cindex): Modify threads to pthreads.
16175 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
16177         * sysdeps/x86_64/preconfigure: Regenerated.
16179 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
16181         [BZ #14155]
16182         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16183         0x1p28 and above.
16184         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16185         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16186         0x1p28 and above.
16187         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16188         * math/libm-test.inc (j0_test): Do not allow one spurious
16189         underflow exception.
16190         (y1_test): Likewise.
16192 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16194         * manual/Makefile (chapters): Add nptl.
16195         * manual/debug.texi (Debugging Support): Add link to Threads
16196         chapter.
16197         * manual/nptl.texi: New file.
16199         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16201 2013-03-14  Petr Baudis  <pasky@ucw.cz>
16203         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16204         for non-NULL pointer before the memory validity test. Pointed
16205         out by Holger Brunck <holger.brunck@keymile.com>.
16207 2013-03-13  Andreas Schwab  <schwab@suse.de>
16209         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16210         instead of .os.
16212 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
16214         * timezone/zic.c: Update from tzcode 2013b.
16216 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
16218         * manual/install.texi (Configuring and compiling):
16219         Mention i686 and i586.
16220         * INSTALL: Regenerate.
16222 2013-03-12  Roland McGrath  <roland@hack.frob.com>
16224         * sysdeps/init_array/elf-init.c: New file.
16225         * csu/elf-init.c
16226         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16227         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16229         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16230         __gmon_start__ as global, but as static with a .preinit_array pointer.
16231         * sysdeps/init_array/gmon-start.c: New file.  Use that.
16232         * sysdeps/init_array/crti.S: New file, empty except for comments.
16233         * sysdeps/init_array/crtn.S: Likewise.
16235 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
16237         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16238         definining bcopy.
16239         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16240         Remove Prefer_SSE_for_memop.
16241         * sysdeps/x86_64/multiarch/init-arch.h: Remove
16242         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16243         HAS_PREFER_SSE_FOR_MEMOP.
16244         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16245         memset-x86-64.
16246         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16247         Remove bzero, memset ifunc support.
16248         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16249         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16250         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16251         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16253 2013-03-11  Andreas Schwab  <schwab@suse.de>
16255         [BZ #15234]
16256         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16257         by SHLIB_COMPAT.
16258         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16259         (GLIBC_2.16): Remove pthread_atfork.
16261 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16263         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16264         (ptestcases.h): Likewise.
16266 2013-03-08  Roland McGrath  <roland@hack.frob.com>
16268         * Makeconfig ($(common-objpfx)config.status): Depend on
16269         sysdeps/*/preconfigure{,.in} too.
16271 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
16273         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16274         (__free_hook): Use void * instead of __malloc_ptr_t.
16275         (__malloc_hook): Likewise.
16276         (__realloc_hook): Likewise.
16277         (__memalign_hook): Likewise.
16278         (__after_morecore_hook): Likewise.
16279         * malloc/arena.c (save_malloc_hook): Likewise.
16280         (save_free_hook): Likewise.
16281         * malloc/hooks.c (malloc_hook_ini): Likewise.
16282         (realloc_hook_ini): Likewise.
16283         (memalign_hook_ini): Likewise.
16284         * malloc/malloc.c (malloc_hook_ini): Likewise.
16285         (realloc_hook_ini): Likewise.
16286         (memalign_hook_ini): Likewise.
16287         (__free_hook): Likewise.
16288         (__malloc_hook): Likewise.
16289         (__realloc_hook): Likewise.
16290         (__memalign_hook): Likewise.
16291         (__libc_malloc): Likewise.
16292         (__libc_free): Likewise.
16293         (__libc_realloc): Likewise.
16294         (__libc_memalign): Likewise.
16295         (__libc_valloc): Likewise.
16296         (__libc_pvalloc): Likewise.
16297         (__libc_calloc): Likewise.
16298         (__posix_memalign): Likewise.
16299         * malloc/morecore.c (__sbrk): Likewise.
16300         (__default_morecore): Likewise.
16302         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16304         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16305         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16306         __malloc_ptrdiff_t.
16308         * malloc/malloc.h (__malloc_size_t): Remove macro.
16309         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16310         __malloc_size_t.
16311         (old_memalign_hook): Likewise.
16312         (old_realloc_hook): Likewise.
16313         (struct hdr): Likewise.
16314         (flood): Likewise.
16315         (mallochook): Likewise.
16316         (memalignhook): Likewise.
16317         (reallochook): Likewise.
16318         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16319         (tr_old_realloc_hook): Likewise.
16320         (tr_old_memalign_hook): Likewise.
16321         (tr_mallochook): Likewise.
16322         (tr_reallochook): Likewise.
16323         (tr_memalignhook): Likewise.
16325 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16327         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16328         default_ldbl_pack and using as default implementation.
16329         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16330         implementation.
16331         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16332         redundant definition.
16333         (ldbl_insert_mantissa): Likewise.
16334         (ldbl_canonicalize): Likewise.
16335         (ldbl_nearbyint): Likewise.
16336         (ldbl_pack): Rename to ldbl_pack_ppc.
16337         (ldbl_unpack): Rename to ldbl_unpack_ppc.
16338         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16339         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16341 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16343         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16344         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16345         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16346         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16347         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16348         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16349         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16350         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16352 2013-03-07  Andreas Jaeger  <aj@suse.de>
16354         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16355         bits/mman-linux.h.
16357 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16359         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16360         Include mpa.h and declare __MPEXP.
16361         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16362         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16363         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16364         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16365         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16366         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16367         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16369         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16370         (__slowpow): Use long double EXPL and LOGL functions to
16371         compute POW.
16372         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16373         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16374         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16375         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16376         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16377         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16379         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16380         intermediate variable to calculate exponent.
16381         (__sqr): Likewise.
16382         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16383         Likewise.
16384         (__sqr): Likewise.
16386         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16387         [!NO__SQR]: Define __sqr.
16388         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16389         and NO__SQR.  Remove all code except __mul and __sqr.  Include
16390         sysdeps/ieee754/dbl-64/mpa.c.
16391         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16393         [BZ #12723]
16394         * posix/Makefile (tests): Add tst-pathconf.
16395         * posix/tst-pathconf.c: New test case.
16396         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16397         _PC_PIPE_BUF.
16398         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16400 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
16402         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16404 2013-03-06  Andreas Jaeger  <aj@suse.de>
16406         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16407         definition via __MAP_ANONYMOUS.
16409         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16410         it's not part of Linux headers.
16412         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16413         (MAP_HUGE_MASK): Define.
16415         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16416         Define.
16417         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16418         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16419         Define.
16420         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16421         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16422         Define.
16423         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16424         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16425         Define.
16426         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16428         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16429         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16430         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16431         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16432         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16433         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16435         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16436         Handle f2fs.
16438         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16439         Handle f2fs and efivarfs.
16441         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16442         f2fs.
16444         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16445         (EFIVARFS_MAGIC): Add.
16446         (F2FS_LINK_MAX): Add.
16448 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16450         * stdio-common/vfprintf.c: Replace __builtin_expect with
16451         __glibc_unlikely.
16453 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
16455         [BZ #13550]
16456         * sysdeps/generic/bp-sym.h: Remove file.
16457         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16458         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16459         <bp-sym.h> and <bp-asm.h>.
16460         (__longjmp): Don't use BP_SYM.
16461         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16462         and <bp-asm.h>.
16463         (memcpy): Don't use BP_SYM.
16464         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16465         <bp-sym.h> and <bp-asm.h>.
16466         (memcpy): Don't use BP_SYM.
16467         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16468         <bp-asm.h>.
16469         (memcpy): Don't use BP_SYM.
16470         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16471         <bp-asm.h>.
16472         (memset): Don't use BP_SYM.
16473         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16474         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16475         (__bzero): Don't use BP_SYM.
16476         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16477         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16478         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16479         <bp-sym.h> and <bp-asm.h>.
16480         (memcmp): Don't use BP_SYM.  Remove comment about bounded
16481         pointers.
16482         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16483         <bp-sym.h> and <bp-asm.h>.
16484         (memcpy): Don't use BP_SYM.
16485         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16486         <bp-sym.h> and <bp-asm.h>.
16487         (memset): Don't use BP_SYM.
16488         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16489         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16490         (__bzero): Don't use BP_SYM.
16491         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16492         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16493         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16494         <bp-sym.h> and <bp-asm.h>.
16495         (strncmp): Don't use BP_SYM.  Remove comment about bounded
16496         pointers.
16497         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16498         <bp-sym.h> and <bp-asm.h>.
16499         (memcpy): Don't use BP_SYM.
16500         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16501         <bp-sym.h> and <bp-asm.h>.
16502         (memset): Don't use BP_SYM.
16503         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16504         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16505         (__bzero): Don't use BP_SYM.
16506         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16507         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16508         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16509         <bp-sym.h> and <bp-asm.h>.
16510         (__memchr): Don't use BP_SYM.
16511         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16512         <bp-sym.h> and <bp-asm.h>.
16513         (memcmp): Don't use BP_SYM.  Remove comment about bounded
16514         pointers.
16515         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16516         <bp-sym.h> and <bp-asm.h>.
16517         (memcpy): Don't use BP_SYM.
16518         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16519         <bp-sym.h> and <bp-asm.h>.
16520         (__mempcpy): Don't use BP_SYM.
16521         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16522         <bp-sym.h> and <bp-asm.h>.
16523         (__memrchr): Don't use BP_SYM.
16524         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16525         <bp-sym.h> and <bp-asm.h>.
16526         (memset): Don't use BP_SYM.
16527         (__bzero): Likewise.
16528         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16529         <bp-sym.h> and <bp-asm.h>.
16530         (__rawmemchr): Don't use BP_SYM.
16531         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16532         <bp-sym.h> and <bp-asm.h>.
16533         (__STRCMP): Don't use BP_SYM.
16534         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16535         <bp-sym.h> and <bp-asm.h>.
16536         (strchr): Don't use BP_SYM.
16537         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16538         <bp-sym.h> and <bp-asm.h>.
16539         (__strchrnul): Don't use BP_SYM.
16540         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16541         <bp-sym.h> and <bp-asm.h>.
16542         (strlen): Don't use BP_SYM.
16543         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16544         <bp-sym.h> and <bp-asm.h>.
16545         (strncmp): Don't use BP_SYM.  Remove comment about bounded
16546         pointers.
16547         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16548         <bp-sym.h> and <bp-asm.h>.
16549         (__strnlen): Don't use BP_SYM.
16550         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16551         <bp-sym.h> and <bp-asm.h>.
16552         (__GI__setjmp): Don't use BP_SYM.
16553         (_setjmp): Likewise.
16554         (__sigsetjmp): Likewise.
16555         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16556         (L(start_addresses)): Don't use BP_SYM.
16557         (_start): Likewise.
16558         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16559         <bp-asm.h>.
16560         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16561         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16562         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16563         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16564         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16565         <bp-asm.h>.
16566         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16567         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
16568         about bounded pointers.
16569         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16570         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16571         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16572         <bp-asm.h>.
16573         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
16574         about bounded pointers.  Remove GKM FIXME comments.
16575         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16576         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16577         <bp-asm.h>.
16578         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16579         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
16580         Remove GKM FIXME comments.
16581         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16582         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16583         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16584         <bp-asm.h>.
16585         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
16586         about bounded pointers.  Remove GKM FIXME comment.
16587         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16588         and <bp-asm.h>.
16589         (strncmp): Don't use BP_SYM.  Remove comment about bounded
16590         pointers.
16591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16592         <bp-sym.h> and <bp-asm.h>.
16593         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16595         <bp-sym.h> and <bp-asm.h>.
16596         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
16597         comment.
16599 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16601         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16602         call free(NULL).
16604 2013-03-05  David S. Miller  <davem@davemloft.net>
16606         * po/es.po: Update from translation team.
16608 2013-03-05  Andreas Jaeger  <aj@suse.de>
16610         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16611         <bits/mman-linux.h>.
16612         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16613         is fine.
16614         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16615         <bits/mman-linux.h> to end of file.
16616         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16617         is fine.
16618         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16619         <bits/mman-linux.h> to end of file.
16620         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16621         is fine.
16622         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16623         <bits/mman-linux.h> to end of file.
16625         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16626         (MCL_CURRENT, MCL_FUTURE): Define here.
16628 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16630         [BZ #15232]
16631         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16632         attribute_hidden.
16633         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16635 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16637         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16638         fourth parameter needed for rt_sigprocmask syscall.
16639         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16640         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16641         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16642         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16643         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16644         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16646 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
16648         [BZ #13550]
16649         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16650         comment about bounded pointers.
16651         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16652         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16654 2013-03-04  Andreas Jaeger  <aj@suse.de>
16656         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16657         common definitions.
16659         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16660         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16661         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16662         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16663         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16664         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16666 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16668         [BZ #15055]
16669         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16670         __ieee754_sqrl instead of __sqrl.
16672 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
16674         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16675         * sysdeps/powerpc/fpu_control.h: ... here.
16676         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16677         * sysdeps/powerpc/bits/fenvinline.h: ... here.
16678         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16679         * sysdeps/powerpc/bits/mathinline.h: ... here.
16681 2013-03-01  Roland McGrath  <roland@hack.frob.com>
16683         * elf/dl-hwcaps.c (_dl_important_hwcaps):
16684         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16685         to just [NEED_DL_SYSINFO_DSO].
16686         * elf/dl-support.c: Likewise.
16687         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16688         * elf/rtld.c (dl_main): Likewise.
16689         * elf/setup-vdso.h (setup_vdso): Likewise.
16690         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16691         * sysdeps/unix/sysv/linux/dl-sysdep.c
16692         (_dl_discover_osversion): Likewise.
16694 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
16696         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16697         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16699 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16701         * NEWS: Mention libm performance improvements and non-x86 PI
16702         futex support.
16704         * csu/libc-start.c (__pthread_initialize_minimal): Change
16705         function arguments.
16706         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16708 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
16710         [BZ #13550]
16711         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16712         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16713         <bp-sym.h> and <bp-asm.h>.
16714         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16715         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16716         and <bp-asm.h>.
16717         (memcpy): Don't use BP_SYM.
16718         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16719         <bp-asm.h>.
16720         (__mpn_add_n): Don't use BP_SYM.
16721         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16722         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16723         and <bp-asm.h>.
16724         (__mpn_addmul_1): Don't use BP_SYM.
16725         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16726         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16727         <bp-sym.h>.
16728         (_setjmp): Don't use BP_SYM.
16729         (__novmx_setjmp): Likewise.
16730         (__GI__setjmp): Likewise.
16731         (__vmx_setjmp): Likewise.
16732         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16733         <bp-sym.h>.
16734         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16735         (__bzero): Don't use BP_SYM.
16736         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16737         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16738         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16739         <bp-sym.h> and <bp-asm.h>.
16740         (memcpy): Don't use BP_SYM.
16741         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16742         <bp-sym.h> and <bp-asm.h>.
16743         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16744         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16745         <bp-sym.h> and <bp-asm.h>.
16746         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16747         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16748         <bp-asm.h>.
16749         (__mpn_lshift): Don't use BP_SYM.
16750         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16751         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16752         <bp-asm.h>.
16753         (memset): Don't use BP_SYM.
16754         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16755         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16756         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16757         <bp-asm.h>.
16758         (__mpn_mul_1): Don't use BP_SYM.
16759         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16760         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16761         <bp-sym.h> and <bp-asm.h>.
16762         (memcmp): Don't use BP_SYM.
16763         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16764         <bp-sym.h> and <bp-asm.h>.
16765         (memcpy): Don't use BP_SYM.
16766         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16767         <bp-sym.h> and <bp-asm.h>.
16768         (memset): Don't use BP_SYM.
16769         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16770         <bp-sym.h> and <bp-asm.h>.
16771         (strncmp): Don't use BP_SYM.
16772         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16773         <bp-sym.h> and <bp-asm.h>.
16774         (memcpy): Don't use BP_SYM.
16775         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16776         <bp-sym.h> and <bp-asm.h>.
16777         (memset): Don't use BP_SYM.
16778         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16779         <bp-sym.h> and <bp-asm.h>.
16780         (__memchr): Don't use BP_SYM.
16781         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16782         <bp-sym.h> and <bp-asm.h>.
16783         (memcmp): Don't use BP_SYM.
16784         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16785         <bp-sym.h> and <bp-asm.h>.
16786         (memcpy): Don't use BP_SYM.
16787         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16788         <bp-sym.h> and <bp-asm.h>.
16789         (__mempcpy): Don't use BP_SYM.
16790         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16791         <bp-sym.h> and <bp-asm.h>.
16792         (__memrchr): Don't use BP_SYM.
16793         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16794         <bp-sym.h> and <bp-asm.h>.
16795         (memset): Don't use BP_SYM.
16796         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16797         <bp-sym.h> and <bp-asm.h>.
16798         (__rawmemchr): Don't use BP_SYM.
16799         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16800         <bp-sym.h> and <bp-asm.h>.
16801         (__STRCMP): Don't use BP_SYM.
16802         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16803         <bp-sym.h> and <bp-asm.h>.
16804         (strchr): Don't use BP_SYM.
16805         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16806         <bp-sym.h> and <bp-asm.h>.
16807         (__strchrnul): Don't use BP_SYM.
16808         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16809         <bp-sym.h> and <bp-asm.h>.
16810         (strlen): Don't use BP_SYM.
16811         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16812         <bp-sym.h> and <bp-asm.h>.
16813         (strncmp): Don't use BP_SYM.
16814         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16815         <bp-sym.h> and <bp-asm.h>.
16816         (__strnlen): Don't use BP_SYM.
16817         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16818         <bp-asm.h>.
16819         (__mpn_rshift): Don't use BP_SYM.
16820         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16821         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16822         <bp-sym.h> and <bp-asm.h>.
16823         (__sigsetjmp): Don't use BP_SYM.
16824         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16825         (L(start_addresses)): Don't use BP_SYM.
16826         (_start): Likewise.
16827         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16828         <bp-asm.h>.
16829         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16830         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16831         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16832         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16833         <bp-asm.h>.
16834         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16835         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16836         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16837         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16838         <bp-asm.h>.
16839         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
16840         comments.
16841         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16842         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16843         <bp-asm.h>.
16844         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
16845         FIXME comments.
16846         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16847         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16848         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16849         <bp-asm.h>.
16850         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
16851         comment.
16852         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16853         and <bp-asm.h>.
16854         (strncmp): Don't use BP_SYM,
16855         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16856         <bp-asm.h>.
16857         (__mpn_sub_n): Don't use BP_SYM.
16858         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16859         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16860         and <bp-asm.h>.
16861         (__mpn_submul_1): Don't use BP_SYM.
16862         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16864         <bp-sym.h> and <bp-asm.h>.
16865         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16867         <bp-sym.h> and <bp-asm.h>.
16868         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
16869         comment.
16871 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16873         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16874         Use ZK to minimize writes to Z.
16875         (sub_magnitudes): Simplify code a bit.
16876         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16877         Use ZK to minimize writes to Z.
16878         (sub_magnitudes): Simplify code a bit.
16880 2013-02-27  Roland McGrath  <roland@hack.frob.com>
16882         * csu/gmon-start.c: Add special exception to license text.
16884 2013-02-27  Richard Henderson  <rth@redhat.com>
16886         * scripts/config.guess: Update from config.git.
16887         * scripts/config.sub: Likewise.
16889 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16891         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16893         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16895         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16897         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16899         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16901 2013-02-26  Roland McGrath  <roland@hack.frob.com>
16903         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16904         [$(build-shared = yes].
16906 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16908         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16909         (__mul): Reduce iterations for calculating mantissa.
16911         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16912         MPTWO.
16913         (__mpranred): Likewise.
16915         [BZ #15160]
16916         * malloc/memusagestat.c (main): Draw graphs for heap and stack
16917         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16919 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
16921         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16922         Define __attribute__.
16924 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16926         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16927         unused.
16928         * posix/regex_internal.h (__attribute): Remove.
16929         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16930         (re_string_context_at): Likewise.
16931         (bitset_not): Use __attribute__ and mark function as possibly
16932         unused.
16933         (bitset_merge): Likewise.
16934         (bitset_mask): Likewise.
16935         (re_string_char_size_at): Likewise.
16936         (re_string_wchar_at): Likewise.
16937         (re_string_elem_size_at): Likewise.
16939 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16941         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16942         code.
16943         (cc32): Likewise.
16945         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16946         (__acr): Likewise.
16947         (__cpy): Likewise.
16948         (norm): Likewise.
16949         (denorm): Likewise.
16950         (__dbl_mp): Likewise.
16951         (add_magnitudes): Likewise.
16952         (sub_magnitudes): Likewise.
16953         (__mul): Likewise.
16954         (__inv): Likewise.
16956         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16957         style.
16959         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16960         style.
16962         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16963         code.
16965         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16966         up changes with default code.
16967         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16968         Likewise.
16970 2013-02-24  Allan McRae  <allan@archlinux.org>
16972         * manual/socket.texi (The Internet Namespace): Order menu items
16973         to match that in the file.
16975         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16976         node listing of the info page menu.
16978 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
16980         [BZ #13550]
16981         * sysdeps/i386/bp-asm.h: Remove file.
16982         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16983         (PARMS): Do not use macros from bp-asm.h.
16984         (S1): Likewise.
16985         (S2): Likewise.
16986         (SIZE): Likewise.
16987         (__mpn_add_n): Do not use BP_SYM
16988         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16989         "bp-asm.h".
16990         (PARMS): Do not use macros from bp-asm.h.
16991         (S1): Likewise.
16992         (SIZE): Likewise.
16993         (__mpn_addmul_1): Do not use BP_SYM
16994         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16995         "bp-asm.h".
16996         (PARMS): Do not use macros from bp-asm.h.
16997         (SIGMSK): Likewise.
16998         (_setjmp): Likewise.  Do not use BP_SYM.
16999         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17000         "bp-asm.h".
17001         (PARMS): Do not use macros from bp-asm.h.
17002         (SIGMSK): Likewise.
17003         (setjmp): Likewise.  Do not use BP_SYM.
17004         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17005         "bp-asm.h".
17006         (PARMS): Do not use macros from bp-asm.h.
17007         (__frexp): Do not use BP_SYM.
17008         (frexp): Likewise.
17009         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17010         "bp-asm.h".
17011         (PARMS): Do not use macros from bp-asm.h.
17012         (__frexpf): Do not use BP_SYM.
17013         (frexpf): Likewise.
17014         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17015         "bp-asm.h".
17016         (PARMS): Do not use macros from bp-asm.h.
17017         (__frexpl): Do not use BP_SYM.
17018         (frexpl): Likewise.
17019         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17020         "bp-asm.h".
17021         (PARMS): Do not use macros from bp-asm.h.
17022         (__remquo): Do not use BP_SYM.
17023         (remquo): Likewise.
17024         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17025         "bp-asm.h".
17026         (PARMS): Do not use macros from bp-asm.h.
17027         (__remquof): Do not use BP_SYM.
17028         (remquof): Likewise.
17029         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17030         "bp-asm.h".
17031         (PARMS): Do not use macros from bp-asm.h.
17032         (__remquol): Do not use BP_SYM.
17033         (remquol): Likewise.
17034         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17035         "bp-asm.h".
17036         (PARMS): Do not use macros from bp-asm.h.
17037         (DEST): Likewise.
17038         (SRC): Likewise.
17039         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
17040         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17041         "bp-asm.h".
17042         (PARMS): Do not use macros from bp-asm.h.
17043         (strlen): Do not use BP_SYM.
17044         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17045         "bp-asm.h".
17046         (PARMS): Do not use macros from bp-asm.h.
17047         (S1): Likewise.
17048         (S2): Likewise.
17049         (SIZE): Likewise.
17050         (__mpn_add_n): Do not use BP_SYM.
17051         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17052         "bp-asm.h".
17053         (PARMS): Do not use macros from bp-asm.h.
17054         (S1): Likewise.
17055         (SIZE): Likewise.
17056         (__mpn_addmul_1): Do not use BP_SYM.
17057         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17058         weak_alias.
17059         (bzero): Likewise.
17060         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17061         "bp-asm.h".
17062         (PARMS): Do not use macros from bp-asm.h.
17063         (S): Likewise.
17064         (SIZE): Likewise.
17065         (__mpn_lshift): Do not use BP_SYM.
17066         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17067         "bp-asm.h".
17068         (PARMS): Do not use macros from bp-asm.h.
17069         (DEST): Likewise.
17070         (SRC): Likewise.
17071         (LEN): Likewise.
17072         (memcpy): Likewise.  Do not use BP_SYM.
17073         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17074         libc_hidden_def and weak_alias.
17075         (mempcpy): Do not use BP_SYM in weak_alias.
17076         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17077         "bp-asm.h".
17078         (PARMS): Do not use macros from bp-asm.h.
17079         (DEST): Likewise.
17080         (LEN): Likewise.
17081         [!BZERO_P] (CHR): Likewise.
17082         (memset): Likewise.  Do not use BP_SYM.
17083         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17084         "bp-asm.h".
17085         (PARMS): Do not use macros from bp-asm.h.
17086         (S1): Likewise.
17087         (SIZE): Likewise.
17088         (__mpn_mul_1): Do not use BP_SYM.
17089         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17090         "bp-asm.h".
17091         (PARMS): Do not use macros from bp-asm.h.
17092         (S): Likewise.
17093         (SIZE): Likewise.
17094         (__mpn_rshift): Do not use BP_SYM.
17095         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17096         "bp-asm.h".
17097         (PARMS): Do not use macros from bp-asm.h.
17098         (STR): Likewise.
17099         (CHR): Likewise.
17100         (strchr): Likewise.  Do not use BP_SYM.
17101         (index): Do not use BP_SYM in weak_alias.
17102         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17103         "bp-asm.h".
17104         (PARMS): Do not use macros from bp-asm.h.
17105         (DEST): Likewise.
17106         (SRC): Likewise.
17107         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
17108         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17109         "bp-asm.h".
17110         (PARMS): Do not use macros from bp-asm.h.
17111         (strlen): Do not use BP_SYM.
17112         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17113         "bp-asm.h".
17114         (PARMS): Do not use macros from bp-asm.h.
17115         (S1): Likewise.
17116         (S2): Likewise.
17117         (SIZE): Likewise.
17118         (__mpn_sub_n): Do not use BP_SYM.
17119         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17120         "bp-asm.h".
17121         (PARMS): Do not use macros from bp-asm.h.
17122         (S1): Likewise.
17123         (SIZE): Likewise.
17124         (__mpn_submul_1): Do not use BP_SYM.
17125         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17126         "bp-asm.h".
17127         (PARMS): Do not use macros from bp-asm.h.
17128         (S1): Likewise.
17129         (S2): Likewise.
17130         (SIZE): Likewise.
17131         (__mpn_add_n): Do not use BP_SYM.
17132         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17133         weak_alias.
17134         (bzero): Likewise.
17135         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17136         "bp-asm.h".
17137         (PARMS): Do not use macros from bp-asm.h.
17138         (BLK2): Likewise.
17139         (LEN): Likewise.
17140         (memcmp): Do not use BP_SYM.
17141         (bcmp): Do not use BP_SYM in weak_alias.
17142         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17143         "bp-asm.h".
17144         (PARMS): Do not use macros from bp-asm.h.
17145         (DEST): Likewise.
17146         (SRC): Likewise.
17147         (LEN): Likewise.
17148         (memcpy): Likewise.  Do not use BP_SYM.
17149         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17150         "bp-asm.h".
17151         (PARMS): Do not use macros from bp-asm.h.
17152         (DEST): Likewise.
17153         (SRC): Likewise.
17154         (LEN): Likewise.
17155         (memmove): Likewise.  Do not use BP_SYM.
17156         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17157         "bp-asm.h".
17158         (PARMS): Do not use macros from bp-asm.h.
17159         (DEST): Likewise.
17160         (SRC): Likewise.
17161         (LEN): Likewise.
17162         (__mempcpy): Likewise.  Do not use BP_SYM.
17163         (mempcpy): Do not use BP_SYM in weak_alias.
17164         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17165         "bp-asm.h".
17166         (PARMS): Do not use macros from bp-asm.h.
17167         (DEST): Likewise.
17168         (LEN): Likewise.
17169         [!BZERO_P] (CHR): Likewise.
17170         (memset): Likewise.  Do not use BP_SYM.
17171         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17172         "bp-asm.h".
17173         (PARMS): Do not use macros from bp-asm.h.
17174         (STR2): Likewise.
17175         (strcmp): Do not use BP_SYM.
17176         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17177         "bp-asm.h".
17178         (PARMS): Do not use macros from bp-asm.h.
17179         (STR): Likewise.
17180         (DELIM): Likewise.
17181         [USE_AS_STRTOK_R] (SAVE): Likewise.
17182         (FUNCTION): Likewise.  Do not use BP_SYM.
17183         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17184         aliases.
17185         (strtok_r): Likewise.
17186         (__GI___strtok_r): Likewise.
17187         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17188         (PARMS): Do not use macros from bp-asm.h.
17189         (S): Likewise.
17190         (SIZE): Likewise.
17191         (__mpn_lshift): Do not use BP_SYM.
17192         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17193         (PARMS): Do not use macros from bp-asm.h.
17194         (STR): Likewise.
17195         (CHR): Likewise.
17196         (__memchr): Do not use BP_SYM.
17197         (memchr): Do not use BP_SYM in weak_alias.
17198         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17199         (PARMS): Do not use macros from bp-asm.h.
17200         (BLK2): Likewise.
17201         (LEN): Likewise.
17202         (memcmp): Do not use BP_SYM.
17203         (bcmp): Do not use BP_SYM in weak_alias.
17204         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17205         (PARMS): Do not use macros from bp-asm.h.
17206         (S1): Likewise.
17207         (SIZE): Likewise.
17208         (__mpn_mul_1): Do not use BP_SYM.
17209         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17210         "bp-asm.h".
17211         (PARMS): Do not use macros from bp-asm.h.
17212         (STR): Likewise.
17213         (CHR): Likewise.
17214         (__rawmemchr): Do not use BP_SYM.
17215         (rawmemchr): Do not use BP_SYM in weak_alias.
17216         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17217         (PARMS): Do not use macros from bp-asm.h.
17218         (S): Likewise.
17219         (SIZE): Likewise.
17220         (__mpn_rshift): Do not use BP_SYM.
17221         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17222         (PARMS): Do not use macros from bp-asm.h.
17223         (SIGMSK): Likewise.
17224         (__sigsetjmp): Likewise.  Do not use BP_SYM.
17225         * sysdeps/i386/start.S: Do not include "bp-sym.h".
17226         (_start): Do not use BP_SYM.
17227         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17228         (PARMS): Do not use macros from bp-asm.h.
17229         (DEST): Likewise.
17230         (SRC): Likewise.
17231         (__stpcpy): Likewise.  Do not use BP_SYM.
17232         (stpcpy): Do not use BP_SYM in weak_alias.
17233         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17234         "bp-asm.h".
17235         (PARMS): Do not use macros from bp-asm.h.
17236         (DEST): Likewise.
17237         (SRC): Likewise.
17238         (LEN): Likewise.
17239         (__stpncpy): Likewise.  Do not use BP_SYM.
17240         (stpncpy): Do not use BP_SYM in weak_alias.
17241         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17242         (PARMS): Do not use macros from bp-asm.h.
17243         (STR): Likewise.
17244         (CHR): Likewise.
17245         (strchr): Likewise.  Do not use BP_SYM.
17246         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17247         "bp-asm.h".
17248         (PARMS): Do not use macros from bp-asm.h.
17249         (STR): Likewise.
17250         (CHR): Likewise.
17251         (__strchrnul): Likewise.  Do not use BP_SYM.
17252         (strchrnul): Do not use BP_SYM in weak_alias.
17253         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17254         "bp-asm.h".
17255         (PARMS): Do not use macros from bp-asm.h.
17256         (STOP): Likewise.
17257         (strcspn): Do not use BP_SYM.
17258         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17259         "bp-asm.h".
17260         (PARMS): Do not use macros from bp-asm.h.
17261         (STR): Likewise.
17262         (STOP): Likewise.
17263         (strpbrk): Likewise.  Do not use BP_SYM.
17264         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17265         "bp-asm.h".
17266         (PARMS): Do not use macros from bp-asm.h.
17267         (STR): Likewise.
17268         (CHR): Likewise.
17269         (strrchr): Likewise.  Do not use BP_SYM.
17270         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17271         (PARMS): Do not use macros from bp-asm.h.
17272         (SKIP): Likewise.
17273         (strspn): Do not use BP_SYM.
17274         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17275         (PARMS): Do not use macros from bp-asm.h.
17276         (STR): Likewise.
17277         (DELIM): Likewise.
17278         (SAVE): Likewise.
17279         (FUNCTION): Likewise.  Do not use BP_SYM.
17280         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17281         aliases.
17282         (strtok_r): Likewise.
17283         (__GI___strtok_r): Likewise.
17284         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17285         (PARMS): Do not use macros from bp-asm.h.
17286         (S1): Likewise.
17287         (S2): Likewise.
17288         (SIZE): Likewise.
17289         (__mpn_sub_n): Do not use BP_SYM.
17290         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17291         "bp-asm.h".
17292         (PARMS): Do not use macros from bp-asm.h.
17293         (S1): Likewise.
17294         (SIZE): Likewise.
17295         (__mpn_submul_1): Do not use BP_SYM.
17296         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17297         <bp-sym.h>.
17298         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17299         and <bp-asm.h>.
17300         (PARMS): Do not use macros from bp-asm.h.
17301         (FLAGS): Likewise.
17302         (PTID): Likewise.
17303         (TLS): Likewise.
17304         (CTID): Likewise.
17305         (__clone): Do not use BP_SYM.
17306         (clone): Do not use BP_SYM in weak_alias.
17307         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17308         and <bp-asm.h>.
17309         (PARMS): Do not use macros from bp-asm.h.
17310         (LEN): Likewise.
17311         (__mmap64): Do not use BP_SYM.
17312         (mmap64): Do not use BP_SYM in weak_alias.
17313         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17314         <bp-sym.h> and <bp-asm.h>.
17315         (PARMS): Do not use macros from bp-asm.h.
17316         (__posix_fadvise64_l64): Do not use BP_SYM.
17317         * sysdeps/unix/sysv/linux/i386/semtimedop.S
17318         (PARMS): Do not use macros from bp-asm.h.
17319         (NSOPS): Likewise.
17320         (semtimedop): Do not use BP_SYM.
17321         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17322         and <bp-asm.h>.
17324 2013-02-21  Allan McRae  <allan@archlinux.org>
17326         * manual/message.texi (Charset conversion in gettext):
17327         Move @end statement to beginning of line.
17329 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17331         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17332         static.
17333         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17334         Likewise.
17336         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17337         (denorm): Likewise.
17338         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17339         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17341 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17343         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17344         tail-call to the resolved function if pltexit isn't needed.
17346 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17348         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17349         or Y being zero as being unlikely.
17350         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17351         Likewise.
17353 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
17355         * manual/nss.texi (System Databases and Name Service Switch):
17356         Remove frobnicate @pxref.
17358 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
17360         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17361         __attribute__ ((unused)) to __attribute__ ((__unused__)).
17363 2013-02-20  Petr Machata  <pmachata@redhat.com>
17365         * elf/elf.h (R_ARM_TARGET1): New macro.
17366         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17367         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17368         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17369         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17370         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17371         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17372         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17373         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17374         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17375         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17376         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17377         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17378         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17379         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17380         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17381         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17382         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17383         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17384         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17385         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17386         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17387         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17388         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17389         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17390         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17391         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17392         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17393         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17394         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17395         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17396         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17397         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17398         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17399         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17400         (R_ARM_THM_GOT_BREL12): Likewise.
17401         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17402         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17403         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17404         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17405         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17406         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17407         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17408         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17409         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17411 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
17413         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17414         __attribute_used__ to __attribute__ ((unused)).
17416 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17418         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17419         powerpc mpa.c.
17420         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17421         comment formatting.
17422         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17424 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
17426         [BZ #13550]
17427         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17428         Remove macro.
17429         (ENTER): Remove both macro definitions.
17430         (LEAVE): Likewise.
17431         (CHECK_BOUNDS_LOW): Likewise.
17432         (CHECK_BOUNDS_HIGH): Likewise.
17433         (CHECK_BOUNDS_BOTH): Likewise.
17434         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17435         (RETURN_BOUNDED_POINTER): Likewise.
17436         (RETURN_NULL_BOUNDED_POINTER): Likewise.
17437         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17438         (POP_ERRNO_LOCATION_RETURN): Likewise.
17439         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17440         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17441         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17442         macros.
17443         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17444         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17445         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17446         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17447         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17448         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17449         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17450         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17451         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17452         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17453         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17454         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17455         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17456         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17457         removed macros.
17458         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17459         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17460         macros.
17461         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17462         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17463         * sysdeps/i386/i586/memset.S (memset): Likewise.
17464         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17465         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17466         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17467         macros.
17468         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17469         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17470         Change uses of L(2) to L(out).
17471         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17472         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17473         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17474         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17475         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17476         removed macros.
17477         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17478         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17479         macros.
17480         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17481         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17482         (RETURN): Do not use macro LEAVE.
17483         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17484         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17485         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17486         * sysdeps/i386/i686/memset.S (memset): Likewise.
17487         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17488         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17489         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17490         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17491         Likewise.
17492         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17493         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
17494         L(1_2) and L(1_3) into L(1).
17495         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17496         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17497         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17498         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17499         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17500         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17501         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17502         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17503         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17504         macros.
17505         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17506         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17507         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17508         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17509         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17510         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17511         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17512         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17513         * sysdeps/i386/strcspn.S (strcspn): Likewise.
17514         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17515         * sysdeps/i386/strrchr.S (strrchr): Likewise.
17516         * sysdeps/i386/strspn.S (strspn): Likewise.
17517         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17518         conditional code.
17519         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17520         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17521         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17522         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
17523         L(1_3) into L(1_1).
17524         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17525         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17526         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17527         macros.
17528         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17530 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
17532         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17533         macro.
17535 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17537         * math/atest-exp.c (exp_mpn): Remove ROUND.
17538         * math/atest-exp2.c (exp_mpn): Likewise.
17539         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17541         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17542         * stdlib/tst-tls-atexit-lib.c: Likewise.
17543         * stdlib/tst-tls-atexit.c: Likewise.
17545 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
17547         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17548         and __attribute_alloc_size__.
17550 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
17552         * include/programs/xmalloc.h: Change __attribute_alloc_size to
17553         __attribute_alloc_size__.
17554         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17555         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17557 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
17559         * include/programs/xmalloc.h: New file.
17560         * catgets/gencat.c: Include it.
17561         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17562         * elf/pldd.c: Likewise.
17563         * iconv/iconv_charmap.c: Likewise.
17564         * iconv/iconvconfig.c: Likewise.
17565         * iconv/strtab.c: Likewise.
17566         * locale/programs/locale.c: Likewise.
17567         * locale/programs/localedef.h: Likewise.
17568         * locale/programs/simple-hash.c: Likewise.
17569         * nscd/nscd.h: Likewise.
17570         * nss/makedb.c: Likewise.
17571         * sysdeps/generic/ldconfig.h: Likewise.
17573 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17575         * Versions.def: Add GLIBC_2.18.
17576         * include/link.h (struct link_map): New member l_tls_dtor_count.
17577         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17578         (__call_tls_dtors): Likewise.
17579         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17580         __cxa_thread_atexit_impl.
17581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17582         Likewise.
17583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17584         Likewise.
17585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17586         Likewise.
17587         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17588         Likewise.
17589         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17590         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17591         Likewise.
17592         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17593         Likewise.
17594         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17595         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17596         Likewise.
17597         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17598         (tests): Add test case tst-tls-atexit.
17599         (modules-names): Add shared library for tst-tls-atexit.
17600         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17601         (GLIBC_PRIVATE): Add __call_tls_dtors.
17602         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17603         for libstdc++.
17604         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17605         * stdlib/tst-tls-atexit.c: New test case.
17606         * stdlib/tst-tls-atexit-lib.c: New test case.
17608         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17610         * elf/Versions (ld): Add _dl_find_dso_for_object.
17611         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17612         * elf/dl-open.c (_dl_find_dso_for_object): New function.
17613         (dl_open_worker): Use _dl_find_dso_for_object.
17614         * elf/dl-sym.c (do_sym): Likewise.
17615         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17617 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17619         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17620         Syntactic changes only.
17621         (_dl_runtime_profile): Do a tail-call to the resolved function.
17623 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
17625         [BZ #13550]
17626         * sysdeps/x86_64/bp-asm.h: Remove file.
17627         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17628         <bp-sym.h> and <bp-asm.h>.
17629         (__clone): Do not use BP_SYM.
17630         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17631         <bp-sym.h> and <bp-asm.h>.
17632         * sysdeps/unix/x86_64/sysdep.S: Likewise.
17633         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17634         "bp-asm.h".
17635         (_setjmp): Do not use BP_SYM.
17636         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17637         "bp-asm.h".
17638         (setjmp): Do not use BP_SYM.
17639         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17640         libc_hidden_def.
17641         (mempcpy): Do not use BP_SYM in weak_alias.
17642         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17643         "bp-asm.h".
17644         (strchr): Do not use BP_SYM.
17645         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17646         "bp-asm.h".
17647         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17648         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17649         (_start): Do not use BP_SYM.
17650         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17651         "bp-asm.h".
17652         (strcat): Do not use BP_SYM.
17653         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17654         "bp-asm.h".
17655         (STRCMP): Do not use BP_SYM.
17656         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17657         "bp-asm.h".
17658         (STRCPY): Do not use BP_SYM.
17659         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17660         "bp-asm.h".
17661         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17662         "bp-asm.h".
17663         (FUNCTION): Do not use BP_SYM.
17664         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17665         weak_alias.
17666         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17668 2013-02-17  Andreas Jaeger  <aj@suse.de>
17670         * time/Versions: Sort entries.
17671         * string/Versions: Likewise.
17672         * resolv/Versions: Likewise.
17673         * posix/Versions: Likewise.
17674         * iconv/Versions: Likewise.
17675         * elf/Versions: Likewise.
17676         * wcsmbs/Versions: Likewise.
17678 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17680         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17681         loop termination condition.
17683         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17684         variable to calculate EZ.
17685         (__sqr): Likewise.
17687         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17688         the lower precision input.
17690 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
17692         [BZ #13550]
17693         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17694         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17695         (run-via-rtld-prefix): Do not handle %-bp tests.
17696         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17697         (all-object-suffixes): Remove .ob.
17698         (bppfx): Remove variable.
17699         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17700         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17701         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17702         [$(build-bounded) = yes] (libtype.ob): Likewise.
17703         * Makerules (elide-routines.ob): Remove variable.
17704         (do-tests-clean): Do not handle *-bp.out.
17705         (common-mostlyclean): Do not handle *-bp and *-bp.out.
17706         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17707         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17708         (tests): Do not include $(tests-bp.out).
17709         (xtests): Do not include $(xtests-bp.out).
17710         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17711         [$(build-bounded) = yes] ($(addprefix
17712         $(objpfx),$(binaries-bounded))): Remove rule.
17713         ($(objpfx)%-bp.out): Remove rule.
17714         * config.make.in (build-bounded): Remove variable.
17715         * crypt/Makefile [$(build-bounded) = yes]
17716         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17717         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17718         append to variable.
17719         [$(build-bounded) = yes] (install-lib): Likewise.
17720         [$(build-bounded) = yes] (generated): Likewise.
17721         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17722         Remove rule.
17723         * intl/Makefile [$(build-bounded) = yes]
17724         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17725         * math/Makefile [$(build-bounded) = yes]
17726         ($(tests:%=$(objpfx)%-bp): Likewise.
17727         * misc/Makefile [$(build-bounded) = yes]
17728         ($(objpfx)tst-tsearch-bp): Likewise.
17729         * nptl/Makeconfig (bounded-thread-library): Remove variable.
17730         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17731         Remove dependency.
17732         * string/Makefile (o-objects.ob): Remove variable.
17733         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17734         (CFLAGS-.ob): Remove variable.
17735         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17736         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17737         both definitions of variable.
17738         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17739         (ASFLAGS-.ob): Remove variable.
17741 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
17743         [BZ #13550]
17744         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17745         Remove __BOUNDED_POINTERS__ from condition.
17746         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17747         * string/bits/string2.h [!__NO_STRING_INLINES &&
17748         !__BOUNDED_POINTERS__]: Likewise.
17749         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17750         Likewise.
17751         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17752         Remove conditional code.
17753         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17754         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17755         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17756         condition.
17758         [BZ #13550]
17759         * csu/libc-start.c: Do not include <bp-sym.h>.
17760         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17761         * elf/dl-open.c: Do not include <bp-sym.h>.
17762         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17763         * math/fegetenv.c: Do not include <bp-sym.h>.
17764         (fegetenv): Do not use BP_SYM in versioned symbols.
17765         * nptl/sysdeps/pthread/bits/libc-lockP.h
17766         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17767         <bp-sym.h>.
17768         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17769         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17770         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17771         (__pthread_mutex_destroy): Likewise.
17772         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17773         (__pthread_mutex_lock): Likewise.
17774         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17775         (__pthread_mutex_trylock): Likewise.
17776         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17777         (__pthread_mutex_unlock): Likewise.
17778         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17779         (__pthread_mutexattr_init): Likewise.
17780         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17781         (__pthread_mutexattr_destroy): Likewise.
17782         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17783         (__pthread_mutexattr_settype): Likewise.
17784         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17785         (__pthread_rwlock_init): Likewise.
17786         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17787         (__pthread_rwlock_destroy): Likewise.
17788         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17789         (__pthread_rwlock_rdlock): Likewise.
17790         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17791         (__pthread_rwlock_tryrdlock): Likewise.
17792         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17793         (__pthread_rwlock_wrlock): Likewise.
17794         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17795         (__pthread_rwlock_trywrlock): Likewise.
17796         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17797         (__pthread_rwlock_unlock): Likewise.
17798         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17799         (__pthread_key_create): Likewise.
17800         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17801         (__pthread_setspecific): Likewise.
17802         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17803         (__pthread_getspecific): Likewise.
17804         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17805         Likewise.
17806         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17807         (_pthread_cleanup_push_defer): Likewise.
17808         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17809         (_pthread_cleanup_pop_restore): Likewise.
17810         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17811         (pthread_setcancelstate): Likewise.
17812         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17813         <bp-sym.h>.
17814         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17815         (memchr): Do not use BP_SYM in weak_alias.
17816         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17817         (fegetenv): Do not use BP_SYM in versioned symbols.
17818         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17819         (fesetenv): Do not use BP_SYM in versioned symbols.
17820         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17821         (feupdateenv): Do not use BP_SYM in versioned symbols.
17822         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17823         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17824         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17825         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17826         (open64): Do not use BP_SYM in weak_alias.
17827         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17828         (fegetenv): Do not use BP_SYM in versioned symbols.
17829         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17830         (fesetenv): Do not use BP_SYM in versioned symbols.
17831         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17832         (feupdateenv): Do not use BP_SYM in versioned symbols.
17833         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17834         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17835         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17836         (feraiseexcept): Do not use BP_SYM in versioned symbols.
17837         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17838         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17839         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17840         <bp-sym.h>.
17841         (__libc_start_main): Do not use BP_SYM.
17843 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17845         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17846         redundant return line.
17847         (norm): Likewise.
17848         (denorm): Likewise.
17849         (dbl_mp): Likewise.
17850         (sub_magnitudes): Likewise.
17851         (__add): Likewise.
17852         (__sub): Likewise.
17853         (__mul): Likewise.
17854         (__inv): Likewise.
17855         (__dvd): Likewise.
17856         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17857         (norm): Likewise.
17858         (denorm): Likewise.
17859         (dbl_mp): Likewise.
17860         (sub_magnitudes): Likewise.
17861         (__add): Likewise.
17862         (__sub): Likewise.
17863         (__mul): Likewise.
17864         (__inv): Likewise.
17865         (__dvd): Likewise.
17867         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17868         instead of __mul.
17869         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17870         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17871         (cc32): Likewise.
17873         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17874         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17875         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17876         of __mul for squares.
17877         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17878         function
17879         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17880         Likewise.
17881         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17882         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17884 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
17886         [BZ #13550]
17887         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17888         code.
17889         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17890         prototype or function definition.  Rename ubp_* variables and
17891         parameters.  Remove argv definitions conditional on
17892         [__BOUNDED_POINTERS__].
17893         * debug/backtrace.c (__backtrace): Do not use __unbounded.
17894         * elf/dl-runtime.c (_dl_fixup): Likewise.
17895         * include/set-hooks.h (RUN_HOOK): Likewise.
17896         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17897         definition.
17898         * string/strcpy.c (strcpy): Do not use __unbounded.
17899         * sysdeps/generic/frame.h (struct layout): Likewise.
17900         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17901         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17902         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17903         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17904         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17905         (__backtrace): Likewise.
17906         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17907         use __ptrvalue.
17908         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17909         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17910         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17911         Likewise.
17912         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17913         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17914         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17915         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17916         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17917         Do not use __unbounded.
17918         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17919         Rename __unboundedrlimits parameter to rlimits in prototype.
17920         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17921         Do not use __unbounded.
17922         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17923         not use __ptrvalue.
17924         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17925         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17926         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17927         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17928         __ptrvalue or __unbounded.
17929         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17930         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17931         use __unbounded.
17932         (__new_msgctl): Do not use __ptrvalue.
17933         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17934         __unbounded.
17935         (__libc_msgrcv): Do not use __ptrvalue.
17936         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17937         startup_info): Do not use __unbounded.
17938         (__libc_start_main): Likewise.  Rename ubp_* variables and
17939         parameters.  Remove argv definitions conditional on
17940         [__BOUNDED_POINTERS__].
17941         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17942         __ptrvalue.
17943         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17944         use __unbounded.
17945         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17946         or __ptrvalue.
17947         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17948         use __unbounded.
17949         (__new_shmctl): Do not use __ptrvalue.
17950         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17951         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17952         Likewise.
17953         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17954         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17955         (__libc_sigaction): Likewise.
17956         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17957         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17958         Likewise.
17959         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17961 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
17963         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
17965         * string/mempcpy.c: Implement by calling memcpy.
17967 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17969         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17971         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17972         evaluation.
17974         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17975         values in the mantissa.
17977         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17978         minimize writes to Z.
17979         (sub_magnitudes): Simplify code a bit.
17981 2013-02-12  Roland McGrath  <roland@hack.frob.com>
17983         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17984         from the message.  The linker prefixes all warnings with that already.
17986 2013-02-12  Andreas Schwab  <schwab@suse.de>
17988         [BZ #15078]
17989         * posix/regexec.c (extend_buffers): Add parameter min_len.
17990         (check_matching): Pass minimum needed length.
17991         (clean_state_log_if_needed): Likewise.
17992         (get_subexp): Likewise.
17993         * posix/Makefile (tests): Add bug-regex34.
17994         (bug-regex34-ENV): Define.
17995         * posix/bug-regex34.c: New file.
17997         [BZ #11561]
17998         * posix/regcomp.c (parse_bracket_exp): When looking up collating
17999         elements compare against the byte sequence of it, not its name.
18000         * posix/Makefile (tests): Add bug-regex35.
18001         (bug-regex35-ENV): Define.
18002         * posix/bug-regex35.c: New file.
18004 2013-02-11  Tom de Vries  <tom@codesourcery.com>
18006         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
18007         comment.
18008         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18009         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18010         (CHECK_EOL): Add undef.
18012 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
18014         * bits/stdlib-bsearch.h: New file.
18015         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18016         * stdlib/stdlib.h: Likewise.
18018 2013-02-11  Roland McGrath  <roland@hack.frob.com>
18020         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18021         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18022         declaration.
18023         * manual/search.texi (Array Search Function): Add missing const in
18024         lfind prototype.
18025         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18026         declaration to use rlim_t.
18027         (Basic Scheduling Functions): Remove erroneous const from
18028         sched_getparam prototype.  Remove erroneous * from
18029         sched_get_priority_max and sched_get_priority_min prototypes.
18030         (Resource Usage): Fix summary @comment on vtimes to refer to
18031         sys/vtimes.h rather than vtimes.h.
18032         Add missing *s in vtimes prototype.
18033         (Limits on Resources): Fix ulimit prototype to return long int.
18034         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18035         prototypes to use long int rather than double.
18036         (BSD Random): Fix initstate and setstate to use char *, not void *.
18037         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18038         prototype to make second argument 'struct aiocb64 *const[]'.
18039         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18040         (Status of AIO Operations): Remove erroneous const in aio_return and
18041         aio_return64 prototypes.
18042         (Synchronizing I/O): Fix sync prototype to return void.
18043         * manual/startup.texi (Suboptions): Remove an erroneous const in
18044         getsubopt prototype.
18045         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18046         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18047         use size_t rather than int.
18048         (Scanning All Users): Likewise for getpwent_r.
18049         (Setting Groups): Add missing const to setgroups prototype.
18050         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18051         * manual/socket.texi (Host Names): Fix gethostbyaddr and
18052         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18053         'const void *' rather than 'const char *'.
18054         (Host Address Functions): Likewise for inet_ntop.
18055         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18056         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18057         ssize_t for return value.
18058         (Sending Data): Likewise for send, sendto, sendmsg.
18059         (Socket Option Functions): Add a missing const in setsockopt prototype.
18060         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18061         use wchar_t for the argument.
18062         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18063         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18064         take no arguments.
18065         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18066         double/float/long double for second argument.
18067         Fix return types of significand, significandf, significandl.
18068         * manual/filesys.texi (Setting Permissions): Use mode_t for second
18069         argument in fchmod prototype.
18070         (File Owner): Use uid_t and gid_t in fchown prototype.
18071         (File Times): Add const to utimes, futimes, and lutimes prototypes.
18072         (Making Special Files): Use mode_t and dev_t in mknod prototype.
18073         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18074         use 'const struct dirent **' as argument types to CMP function pointer
18075         argument.
18076         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18077         (File Times): Fix summary magic @comment for struct utimbuf and utime
18078         to refer to utime.h, not time.h.
18079         * manual/string.texi (Argz Functions): Add missing const in
18080         argz_extract and argz_next prototypes.
18081         (Finding Tokens in a String): Likewise for basename.
18082         (String/Array Comparison): Fix typo in wcscasecmp prototype.
18083         (Copying and Concatenation): Fix typo in wmemmove prototype.
18084         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18085         (Signal Stack): Remove erroneous const in sigstack prototype.
18086         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18087         prototype.
18088         (Simple Calendar Time): Likewise for stime.
18089         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18090         prototype.
18091         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18092         say sys/sysctl.h instead.
18093         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18094         and vsyslog prototypes.
18096 2013-02-11  Tom de Vries  <tom@codesourcery.com>
18098         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18099         Remove.
18101 2013-02-11  Roland McGrath  <roland@hack.frob.com>
18103         * misc/sys/mman.h: Fix typo in mremap comment.
18105 2013-02-08  Roland McGrath  <roland@hack.frob.com>
18107         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18108         the '\0' terminator.
18110 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
18112         [BZ #13550]
18113         * debug/segfault.c: Don't include <bp-checks.h>.
18114         * sysdeps/generic/bp-checks.h: Remove file.
18115         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18116         (__GETDENTS): Don't use CHECK_N.
18117         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18118         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18119         (__getgroups): Don't use CHECK_N.
18120         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18121         (setgroups): Don't use CHECK_N.
18122         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18123         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18124         (__libc_msgrcv): Don't use CHECK_N.
18125         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18126         (__libc_msgsnd): Don't use CHECK_N.
18127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18128         <bp-checks.h>.
18129         (__libc_pread): Don't use CHECK_N.
18130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18131         include <bp-checks.h>.
18132         (__libc_pread64): Don't use CHECK_N.
18133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18134         include <bp-checks.h>.
18135         (__libc_pwrite): Don't use CHECK_N.
18136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18137         include <bp-checks.h>.
18138         (__libc_pwrite64): Don't use CHECK_N.
18139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18140         <bp-checks.h>.
18141         (__libc_pread): Don't use CHECK_N.
18142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18143         include <bp-checks.h>.
18144         (__libc_pread64): Don't use CHECK_N.
18145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18146         include <bp-checks.h>.
18147         (__libc_pwrite): Don't use CHECK_N.
18148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18149         include <bp-checks.h>.
18150         (__libc_pwrite64): Don't use CHECK_N.
18151         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18152         (do_pread): Don't use CHECK_N.
18153         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18154         (do_pread64): Don't use CHECK_N.
18155         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18156         (do_pwrite): Don't use CHECK_N.
18157         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18158         (do_pwrite64): Don't use CHECK_N.
18159         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18160         (__libc_readv): Don't use CHECK_N.
18161         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18162         (semop): Don't use CHECK_N.
18163         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18164         <bp-checks.h>.
18165         (semtimedop): Don't use CHECK_N.
18166         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18167         (__libc_pread): Don't use CHECK_N.
18168         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18169         <bp-checks.h>.
18170         (__libc_pread64): Don't use CHECK_N.
18171         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18172         <bp-checks.h>.
18173         (__libc_pwrite): Don't use CHECK_N.
18174         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18175         <bp-checks.h>.
18176         (__libc_pwrite64): Don't use CHECK_N.
18177         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18178         <bp-checks.h>.
18179         (__libc_msgrcv): Don't use CHECK_N.
18180         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18181         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
18182         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18183         (__libc_writev): Don't use CHECK_N.
18185 2013-02-08  Roland McGrath  <roland@hack.frob.com>
18187         * string/strcpy.c: Removed unused variable.
18189         * Makeconfig (+sysdep-includes): Define with := rather than =.
18190         Use an existing include/ subdir of each sysdeps dir before it.
18192 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
18194         * nscd/connection.c (register_traced_file): Comment function.
18195         [HAVE_INOTIFY] (union __inev): Define.
18196         [HAVE_INOTIFY] (inotify_check_files): New function.
18197         [HAVE_INOTIFY] (clear_db_cache): Likewise.
18198         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18199         clear_db_cache.
18200         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18202 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
18204         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18205         loaded if not already and that a failure is permanent.
18207 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
18209         [BZ #15006]
18210         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18211         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18213 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
18215         [BZ #13550]
18216         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18217         (CHECK_1_NULL_OK): Likewise.
18218         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18219         (__fxstat): Do not use CHECK_1.
18220         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18221         <bp-checks.h>.
18222         (___fxstat64): Do not use CHECK_1.
18223         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18224         <bp-checks.h>.
18225         (__fxstatat): Do not use CHECK_1.
18226         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18227         <bp-checks.h>.
18228         (__fxstatat64): Do not use CHECK_1.
18229         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18230         <bp-checks.h>.
18231         (__fxstat): Do not use CHECK_1.
18232         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18233         <bp-checks.h>.
18234         (__fxstatat): Do not use CHECK_1.
18235         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18236         <bp-checks.h>.
18237         (__getresgid): Do not use CHECK_1.
18238         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18239         <bp-checks.h>.
18240         (__getresuid): Do not use CHECK_1.
18241         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18242         <bp-checks.h>.
18243         (__lxstat): Do not use CHECK_1.
18244         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18245         <bp-checks.h>.
18246         (__old_msgctl): Do not use CHECK_1.
18247         (__new_msgctl): Likewise.
18248         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18249         <bp-checks.h>.
18250         (__new_setrlimit): Do not use CHECK_1.
18251         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18252         <bp-checks.h>.
18253         (__old_shmctl): Do not use CHECK_1.
18254         (__new_shmctl): Likewise.
18255         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18256         <bp-checks.h>.
18257         (__xstat): Do not use CHECK_1.
18258         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18259         (__lxstat): Do not use CHECK_1.
18260         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18261         <bp-checks.h>.
18262         (___lxstat64): Do not use CHECK_1.
18263         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18264         (__old_msgctl): Do not use CHECK_1.
18265         (__new_msgctl): Likewise.
18266         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18267         <bp-checks.h>.
18268         (__gettimeofday): Do not use CHECK_1.
18269         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18270         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18271         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18272         <bp-checks.h>.
18273         (__gettimeofday): Do not use CHECK_1.
18274         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18275         (__old_shmctl): Do not use CHECK_1_NULL_OK.
18276         (__new_shmctl): Do not use CHECK_1.
18277         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18278         <bp-checks.h>.
18279         (do_sigtimedwait): Do not use CHECK_1.
18280         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18281         <bp-checks.h>.
18282         (do_sigwaitinfo): Do not use CHECK_1.
18283         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18284         <bp-checks.h>.
18285         (msgctl): Do not use CHECK_1.
18286         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18287         <bp-checks.h>.
18288         (shmctl): Do not use CHECK_1.
18289         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18290         (ustat): Do not use CHECK_1.
18291         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18292         <bp-checks.h>.
18293         (__fxstat): Do not use CHECK_1.
18294         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18295         <bp-checks.h>.
18296         (__fxstatat): Do not use CHECK_1.
18297         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18298         <bp-checks.h>.
18299         (__lxstat): Do not use CHECK_1.
18300         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18301         <bp-checks.h>.
18302         (__xstat): Do not use CHECK_1.
18303         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18304         (__xstat): Do not use CHECK_1.
18305         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18306         (___xstat64): Do not use CHECK_1.
18308         [BZ #13550]
18309         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18310         definitions.
18311         (CHECK_BOUNDS_HIGH): Likewise.
18312         * string/strcpy.c: Do not include <bp-checks.h>.
18313         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18315 2013-02-07  Roland McGrath  <roland@hack.frob.com>
18317         * nscd/nscd-client.h (__nscd_drop_map_ref):
18318         Add __attribute__ ((unused)).
18319         * nis/nss-nisplus.h (niserr2nss): Likewise.
18321         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18322         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18324         * csu/libc-tls.c (init_static_tls, init_slotinfo):
18325         Remove inline keyword.
18326         * include/rounding-mode.h (round_away): Likewise.
18327         * libio/wfileops.c (adjust_wide_data): Likewise.
18328         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18329         (__m128i_strloadu_tolower): Likewise.
18330         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18331         (__m128i_strloadu_tolower): Likewise.
18332         * time/mktime.c (ydhms_diff): Likewise.
18333         * locale/elem-hash.h (elem_hash): Likewise.
18334         * locale/setlocale.c (setdata): Likewise.
18335         * posix/regex_internal.h (re_string_char_size_at): Likewise.
18336         (re_string_wchar_at): Likewise.
18337         (bitset_not, bitset_merge, bitset_mask): Likewise.
18338         [!(__GNUC__ > 3)] (inline): Remove macro.
18339         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18340         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18341         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18342         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18343         * string/memcmp.c (memcmp_bytes): Likewise.
18344         * locale/programs/locarchive.c (compute_hashval): Likewise.
18345         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18346         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18347         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18348         * nss/getent.c (print_rpc, print_protocols): Likewise.
18349         (print_passwd, print_group, print_aliases): Likewise.
18350         * nis/nss-nisplus.h (niserr2nss): Likewise.
18351         * nscd/connections.c (restart_p): Likewise.
18352         Change return type to bool.
18354 2013-02-05  Roland McGrath  <roland@hack.frob.com>
18356         * Makeconfig (all-Depend-files): Add existing
18357         $(sorted-subdirs:=/Depend) files.
18358         (all-subdirs): Remove nss.
18359         * sysdeps/unix/inet/Subdirs: Add it here instead.
18360         * hesiod/Depend: New file.
18362         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18363         instead of calling alloca.
18365         * io/lseek.c (__lseek): Rename to __libc_lseek.
18366         Define __lseek as an alias.
18368         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18370 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
18372         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18373         else clause and remove check for non-standard endianness.
18375 2013-02-04  David S. Miller  <davem@davemloft.net>
18377         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18379 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
18381         [BZ #13550]
18382         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18383         (__ubp_memchr): Remove prototype.
18384         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18385         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18386         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18387         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18388         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18389         Remove alias.
18390         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18391         (__ubp_memchr): Likewise.
18392         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18393         (__ubp_memchr): Likewise.
18394         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18395         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18396         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18397         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18398         CHECK_STRING.
18399         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18400         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18401         (__getcwd): Do not use CHECK_STRING.
18402         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18403         <bp-checks.h>.
18404         (__real_chown): Do not use CHECK_STRING.
18405         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18406         <bp-checks.h>.
18407         (fchownat): Do not use CHECK_STRING.
18408         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18409         CHECK_STRING.
18410         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18411         <bp-checks.h>.
18412         (__lchown): Do not use CHECK_STRING.
18413         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18414         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18415         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18416         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18418         include <bp-checks.h>.
18419         (truncate64): Do not use CHECK_STRING.
18420         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18421         <bp-checks.h>.
18422         (__real_chown): Do not use CHECK_STRING.
18423         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18424         <bp-checks.h>.
18425         (__lchown): Do not use CHECK_STRING.
18426         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18427         <bp-checks.h>.
18428         (__chown): Do not use CHECK_STRING.
18429         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18430         <bp-checks.h>.
18431         (truncate64): Do not use CHECK_STRING.
18432         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18433         Likewise.
18434         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18435         (__xmknod): Do not use CHECK_STRING.
18436         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18437         <bp-checks.h>.
18438         (__xmknodat): Do not use CHECK_STRING.
18439         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18440         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18442 2013-02-04  Andreas Schwab  <schwab@suse.de>
18444         [BZ #14142]
18445         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18446         * include/netdb.h: Likewise for h_errno.
18447         * elf/tst-stackguard1.c: Include <tls.h>.
18449 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
18451         * elf/link.h (struct link_map): Extend the l_addr comment.
18452         * include/link.h (struct link_map): Likewise.
18454 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
18456         [BZ #13550]
18457         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18458         (BOUNDED_1): Remove macro.
18459         * debug/backtrace.c: Don't include <bp-checks.h>.
18460         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18461         (__backtrace): Likewise.
18462         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18463         <bp-checks.h>.
18464         (__backtrace): Don't use BOUNDED_1.
18465         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18466         <bp-checks.h>.
18467         (__backtrace): Don't use BOUNDED_1.
18468         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18469         (__backtrace): Don't use BOUNDED_1.
18470         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18471         (shmat): Don't use BOUNDED_N.
18473 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
18475         [BZ #13550]
18476         * sysdeps/generic/bp-start.h: Remove file.
18477         * csu/libc-start.c: Don't include <bp-start.h>.
18478         (LIBC_START_MAIN): Set up __environ directly instead of using
18479         INIT_ARGV_and_ENVIRON.
18480         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18481         <bp-start.h>.
18483         [BZ #13550]
18484         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18485         definitions.
18486         (CHECK_FCNTL): Likewise.
18487         (CHECK_N_PAGES): Likewise.
18489         [BZ #13550]
18490         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18491         definitions.
18492         (CHECK_SIGSET_NULL_OK): Likewise.
18493         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18494         <bp-checks.h>.
18495         (sigpending): Don't use CHECK_SIGSET.
18496         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18497         <bp-checks.h>.
18498         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18499         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18500         <bp-checks.h>.
18501         (do_sigsuspend): Don't use CHECK_SIGSET.
18502         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18503         use CHECK_SIGSET.
18504         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18505         (do_sigwait): Don't use CHECK_SIGSET.
18506         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18507         use CHECK_SIGSET.
18508         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18509         include <bp-checks.h>.
18510         (sigpending): Don't use CHECK_SIGSET.
18511         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18512         include <bp-checks.h>.
18513         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18514         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18515         <bp-checks.h>.
18516         (sigpending): Don't use CHECK_SIGSET.
18517         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18518         <bp-checks.h>.
18519         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18521         [BZ #13550]
18522         * sysdeps/generic/bp-semctl.h: Remove file.
18523         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18524         <bp-checks.h> and <bp-semctl.h>.
18525         (__old_semctl): Don't use CHECK_SEMCTL.
18526         (__new_semctl): Likewise.
18527         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18528         and <bp-semctl.h>.
18529         (__old_semctl): Don't use CHECK_SEMCTL.
18530         (__new_semctl): Likewise.
18531         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18532         <bp-checks.h> and <bp-semctl.h>.
18533         (__old_semctl): Don't use CHECK_SEMCTL.
18534         (__new_semctl): Likewise.
18535         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18536         <bp-checks.h> and <bp-semctl.h>.
18537         (semctl): Don't use CHECK_SEMCTL.
18539         [BZ #13550]
18540         * Makerules (elide-bp-thunks): Remove variable.
18541         (elide-routines.oS): Don't use $(elide-bp-thunks).
18542         (elide-routines.os): Likewise.
18543         (elide-routines.o): Likewise.
18544         (elide-routines.op): Likewise.
18545         (elide-routines.og): Likewise.
18546         (objects): Don't use $(bp-thunks).
18547         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18548         include.
18549         (common-generated): Do not add s-proto-bp.d.
18550         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18551         (int): Likewise.
18552         (typ): Likewise.
18553         Do not generate makefile rules for bounded-pointer thunks.
18554         * sysdeps/generic/bp-thunks.h: Remove file.
18555         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18556         * sysdeps/unix/s-proto-bp.S: Likewise.
18558         [BZ #15062]
18559         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18560         parts of result separately when argument is not close to line from
18561         -i to i and one part of argument is small.
18562         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18563         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18564         * math/libm-test.inc (cacos_test): Add more tests.
18565         (casin_test): Likewise.
18566         (casinh_test): Likewise.
18567         * sysdeps/i386/fpu/libm-test-ulps: Update.
18568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18570 2013-01-31  David S. Miller  <davem@davemloft.net>
18572         * po/de.po: Update from translation team.
18574 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
18576         * time/tzfile.c: Include stdint.h for SIZE_MAX.
18578 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
18580         * configure.in (_AC_PROG_CC_C89): New definition.
18581         * configure: Regenerate.
18583         * configure.in (AC_PROG_CPP): New definition.
18584         * configure: Regenerate.
18586 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
18588         * debug/tst-backtrace.h: New file.
18589         * debug/tst-backtrace2.c: Include tst-backtrace.h.
18590         (ret): Remove variable.
18591         (x): Likewise.
18592         (FAIL): Remove macro.
18593         (NO_INLINE): Likewise.
18594         (fn1): Use match function instead of strstr.
18595         * debug/tst-backtrace3.c: Include tst-backtrace.h.
18596         (ret): Remove variable.
18597         (x): Likewise.
18598         (FAIL): Remove macro.
18599         (NO_INLINE): Likewise.
18600         (fn): Use match function instead of strstr.
18601         * debug/tst-backtrace4.c: Include tst-backtrace.h.
18602         (ret): Remove variable.
18603         (x): Likewise.
18604         (FAIL): Remove macro.
18605         (NO_INLINE): Likewise.
18606         (handle_signal): Use match function instead of strstr.
18607         * debug/tst-backtrace5.c: Include tst-backtrace.h.
18608         (ret): Remove variable.
18609         (x): Likewise.
18610         (FAIL): Remove macro.
18611         (NO_INLINE): Likewise.
18612         (handle_signal): Use match function instead of strstr.
18614 2013-01-23  Roland McGrath  <roland@hack.frob.com>
18616         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18618 2013-01-23  David S. Miller  <davem@davemloft.net>
18620         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18621         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18622         argument of CAS if possible.
18623         * sysdeps/sparc/sparc64/bits/atomic.h
18624         (__arch_compare_and_exchange_val_32_acq): Likewise.
18625         (__arch_compare_and_exchange_val_64_acq): Likewise.
18627 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
18629         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18630         * sysdeps/posix/ulimit.c: ... this.
18631         Include <limits.h>.
18632         * sysdeps/unix/bsd/ulimit.c: Remove file.
18634 2013-01-23  Adam Conrad  <adconrad@0c3.net>
18636         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18637         (LDFLAGS-tst-array5): Likewise.
18639 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
18641         [BZ #15036]
18642         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18643         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18644         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18645         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18647 2013-01-21  David S. Miller  <davem@davemloft.net>
18649         * sysdeps/sparc/backtrace.c: New file.
18650         * sysdeps/sparc/sparc32/backtrace.h: New file.
18651         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18652         * sysdeps/sparc/sparc64/backtrace.h: New file.
18653         * sysdeps/sparc/sparc64/backtrace.c: Delete.
18654         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18655         -funwind-tables.
18657 2013-01-21  Andreas Schwab  <schwab@suse.de>
18659         [BZ #15020]
18660         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18661         closed its stdout.
18663 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
18665         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18666         "mpa2.h".
18667         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18669 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
18670             Mark Mitchell  <mark@codesourcery.com>
18671             Tom de Vries  <tom@codesourcery.com>
18672             Paul Pluzhnikov  <ppluzhnikov@google.com>
18674         * debug/tst-backtrace2.c: New file.
18675         * debug/tst-backtrace3.c: Likewise.
18676         * debug/tst-backtrace4.c: Likewise.
18677         * debug/tst-backtrace5.c: Likewise.
18678         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18679         (CFLAGS-tst-backtrace3.c): Likewise.
18680         (CFLAGS-tst-backtrace4.c): Likewise.
18681         (CFLAGS-tst-backtrace5.c): Likewise.
18682         (LDFLAGS-tst-backtrace2): Likewise.
18683         (LDFLAGS-tst-backtrace3): Likewise.
18684         (LDFLAGS-tst-backtrace4): Likewise.
18685         (LDFLAGS-tst-backtrace5): Likewise.
18686         (tests): Add new tests tst-backtrace2, tst-backtrace3,
18687         tst-backtrace4 and tst-backtrace5.
18689 2013-01-18  Anton Blanchard  <anton@samba.org>
18690             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18692         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18693         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18694         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18695         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18697         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18698         "+r" and remove output regs list as redundant.  Add explicit inline
18699         asm to specify register of return val to work around compiler codegen
18700         bug.  Remove (int) cast on return value.  Add return type parameter to
18701         use in macro so that this macro does not truncate return value for
18702         64-bit values.
18703         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18704         pass to INTERNAL_VSYSCALL_NCS.
18705         (INLINE_VSYSCALL): Add 'long int' as return type to
18706         INTERNAL_VSYSCALL_NCS macro invocation.
18707         (INTERNAL_VSYSCALL): Add 'long int' as return type to
18708         INTERNAL_VSYSCALL_NCS macro invocation.
18709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18711 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18713         [BZ #14496]
18714         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18715         Fix application of SIMD FP exception mask.
18717         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18718         mp_no from a power of two.
18719         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18720         __mpexp_twomm1.  Use __pow_mp.
18722         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18723         multiplication.
18725 2013-01-17  David S. Miller  <davem@davemloft.net>
18727         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18729 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
18731         [BZ #15023]
18732         * include/complex.h: Condition contents on [!_COMPLEX_H].
18733         (__kernel_casinhf): New prototype.
18734         (__kernel_casinh): Likewise.
18735         (__kernel_casinhl): Likewise.
18736         * math/Makefile (libm_calls): Add k_casinh.
18737         * math/k_casinh.c: New file.
18738         * math/k_casinhf.c: Likewise.
18739         * math/k_casinhl.c: Likewise.
18740         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18741         finite nonzero arguments.
18742         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18743         finite nonzero arguments.
18744         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18745         finite nonzero arguments.
18746         * math/s_casinh.c: Do not include <float.h>.
18747         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18748         * math/s_casinhf.c: Do not include <float.h>.
18749         (__casinhf): Move code for finite nonzero arguments to
18750         k_casinhf.c.
18751         * math/s_casinhl.c: Do not include <float.h>.
18752         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18753         redefine.
18754         (__casinhl): Move code for finite nonzero arguments to
18755         k_casinhl.c.
18756         * math/libm-test.inc (cacos_test): Add more tests.
18757         * sysdeps/i386/fpu/libm-test-ulps: Update.
18758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18760 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
18762         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18763         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18764         [!HAVE_MREMAP]: Remove [defined linux] case.
18765         * malloc/arena.c: Do not include <malloc-sysdep.h>.
18767 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18769         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18771 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
18773         * elf/elf.h (R_386_SIZE32): New relocation.
18774         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18775         R_386_SIZE32.
18776         (elf_machine_rela): Likewise.
18777         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18778         R_X86_64_SIZE64 and R_X86_64_SIZE32.
18780 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
18782         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18783         (FP_FAST_FMA): Do not define.
18784         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18785         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18786         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18787         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18788         !_SOFT_FLOAT]: Likewise.
18789         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18790         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18791         value.
18792         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18793         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18794         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18795         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18796         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18797         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18798         file.
18800 2013-01-16  Andreas Schwab  <schwab@suse.de>
18802         [BZ #14327]
18803         * include/stdlib.h (__mktemp): Add declaration.
18804         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18805         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18807 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18809         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18810         definitions.
18811         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18812         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18813         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18814         definitions here.
18815         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18816         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18817         definitions.
18818         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18819         and ONE.
18820         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18821         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18822         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18823         definitions.
18824         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18825         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18826         definitions.
18827         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18829         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18831 2013-01-15  David S. Miller  <davem@davemloft.net>
18833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18834         trunc{,f} to libm-sysdep_routes.
18835         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18837         file.
18838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18840         file.
18841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18842         file.
18843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18844         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18845         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18846         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18847         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18848         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18849         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18850         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18853         nearbyint{,f} to libm-sysdep_routes.
18854         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18856         New file.
18857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18858         file.
18859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18860         New file.
18861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18862         file.
18863         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18864         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18865         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18866         file.
18867         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18868         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18869         file.
18870         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18871         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18872         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18874         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18875         libc_feholdexcept and libc_fesetenv.
18877 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
18879         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18881 2013-01-14  David S. Miller  <davem@davemloft.net>
18883         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18884         (SPARC_ASM_VIS2_IFUNC): Likewise.
18885         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18887         use of 'siam' instruction.
18888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18889         Likewise.
18890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18891         Likewise.
18892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18893         Likewise.
18894         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18895         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18896         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18897         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18899         file.
18900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18901         file.
18902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18903         file.
18904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18905         file.
18906         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18907         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18908         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18909         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18911         new VIS2 routines.
18912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18915         Likewise.
18916         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18917         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18918         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18919         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18921         routines to libm-sysdep_routines.
18922         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18925         fdim/fdimf to libm-sysdep_routines.
18926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18927         file.
18928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18930         file.
18931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18932         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18933         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18934         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18935         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18936         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18937         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18939 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18941         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18942         to optimize copies.
18944         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18945         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18946         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18948         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18949         local variable MPTWO.
18950         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18951         Likewise.
18953 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
18955         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18956         GLOB_NOESCAPE.
18958 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
18960         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18962 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
18964         * manual/pattern.texi (glob_t): Document gl_flags.
18965         (glob64_t): Likewise.
18967 2013-01-11  David S. Miller  <davem@davemloft.net>
18969         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18970         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18971         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
18972         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18973         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18974         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18975         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18976         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18977         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18978         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18979         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18980         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18981         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18983         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18984         sparc V9 rather than using V8 code.
18985         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18986         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18988         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18989         Move to...
18990         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18991         Here.
18993 2013-01-11  Roland McGrath  <roland@hack.frob.com>
18995         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18996         not in the main loop.
18997         * configure: Regenerated.
18999 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
19001         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19002         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19003         to just #else.
19004         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
19005         [!__GLIBC_HAVE_LONG_LONG] case.
19006         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19007         condition to just #else.
19008         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19009         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19010         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19011         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19012         unconditional.
19013         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19014         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19015         #elif condition to just #else.
19016         * sysdeps/unix/sysv/linux/sys/sysmacros.h
19017         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19018         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19019         #elif condition to just #else.
19021 2013-01-11  Steve Ellcey  <sellcey@mips.com>
19023         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19024         (EF_MIPS_ARCH_64): Fix value.
19025         (EF_MIPS_ARCH_32R2): New.
19026         (EF_MIPS_ARCH_64R2): New.
19028 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
19030         * Makeconfig (+link-pie-before-libc): New.
19031         (+link-pie-after-libc): Likewise.
19032         (+link-pie-tests): Likewise.
19033         (+link-pie): Rewritten.
19034         (link-before-libc): Remove $(config-LDFLAGS).
19035         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19036         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19037         (config-LDFLAGS): Renamed to ...
19038         (rtld-LDFLAGS): This.
19039         (rtld-tests-LDFLAGS): New macro.
19040         (link-libc-rpath-link): Likewise.
19041         (link-libc-tests-rpath-link): Likewise.
19042         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19043         (link-libc): Prepand $(link-libc-rpath-link).
19044         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19045         (test-program-prefix): New macro.
19046         (test-via-rtld-prefix): Likewise.
19047         (test-program-cmd): Likewise.
19048         (host-test-program-cmd): Likewise.
19049         * Makefile ($(common-objpfx)testrun.sh): Replace
19050         $(run-program-prefix) with $(test-program-prefix).
19051         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19052         $(rtld-LDFLAGS).
19053         ($(common-objpfx)shlib.lds): Likewise.
19054         (build-module-helper): Likewise.
19055         ($(common-objpfx)format.lds): Likewise.
19056         * Rules (binaries-pie-tests): New.
19057         (binaries-pie-notests): Likewise.
19058         (binaries-pie): Rewritten.
19059         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19060         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19061         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19062         (make-test-out): Replace $(host-built-program-cmd) with
19063         $(host-test-program-cmd).
19064         * config.make.in (build-hardcoded-path-in-tests): New variable.
19065         * configure.in (--enable-hardcoded-path-in-tests): New configure
19066         option.
19067         (hardcoded_path_in_tests): New AC_SUBST.
19068         * configure: Regenerated.
19069         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19070         $(built-program-cmd) with $(test-program-cmd).
19071         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19072         (test_program_cmd): This.
19073         * elf/Makefile ($(objpfx)order.out): Run test with
19074         $(test-program-prefix).
19075         ($(objpfx)order2.out): Likewise.
19076         ($(objpfx)tst-initorder.out): Likewise.
19077         ($(objpfx)tst-initorder2.out): Likewise.
19078         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19079         $(test-program-cmd).
19080         ($(objpfx)tst-array1-static.out): Likewise.
19081         ($(objpfx)tst-array2.out): Likewise.
19082         ($(objpfx)tst-array3.out): Likewise.
19083         ($(objpfx)tst-array4.out): Likewise.
19084         ($(objpfx)tst-array5.out): Likewise.
19085         ($(objpfx)tst-array5-static.out): Likewise.
19086         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19087         $(test-program-cmd).
19088         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19089         $(run-program-prefix) with $(test-program-prefix).
19090         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19091         (test_program_prefix): This.
19092         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19093         $(run-program-prefix) with $(test-program-prefix).
19094         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19095         (test_program_prefix): This.
19096         * iconvdata/tst-tables.sh: Likewise.
19097         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19098         $(run-program-prefix) with $(test-program-prefix).
19099         ($(objpfx)tst-translit.out): Likewise.
19100         ($(objpfx)tst-gettext2.out): Likewise.
19101         ($(objpfx)tst-gettext4.out): Likewise.
19102         ($(objpfx)tst-gettext6.out): Likewise.
19103         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19104         (test_program_prefix): This.
19105         * intl/tst-gettext2.sh: Likewise.
19106         * intl/tst-gettext4.sh  Likewise.
19107         * intl/tst-gettext6.sh: Likewise.
19108         * intl/tst-translit.sh: Likewise.
19109         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19110         with $(test-program-cmd).
19111         * libio/Makefile ($(objpfx)test-freopen.out): Replace
19112         $(run-program-prefix) with $(test-program-prefix).
19113         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19114         (test_program_prefix): This.
19115         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19116         $(run-program-prefix) with $(test-program-prefix).
19117         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19118         (test_program_prefix): This.
19119         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19120         * posix/Makefile ($(objpfx)globtest.out): Replace
19121         $(run-via-rtld-prefix) and $(test-wrapper) with
19122         $(test-program-prefix) and $(test-via-rtld-prefix).
19123         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19124         $(test-program-prefix).
19125         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19126         $(host-test-program-cmd).
19127         (tst-spawn-ARGS): Likewise.
19128         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19129         $(test-program-prefix).
19130         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19131         (test_via_rtld_prefix): This.
19132         (test_wrapper): Renamed to ...
19133         (test_program_prefix): This.
19134         (run_program_prefix): Replaced by test_program_prefix.
19135         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19136         (test_program_prefix): This.
19137         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19138         with $(host-test-program-cmd).
19139         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19140         $(run-program-prefix) with $(test-program-prefix).
19141         ($(objpfx)tst-printf.out): Likewise.
19142         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19143         $(test-program-cmd).
19144         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19145         (test_program_prefix): This.
19146         * stdio-common/tst-unbputc.sh: Likewise.
19147         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19148         $(run-program-prefix) with $(test-program-prefix).
19149         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19150         (test_program_prefix): This.
19151         * string/Makefile ($(objpfx)tst-svc.out):  Replace
19152         $(built-program-cmd) with $(test-program-cmd).
19154 2013-01-11  Andreas Jaeger  <aj@suse.de>
19156         [BZ #15003]
19157         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19158         value. Sync with Linux 3.7.
19160 2013-01-10  David S. Miller  <davem@davemloft.net>
19162         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19163         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19164         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19166 2013-01-10  Roland McGrath  <roland@hack.frob.com>
19168         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19169         never set.
19170         * configure: Regenerated.
19172 2013-01-10  David S. Miller  <davem@davemloft.net>
19174         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19175         sparc V9 rather than using V8 code.
19176         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19177         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19179 2013-01-10  Roland McGrath  <roland@hack.frob.com>
19181         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19182         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19183         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19184         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19185         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19186         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19187         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19188         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19189         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19190         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19191         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19192         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19193         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19194         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19195         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19196         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19197         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19198         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19199         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19200         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19201         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19202         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19203         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19204         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19205         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19206         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19207         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19209 2013-01-10  David S. Miller  <davem@davemloft.net>
19211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19213 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
19215         * posix/Makefile (tests-static): New variable.
19216         (tests): Add $(tests-static).
19217         (tst-exec-static-ARGS): New variable.
19218         (tst-spawn-static-ARGS): Likewise.
19219         * posix/tst-exec-static.c: New file.
19220         * posix/tst-spawn-static.c: Likewise.
19221         * posix/tst-exec.c: Support run directly.
19222         * posix/tst-spawn.c: Likewise.
19224 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
19226         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19227         long.
19228         * math/bits/mathcalls.h (llrint): Likewise.
19229         (llround): Likewise.
19230         * stdlib/stdlib.h (struct drand48_data): Likewise.
19231         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19232         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19233         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19234         Likewise.
19235         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19236         Likewise.
19237         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19238         (elf_greg_t): Likewise.
19239         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19240         (__jmp_buf): Likewise.
19241         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19242         definitions.
19243         (llrint): Likewise, for all definitions.
19244         (llrintl): Likewise.
19246         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19247         Remove [__GNUC__] condition.
19248         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19249         condition to just [__USE_ISOC99].
19250         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19252 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
19254         [BZ #14200]
19255         * sysdeps/unix/sysv/linux/x86/bits/environments.h
19256         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19257         defined.
19258         (_POSIX_V6_ILP32_OFF32): Likewise.
19259         (_XBS5_ILP32_OFF32): Likewise.
19260         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19261         (__ILP32_OFFBIG_LDFLAGS): Likewise.
19263 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19265         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19267         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19268         doubles __mpexp_twomm1.  Adjust usage.
19269         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19270         Remove.
19272 2013-01-10  Andreas Schwab  <schwab@suse.de>
19274         [BZ #14964]
19275         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19276         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19278 2013-01-09  David S. Miller  <davem@davemloft.net>
19280         [BZ #15003]
19281         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19282         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19283         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19284         TCP_FASTOPEN): Define.
19285         (tcp_repair_opt): New structure.
19286         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19287         enum values.
19288         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19289         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19290         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19291         (tcp_cookie_transactions): New structure.
19293 2013-01-09  Anton Blanchard  <anton@samba.org>
19295         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19296         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19297         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19298         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19300 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
19302         * include/features.h (__USE_ANSI): Remove.
19304 2013-01-09  Roland McGrath  <roland@hack.frob.com>
19306         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19308         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19310 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
19312         * sysdeps/s390/fpu/libm-test-ulps: Update.
19314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19316         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19317         (__acr): Likewise.
19318         (__cpy): Likewise.
19319         (norm): Likewise.
19320         (denorm): Likewise.
19321         (__mp_dbl): Likewise.
19322         (__dbl_mp): Likewise.
19323         (add_magnitudes): Likewise.
19324         (sub_magnitudes): Likewise.
19325         (__add): Likewise.
19326         (__sub): Likewise.
19327         (__mul): Likewise.
19328         (__inv): Likewise.
19329         (__dvd): Likewise.
19330         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19331         (__acr): Likewise.
19332         (__cpy): Likewise.
19333         (norm): Likewise.
19334         (denorm): Likewise.
19335         (__mp_dbl): Likewise.
19336         (__dbl_mp): Likewise.
19337         (add_magnitudes): Likewise.
19338         (sub_magnitudes): Likewise.
19339         (__add): Likewise.
19340         (__sub): Likewise.
19341         (__mul): Likewise.
19342         (__inv): Likewise.
19343         (__dvd): Likewise.
19344         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19345         (__acr): Likewise.
19346         (__cpy): Likewise.
19347         (norm): Likewise.
19348         (denorm): Likewise.
19349         (__mp_dbl): Likewise.
19350         (__dbl_mp): Likewise.
19351         (add_magnitudes): Likewise.
19352         (sub_magnitudes): Likewise.
19353         (__add): Likewise.
19354         (__sub): Likewise.
19355         (__mul): Likewise.
19356         (__inv): Likewise.
19357         (__dvd): Likewise.
19359 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
19361         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19362         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19363         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19364         2 && __USE_EXTERN_INLINES]: Likewise.
19366 2013-01-08  Andreas Jaeger  <aj@suse.de>
19368         [BZ# 14985]
19369         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19370         Remove.
19371         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19372         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19374 2013-01-07  Anton Blanchard  <anton@samba.org>
19376         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19377         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19378         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19379         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19380         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19381         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19382         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19383         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19384         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19385         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19386         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19387         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19388         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19389         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19390         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19391         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19392         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19393         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19394         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19395         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19396         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19397         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19398         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19399         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19400         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19401         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19402         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19403         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19404         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19405         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19406         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19407         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19408         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19409         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19410         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19411         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19412         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19413         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19414         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19415         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19416         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19417         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19418         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19420 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
19422         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19423         (__MALLOC_PMT): Likewise.
19424         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19425         [__GNUC__], only on [_LIBC].
19426         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19427         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19428         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19429         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19430         forward declaration.
19431         (realloc_hook_ini): Likewise.
19432         (memalign_hook_ini): Likewise.
19433         (__libc_memalign): Do not use __MALLOC_PMT in variable
19434         declaration.
19435         (__libc_valloc): Likewise.
19436         (__libc_pvalloc): Likewise.
19437         (__libc_calloc): Likewise.
19438         (__posix_memalign): Likewise.
19440         [BZ #14996]
19441         * math/s_casinh.c: Include <float.h>.
19442         (__casinh): Do not do computation with squaring and square root
19443         for large arguments.
19444         * math/s_casinhf.c: Include <float.h>.
19445         (__casinhf): Do not do computation with squaring and square root
19446         for large arguments.
19447         * math/s_casinhl.c: Include <float.h>.
19448         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19449         (__casinhl): Do not do computation with squaring and square root
19450         for large arguments.
19451         * math/libm-test.inc (casin_test): Add more tests.
19452         (casinh_test): Likewise.
19453         * sysdeps/i386/fpu/libm-test-ulps: Update.
19454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19456 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
19458         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19459         (__x86_64_raw_data_cache_size): Likewise.
19460         (__x86_64_data_cache_size_half): Likewise.
19461         (__x86_64_raw_data_cache_size_half): Likewise.
19462         (__x86_64_shared_cache_size): Likewise.
19463         (__x86_64_raw_shared_cache_size): Likewise.
19464         (__x86_64_shared_cache_size_half): Likewise.
19465         (__x86_64_raw_shared_cache_size_half): Likewise.
19466         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19467         to ...
19468         (__x86_data_cache_size): This.
19469         (__x86_64_raw_data_cache_size): Renamed to ...
19470         (__x86_raw_data_cache_size): This.
19471         (__x86_64_data_cache_size_half): Renamed to ...
19472         (__x86_data_cache_size_half): This.
19473         (__x86_64_raw_data_cache_size_half): Renamed to ...
19474         (__x86_raw_data_cache_size_half): This.
19475         (__x86_64_shared_cache_size): Renamed to ...
19476         (__x86_shared_cache_size): This.
19477         (__x86_64_raw_shared_cache_size): Renamed to ...
19478         (__x86_raw_shared_cache_size): This.
19479         (__x86_64_shared_cache_size_half): Renamed to ...
19480         (__x86_shared_cache_size_half): This.
19481         (__x86_64_raw_shared_cache_size_half): Renamed to ...
19482         (__x86_raw_shared_cache_size_half): This.
19483         * sysdeps/x86_64/memcpy.S: Updated.
19484         * sysdeps/x86_64/memset.S: Likewise.
19485         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19486         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19487         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19489 2013-01-04  David S. Miller  <davem@davemloft.net>
19491         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19493 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
19495         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19496         1 to avoid redefinition warning.
19497         (__USE_GNU): Don't define.
19498         (init_signaling_nan): Protoize.
19500         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19502 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19504         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19505         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19506         (__cpymn): Likewise.
19507         (norm): Remove commented code.
19508         (denorm): Likewise.
19509         (__mp_dbl): Likewise.
19510         (__inv): Likewise.
19511         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19512         (__cpymn): Likewise.
19513         (norm): Remove commented code.
19514         (denorm): Likewise.
19515         (__mp_dbl): Likewise.
19516         (__inv): Likewise.
19518         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19519         mp_no value for 1.0 and 2.0.
19520         (norm): Use RADIXI instead of radixi.d.
19521         (denorm): Likewise.
19522         (__mul): Use 0.0 instead of zero.d.
19523         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19524         mp_no value for 1.0 and 2.0.
19525         (norm): Use RADIXI instead of radixi.d.
19526         (denorm): Likewise.
19527         (__mul): Use 0.0 instead of zero.d.
19529 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
19531         [BZ #14994]
19532         * math/s_casinh.c (__casinh): Reduce finite argument to first
19533         quadrant then set signs of results at the end.
19534         * math/s_casinhf.c (__casinhf): Likewise.
19535         * math/s_casinhl.c (__casinhl): Likewise.
19536         * math/libm-test.inc (casin_test): Add more tests.
19537         (casinh_test): Likewise.
19538         * sysdeps/i386/fpu/libm-test-ulps: Update.
19539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19541 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19543         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19545         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19547         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19548         declarations.
19549         (denorm): Likewise.
19550         (__mp_dbl): Likewise.
19551         (__inv): Likewise.
19553         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19554         and adjust the header comment.
19556         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19557         variable name from declaration.
19559 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
19561         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19562         Initialize COMMON_CPUID_INDEX_7 element.
19563         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19564         (CPUID_RTM): Likewise.
19565         (HAS_RTM): Likewise.
19566         (COMMON_CPUID_INDEX_7): New enum.
19568 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
19570         [BZ #14981]
19571         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19572         size is zero, record memory as freed.
19574 2013-01-03  Andreas Jaeger  <aj@suse.de>
19576         * po/ia.po: Add new Interlingua translation.
19578 2012-01-03  Allan McRae  <allan@archlinux.org>
19580         * locale/programs/localedef.c: Fix description of '--posix' flag.
19582 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
19584         * NEWS: Update dates in second copyright notice.
19585         * README: Update copyright dates in example.
19586         * manual/libc.texinfo: Update copyright dates.
19587         * scripts/test-installation.pl: Update copyright date in --version
19588         output.
19590         * hurd/ctty-input.c: Fix copyright notice formatting.
19591         * hurd/ctty-output.c: Likewise.
19592         * hurd/dtable.c: Likewise.
19593         * hurd/hurd-raise.c: Likewise.
19594         * hurd/hurdprio.c: Likewise.
19595         * hurd/msgportdemux.c: Likewise.
19596         * misc/sys/file.h: Likewise.
19597         * misc/sys/ioctl.h: Likewise.
19598         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19599         * sysdeps/mach/hurd/chdir.c: Likewise.
19600         * sysdeps/mach/hurd/fchdir.c: Likewise.
19601         * sysdeps/mach/hurd/rename.c: Likewise.
19602         * sysdeps/mach/hurd/rmdir.c: Likewise.
19603         * sysdeps/mach/hurd/seekdir.c: Likewise.
19604         * sysdeps/mach/hurd/setsid.c: Likewise.
19605         * sysdeps/posix/wait3.c: Likewise.
19607         * All files with FSF copyright notices: Update copyright dates
19608         using scripts/update-copyrights.
19609         * intl/plural.c: Regenerated.
19610         * locale/programs/charmap-kw.h: Likewise.
19611         * locale/programs/locfile-kw.h: Likewise.
19613 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19615         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19616         four values.
19618         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19619         calculation loop and add branch prediction.
19621         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19622         check access beyond bounds of m1np.
19624         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19625         MPTWO.
19626         (__inv): Remove local variable MPTWO to use the global
19627         constant.
19628         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19629         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19630         variable MPTWO.
19631         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19632         MP3HALFS static const.
19634 2013-01-01  David S. Miller  <davem@davemloft.net>
19636         * po/ca.po: Update from translation team.
19638 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
19640         * scripts/update-copyrights: New file.
19641         * Makeconfig: Reformat copyright notice.
19642         * ctype/ctype.h: Likewise.
19643         * debug/swprintf_chk.c: Likewise.
19644         * elf/dl-cache.c: Likewise.
19645         * elf/dl-debug.c: Likewise.
19646         * elf/dl-object.c: Likewise.
19647         * grp/initgroups.c: Likewise.
19648         * hurd/Makefile: Likewise.
19649         * hurd/hurd/signal.h: Likewise.
19650         * hurd/hurdfault.c: Likewise.
19651         * hurd/hurdioctl.c: Likewise.
19652         * hurd/hurdlookup.c: Likewise.
19653         * hurd/intr-msg.c: Likewise.
19654         * iconv/gconv_open.c: Likewise.
19655         * libio/swprintf.c: Likewise.
19656         * locale/lc-ctype.c: Likewise.
19657         * locale/nl_langinfo.c: Likewise.
19658         * mach/Machrules: Likewise.
19659         * mach/Makefile: Likewise.
19660         * malloc/obstack.h: Likewise.
19661         * manual/Makefile: Likewise.
19662         * manual/tsort.awk: Likewise.
19663         * misc/bits/stab.def: Likewise.
19664         * nis/nis_print_group_entry.c: Likewise.
19665         * nis/nis_table.c: Likewise.
19666         * nis/nss_compat/compat-pwd.c: Likewise.
19667         * nis/nss_compat/compat-spwd.c: Likewise.
19668         * po/Makefile: Likewise.
19669         * posix/fnmatch.c: Likewise.
19670         * posix/regex.h: Likewise.
19671         * resolv/Makefile: Likewise.
19672         * resolv/nss_dns/dns-network.c: Likewise.
19673         * resolv/res_hconf.c: Likewise.
19674         * scripts/gen-sorted.awk: Likewise.
19675         * soft-fp/soft-fp.h: Likewise.
19676         * stdio-common/printf.h: Likewise.
19677         * stdlib/monetary.h: Likewise.
19678         * stdlib/random.c: Likewise.
19679         * stdlib/random_r.c: Likewise.
19680         * sysdeps/generic/Makefile: Likewise.
19681         * sysdeps/gnu/Makefile: Likewise.
19682         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19683         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19684         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19685         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19686         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19687         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19688         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19689         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19690         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19691         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19692         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19693         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19694         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19695         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19696         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19697         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19698         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19699         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19700         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19701         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19702         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19703         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19704         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19705         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19706         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19707         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19708         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19709         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19710         * sysdeps/mach/hurd/errnos.awk: Likewise.
19711         * sysdeps/mach/hurd/fork.c: Likewise.
19712         * sysdeps/mach/hurd/getcwd.c: Likewise.
19713         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19714         * sysdeps/mach/hurd/mmap.c: Likewise.
19715         * sysdeps/mach/hurd/utimes.c: Likewise.
19716         * sysdeps/mach/hurd/xmknod.c: Likewise.
19717         * sysdeps/posix/profil.c: Likewise.
19718         * sysdeps/posix/readdir_r.c: Likewise.
19719         * sysdeps/powerpc/bits/mathdef.h: Likewise.
19720         * sysdeps/powerpc/bits/setjmp.h: Likewise.
19721         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19722         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19723         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19724         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19725         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19726         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19727         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19728         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19729         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19730         * sysdeps/pthread/lio_listio.c: Likewise.
19731         * sysdeps/sparc/dl-procinfo.h: Likewise.
19732         * sysdeps/unix/i386/sysdep.S: Likewise.
19733         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19734         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19735         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19736         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19738         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19739         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19740         * sysdeps/unix/sysv/linux/speed.c: Likewise.
19741         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19742         * sysdeps/wordsize-32/divdi3.c: Likewise.
19743         * time/sys/time.h: Likewise.
19744         * wcsmbs/Makefile: Likewise.
19746 2013-01-01  David S. Miller  <davem@davemloft.net>
19748         * po/fr.po: Update from translation team.
19750         * catgets/gencat.c: Update copyright year.
19751         * csu/version.c: Likewise.
19752         * debug/catchsegv.sh: Likewise.
19753         * debug/pcprofiledump.c: Likewise.
19754         * debug/xtrace.sh: Likewise.
19755         * elf/ldconfig.c: Likewise.
19756         * elf/ldd.bash.in: Likewise.
19757         * elf/pldd.c: Likewise.
19758         * elf/sotruss.ksh: Likewise.
19759         * elf/sprof.c: Likewise.
19760         * iconv/iconv_prog.c: Likewise.
19761         * iconv/iconvconfig.c: Likewise.
19762         * locale/programs/locale.c: Likewise.
19763         * locale/programs/localedef.c: Likewise.
19764         * login/programs/pt_chown.c: Likewise.
19765         * malloc/memusage.sh: Likewise.
19766         * malloc/memusagestat.c: Likewise.
19767         * malloc/mtrace.pl: Likewise.
19768         * nscd/nscd.c: Likewise.
19769         * nss/getent.c: Likewise.
19770         * nss/makedb.c: Likewise.
19771         * posix/getconf.c: Likewise.
19773 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
19775         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19776         numbers.
19778 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
19780         * math/bits/mathcalls.h (modf): Use __nonnull.
19782 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19784         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19785         (split): Use macro CN instead of the bare value.
19786         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19787         could be used.
19788         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19789         instead of the bare value.
19790         (power1): Likewise.
19792 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19794         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19795         __ATAN_TWOM.
19796         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19798         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19799         their values.
19800         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19801         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19802         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19803         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19805 2012-12-28  Andreas Jaeger  <aj@suse.de>
19807         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
19808         values are from Linux 3.7.
19810         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19811         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
19813 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19815         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
19816         TRUE case.
19818         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19819         (norm): Likewise.
19820         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19821         variables with preprocessor constants.
19822         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19823         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19824         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19826 2012-12-27  Bruno Haible  <bruno@clisp.org>
19828         [BZ #14317]
19829         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19830         only if needed.
19832 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19834         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19835         and use variable directly.
19836         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19838         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19839         MPONE.
19840         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19841         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19842         variable MPONE.
19843         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19844         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19845         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19846         include directive.  Remove local variable MPONE.
19847         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19848         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19849         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19851 2012-12-25  David S. Miller  <davem@davemloft.net>
19853         * version.h (RELEASE): Set to "development".
19854         (VERSION): Set to "2.17.90".
19855         * NEWS: Add 2.18 section.
19857 2012-12-21  David S. Miller  <davem@davemloft.net>
19859         * po/hr.po: Update from translation team.
19861 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19863         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19865 2012-12-19  Steve Ellcey  <sellcey@mips.com>
19867         * NEWS:  Mention new memcpy for MIPS.
19869 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19871         * manual/contrib.texi (Contributors): Spelling correction.
19873 2012-12-15  David S. Miller  <davem@davemloft.net>
19875         * po/ru.po: Update from translation team.
19877 2012-12-13  David S. Miller  <davem@davemloft.net>
19879         * NEWS: Mention IFUNC testsuite enhancements.
19881         * po/pl.po: Update from translation team.
19882         * po/bg.po: Likewise.
19884         * manual/contrib.texi (Contributors): Update entries for Hongjiu
19885         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
19887 2012-12-11  David S. Miller  <davem@davemloft.net>
19889         * po/sv.po: Update from translation team.
19891         * po/vi.po: Update from translation team.
19893         * po/cs.po: Update from translation team.
19895         * po/de.po: Update from translation team.
19896         * po/eo.po: Likewise.
19897         * po/nl.po: Likewise.
19899 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19901         [BZ #14246]
19902         * manual/argp.texi (Argp Helper Functions): Move node to follow
19903         Argp Parsing State.
19905         [BZ #14872]
19906         * manual/conf.texi (Limits on File System Capacity): Mention if
19907         terminating null is included in the max size.
19909 2012-12-10  Andreas Jaeger  <aj@suse.de>
19911         * po/cs.po: Update from translation team.
19913 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19915         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19916         void pointer and cast to uintptr_t.
19917         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19918         path.
19919         * sysdeps/s390/s390-64/memcpy.S: Likewise.
19920         * sysdeps/s390/s390-64/memset.S: Likewise.
19922 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
19924         [BZ #14833]
19925         * menual/message.texi (Message Translation): Fix typos.
19926         (Helper programs for gettext): Likewise.
19928 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
19930         [BZ #14898]
19931         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19932         Change to -1.
19934 2012-12-07  David S. Miller  <davem@davemloft.net>
19936         * po/libc.pot: Update.
19938 2012-12-07  Richard Henderson  <rth@redhat.com>
19940         [BZ #10114]
19941         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19942         normal/normal case to before the switch.
19943         (_FP_DIV): Likewise.
19945 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
19946             Mike Frysinger  <vapier@gentoo.org>
19948         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19949         check for __NR_fadvise64_64.
19951 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
19953         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19954         0, not just to plain "0" as a statement.
19955         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19956         with cw.
19958 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
19960         * NEWS: Use sourceware.org in Bugzilla URL.
19962 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19965         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19967         * stdio-common/tst-put-error.c (do_test): Add newline to the
19968         padded test to ensure flush.
19970 2012-12-05  Jeff Law  <law@redhat.com>
19972         * sunrpc/etc.rpc (fedfs_admin): Add entry.
19974 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
19976         * README: Don't refer to ports add-on as distributed separately.
19977         Mention AArch64 in list of systems supported in the ports add-on.
19979         * LICENSES: Add more non-FSF copyright and license notices.
19981         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19982         ((unused)).
19984         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19986         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19987         10000 as width of padded output.
19989 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
19991         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19993         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19994         variable LX with __attribute__ ((unused)).
19995         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19996         Likewise.
19997         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19998         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19999         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20000         with __attribute__ ((unused)).
20002 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
20004         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20006 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
20008         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20009         (CFLAGS-nldbl-acos.c): New variable.
20010         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20011         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20012         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20013         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20014         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20015         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20016         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20017         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20018         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20019         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20020         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20021         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20022         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20023         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20024         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20025         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20026         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20027         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20028         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20029         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20030         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20031         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20032         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20033         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20034         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20035         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20036         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20037         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20038         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20039         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20040         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20041         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20042         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20043         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20044         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20045         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20046         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20047         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20048         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20049         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20050         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20051         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20052         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20053         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20054         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20055         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20056         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20057         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20058         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20059         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20060         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20061         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20062         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20063         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20064         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20065         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20066         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20067         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20068         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20069         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20070         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20071         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20072         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20073         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20074         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20075         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20076         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20077         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20078         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20079         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20080         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20081         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20082         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20083         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20084         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20085         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20086         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20087         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20088         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20089         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20090         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20091         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20092         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20093         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20094         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20095         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20096         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20097         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20098         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20099         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20100         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20101         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20102         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20103         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20104         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20105         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20106         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20109         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20111         [BZ #14914]
20112         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20113         whole low double instead of just low 47 bits when splitting values
20114         into two parts.
20116 2012-12-03  Allan McRae  <allan@archlinux.org>
20118         * manual/stdio.texi (Predefined Printf Handlers): Remove
20119         @hsep and @vsep usage.
20121 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
20123         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20124         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20126 2012-12-03  Jeff Law  <law@redhat.com>
20128         * time/sys/time.h (settimeofday): Do not mark TV argument
20129         as __nonnull.
20131 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
20133         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20134         when currently writing and seek to current position when not.
20135         * libio/Makefile (tests): Remove bug-fclose1.
20136         * libio/bug-fclose1.c: Delete.
20138 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
20140         * manual/arith.texi (feenableexcept): Fix typo.
20141         (fedisableexcept): Likewise.
20143 2012-11-30  Roland McGrath  <roland@hack.frob.com>
20145         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20146         second, differently-typed declaration, rather than a cast.
20148 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20150         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20151         * include/rpc/svc.h: ... here.
20153 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
20155         [BZ #13013]
20156         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20157         depending n and resplen2 to catch cases where answer
20158         equals answerp2.
20160 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
20162         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20163         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20165 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
20167         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20169 2012-11-29  Roland McGrath  <roland@hack.frob.com>
20171         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20173 2012-11-28  Jeff Law  <law@redhat.com>
20175         [BZ #13761]
20176         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20177         dataset_temporary.  Track alloca usage into alloca_used.
20178         If dataset is large allocate and release it via malloc/free.
20180 2012-06-04  Florian Weimer  <fweimer@redhat.com>
20182         [BZ #14197]
20183         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20185 2012-11-28  David S. Miller  <davem@davemloft.net>
20187         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20189 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
20191         [BZ #14803]
20192         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20193         of pi/2 rounded to nearest to 64 bits.
20194         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20195         nearest to 64 bits.
20196         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20197         bits.
20199 2012-11-28  Jeff Law <law@redhat.com>
20200             Martin Osvald <mosvald@redhat.com>
20202         [BZ #14889]
20203         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20204         * sunrpc/svc.c: Include time.h.
20205         (__svc_accept_failed): New function.
20206         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20207         any reason other than EINTR, call __svc_accept_failed.
20208         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20209         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20211 2012-11-28  Andreas Schwab  <schwab@suse.de>
20213         * scripts/abilist.awk: Also handle indirect functions in .opd
20214         section.
20216 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
20218         [BZ #13881]
20219         * sysdeps/x86/fpu/powl_helper.c: New file.
20220         * sysdeps/x86/fpu/Makefile: Likewise.
20221         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20222         (p3): New object.
20223         (__ieee754_powl): Use __powl_helper for finite arguments except
20224         integer exponents below 8.
20225         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20226         (p3): New object.
20227         (__ieee754_powl): Use __powl_helper for finite arguments except
20228         integer exponents below 8.
20229         * math/libm-test.inc (pow_test): Add more tests and enable some
20230         previously disabled tests.
20231         * sysdeps/i386/fpu/libm-test-ulps: Update.
20232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20234 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20235             Carlos O'Donell  <carlos_odonell@mentor.com>
20237         * nss/makedb.c (is_prime): Assert that input is odd and greater
20238         than 4.  Note that fact in a comment too.
20239         (next_prime): Add 4 to input.
20241 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20243         [BZ #11741]
20244         * libio/Makefile (tests): Add test case tst-fwrite-error.
20245         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20246         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20247         * libio/tst-fwrite-error.c: New test case.
20249 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
20251         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20252         before casting to void *.
20253         * include/libc-internal.h (__pointer_type): New macro.
20254         (__integer_if_pointer_type_sub): Likewise.
20255         (__integer_if_pointer_type): Likewise.
20256         (cast_to_integer): Likewise.
20257         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20258         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20259         before casting to atomic64_t.
20260         (atomic_exchange_acq): Likewise.
20261         (__arch_exchange_and_add_body): Likewise.
20262         (__arch_add_body): Likewise.
20263         (atomic_add_negative): Likewise.
20264         (atomic_add_zero): Likewise.
20266 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
20268         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20269         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20270         (add_fdes): Likewise.
20271         (linear_search_fdes): Likewise.
20272         (binary_search_unencoded_fdes): Likewise.
20274 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
20276         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20278 2012-11-24  Adam Conrad  <adconrad@0c3.net>
20280         * configure.in: Autodetect C++ header directories.
20281         * configure: Regenerated.
20283 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
20285         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20287 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
20289         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20291 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
20293         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20294         LDBL_MANT_DIG == 106]: Disable some tests.
20295         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20296         Likewise.
20297         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20298         Likewise.
20300         [BZ #14871]
20301         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20302         input for small inputs.  Return +/- pi/2 for large inputs.
20303         * math/libm-test.inc (atan_test): Add more tests.
20305         * sysdeps/generic/unwind-dw2-fde-glibc.c
20306         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20307         __attribute__ ((unused)).
20309         [BZ #14645]
20310         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20311         x * y if x and y are nonzero and z is zero.
20313         [BZ #14811]
20314         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20315         nonzero exponents with absolute value below 0x1p-117 to +/-
20316         0x1p-117.
20318         [BZ #14869]
20319         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20320         up arguments below 2**-450, not just those below 2**-500.
20321         * math/libm-test.inc (hypot_test): Add another test.
20323         [BZ #14868]
20324         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20325         Return a+b for ratio over 2**120, not 2**60.
20326         * math/libm-test.inc (hypot_test): Add another test.
20328         * math/libm-test.inc (clog_test): Use
20329         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20330         (clog10_test): Likewise.
20332         [BZ #6778]
20333         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20335 2012-11-22  Andreas Schwab  <schwab@suse.de>
20337         * sysdeps/i386/fpu/libm-test-ulps: Update.
20339 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
20341         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20342         printf output with newline.
20344 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
20346         [BZ #14865]
20347         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20348         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20349         -z nodlopen, -z initfirst and -z execstack support.
20350         * configure: Regenerated.
20352         * elf/elf.h (DF_1_NODIRECT): New macro.
20353         (DF_1_IGNMULDEF): Likewise.
20354         (DF_1_NOKSYMS): Likewise.
20355         (DF_1_NOHDR): Likewise.
20356         (DF_1_EDITED): Likewise.
20357         (DF_1_NORELOC): Likewise.
20358         (DF_1_SYMINTPOSE): Likewise.
20359         (DF_1_GLOBAUDIT): Likewise.
20360         (DF_1_SINGLETON): Likewise.
20361         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20362         DT_1_SUPPORTED_MASK bits.
20363         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20365 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
20367         * sysdeps/unix/make-syscalls.sh: Document prefixes.
20369 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
20371         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20372         macro.
20374         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20375         (sendmmsg): Move declarations...
20376         * socket/sys/socket.h: ... here.
20377         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20378         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20379         include it from...
20380         * socket/recvmmsg.c: ... this new file.
20381         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20382         (sendmmsg): Rename to __sendmmsg, create weak alias and make
20383         definition of __sendmmsg hidden.
20384         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20385         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20386         Move ENOSYS stub into and include it from...
20387         * socket/sendmmsg.c: ... this new file.
20388         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20389         (sysdep_routines): Move recvmmsg and sendmmsg...
20390         * socket/Makefile (routines): ... here.
20391         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20392         (GLIBC_PRIVATE): Add __sendmmsg.
20393         * include/sys/socket.h (__sendmmsg): Add declarations.
20394         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20395         sendmmsg.
20397 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
20399         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20400         variable I1 with __attribute__ ((unused)).
20401         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20403 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
20405         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20406         DUMMY variables with __attribute__ ((unused)).
20408         * bits/byteswap.h: Include <bits/types.h>.
20409         (__bswap_64): Use __uint64_t instead of unsigned long long int.
20411 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
20413         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20414         string_t.  Do not manually set errno.
20415         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20416         length with __strnlen.  Make sure to both set errno and return it on
20417         failure.
20419 2012-11-19  David S. Miller  <davem@davemloft.net>
20421         With help from Joseph Myers.
20422         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20423         very large arguments properly.
20424         * math/libm-test.inc (atan_test): New tests.
20425         (atan2_test): New tests.
20426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20427         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20429 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
20431         [BZ #14856]
20432         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20433         Define to 3.
20435         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20436         [POSIX] (EADDRNOTAVAIL): Likewise.
20437         [POSIX] (EAFNOSUPPORT): Likewise.
20438         [POSIX] (EALREADY): Likewise.
20439         [POSIX] (ECONNABORTED): Likewise.
20440         [POSIX] (ECONNREFUSED): Likewise.
20441         [POSIX] (ECONNRESET): Likewise.
20442         [POSIX] (EDESTADDRREQ): Likewise.
20443         [POSIX] (EDQUOT): Likewise.
20444         [POSIX] (EHOSTUNREACH): Likewise.
20445         [POSIX] (EIDRM): Likewise.
20446         [POSIX] (EISCONN): Likewise.
20447         [POSIX] (ELOOP): Likewise.
20448         [POSIX] (EMULTIHOP): Likewise.
20449         [POSIX] (ENETDOWN): Likewise.
20450         [POSIX] (ENETUNREACH): Likewise.
20451         [POSIX] (ENOBUFS): Likewise.
20452         [POSIX] (ENODATA): Likewise.
20453         [POSIX] (ENOLINK): Likewise.
20454         [POSIX] (ENOMSG): Likewise.
20455         [POSIX] (ENOPROTOOPT): Likewise.
20456         [POSIX] (ENOSR): Likewise.
20457         [POSIX] (ENOSTR): Likewise.
20458         [POSIX] (ENOTCONN): Likewise.
20459         [POSIX] (ENOTSOCK): Likewise.
20460         [POSIX] (EOPNOTSUPP): Likewise.
20461         [POSIX] (EOVERFLOW): Likewise.
20462         [POSIX] (EPROTO): Likewise.
20463         [POSIX] (EPROTONOSUPPORT): Likewise.
20464         [POSIX] (EPROTOTYPE): Likewise.
20465         [POSIX] (ESTALE): Likewise.
20466         [POSIX] (ETIME): Likewise.
20467         [POSIX] (ETXTBSY): Likewise.
20468         [POSIX] (EWOULDBLOCK): Likewise.
20469         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20470         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20471         [POSIX] (SEEK_CUR): Likewise.
20472         [POSIX] (SEEK_END): Likewise.
20473         [POSIX || UNIX98] (mode_t): Do not require.
20474         [POSIX] (off_t): Likewise.
20475         [POSIX] (pid_t): Likewise.
20476         [POSIX] (sys/stat.h): Do not allow header.
20477         [POSIX] (unistd.h): Likewise.
20478         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20479         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20480         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20481         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20482         require.
20483         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20484         sigevent): Specify elements.
20485         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20486         entry.
20487         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20488         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20490         * conform/data/cpio.h-data [POSIX]: Disable whole file.
20491         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20492         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20493         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20494         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20495         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20496         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20497         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20498         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20499         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20500         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20501         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20502         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20503         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20504         Likewise.
20505         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20506         Likewise.
20507         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20508         Likewise.
20509         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20510         Likewise.
20511         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20512         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20513         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20514         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20515         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20516         Specify lower bound on value.
20517         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20518         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20519         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20520         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20521         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20522         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20523         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20524         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20525         value.
20526         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20527         as optional.
20528         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20529         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20530         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20531         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20532         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20533         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20534         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20535         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20536         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20537         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20538         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20539         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20540         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20541         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20542         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20543         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20544         entry.
20545         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20546         optional.
20547         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20548         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20549         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20550         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20551         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20552         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20553         Likewise.
20554         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20555         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20556         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20557         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20558         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
20559         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20560         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20561         as optional.
20562         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20563         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20564         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20565         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20566         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20567         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20568         specify as optional.
20569         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20570         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20571         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20572         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20573         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20574         [XPG3] (NL_LANGMAX): Likewise.
20575         [POSIX || XPG3] (NL_MSGMAX): Likewise.
20576         [POSIX || XPG3] (NL_NMAX): Likewise.
20577         [POSIX || XPG3] (NL_SETMAX): Likewise.
20578         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20579         [XPG3] (NZERO): Likewise.
20580         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20581         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20582         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20583         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20584         (REG_ERANGE): Expect.
20585         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20586         optional-constant.
20587         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20588         Use (void) in prototype.
20589         [POSIX] (*_t): Allow.
20590         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20591         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20592         (WRDE_BADVAL): Expect.
20594         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20595         expect.
20596         [XPG3 || XPG4] (O_RSYNC): Likewise.
20597         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20598         Likewise.
20599         [XPG3 || XPG4] (pthread_sigmask): Likewise.
20600         [XPG3 || XPG4] (sigqueue): Likewise.
20601         [XPG3 || XPG4] (sigtimedwait): Likewise.
20602         [XPG3 || XPG4] (sigwaitinfo): Likewise.
20603         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20604         [XPG3 || XPG4] (vsnprintf): Likewise.
20605         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20606         Likewise.
20607         [XPG3 || XPG4] (blksize_t): Likewise.
20608         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20609         Likewise.
20610         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20611         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20612         [XPG3 || XPG4] (struct itimerspec): Likewise.
20613         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20614         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20615         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20616         [XPG3 || XPG4] (clockid_t): Likewise.
20617         [XPG3 || XPG4] (timer_t): Likewise.
20618         [XPG3 || XPG4] (clock_getres): Likewise.
20619         [XPG3 || XPG4] (clock_gettime): Likewise.
20620         [XPG3 || XPG4] (clock_settime): Likewise.
20621         [XPG3 || XPG4] (nanosleep): Likewise.
20622         [XPG3 || XPG4] (timer_create): Likewise.
20623         [XPG3 || XPG4] (timer_delete): Likewise.
20624         [XPG3 || XPG4] (timer_gettime): Likewise.
20625         [XPG3 || XPG4] (timer_getoverrun): Likewise.
20626         [XPG3 || XPG4] (timer_settime): Likewise.
20627         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20628         [XPG3 || XPG4] (getlogin_r): Likewise.
20629         [XPG3 || XPG4] (pread): Likewise.
20630         [XPG3 || XPG4] (pthread_atfork): Likewise.
20631         [XPG3 || XPG4] (pwrite): Likewise.
20633         [BZ #14835]
20634         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20635         <bits/siginfo.h>.
20637 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
20639         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20640         finalizing MALLSTREAM.
20642         * sysdeps/mach/hurd/syncfs.c: New file.
20644 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20646         [BZ #14719]
20647         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20648         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20649         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20650         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20651         (_nss_dns_gethostbyname4_r): Likewise.
20652         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20653         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20655 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
20657         [BZ #13763]
20658         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20660 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
20662         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20663         * elf/cache.c (print_entry): Print ",AArch64" for
20664         FLAG_AARCH64_LIB64
20666         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20667         * elf/cache.c (print_entry): Print ",hard-float" for
20668         FLAG_ARM_LIBHF.
20670 2012-11-18  David S. Miller  <davem@davemloft.net>
20672         With help from Joseph Myers.
20673         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20674         cutoff to 2**-13.
20675         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20676         cutoff to 2**-25.
20677         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20678         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20679         small.
20680         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20681         * math/libm-test.inc (y0_test): New tests.
20682         (y1_test): New tests.
20683         * sysdeps/i386/fpu/libm-test-ulps: Update.
20684         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20687 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
20689         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20690         64-bit targets.
20691         * configure: Regenerated.
20693 2012-11-17  David S. Miller  <davem@davemloft.net>
20695         [BZ #14811]
20696         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20697         nonzero exponents with absolute value below 0x1p-128 to +/-
20698         0x1p-128.
20700 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
20702         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20704         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20706         * posix/getconf-speclist.c: New file.
20707         * posix/posix-envs.def: Likewise.
20708         * posix/confstr.c (START_ENV_GROUP): New macro.
20709         (END_ENV_GROUP): Likewise.
20710         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20711         (KNOWN_PRESENT_ENV_STRING): Likewise.
20712         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20713         (UNKNOWN_ENVIRONMENT): Likewise.
20714         (confstr): Include posix-envs.def instead of handling
20715         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20716         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20717         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20718         (END_ENV_GROUP): Likewise.
20719         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20720         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20721         (UNKNOWN_ENVIRONMENT): Likewise.
20722         (__sysconf): Include posix-envs.def instead of handling associated
20723         cases directly here.
20724         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20725         preprocessing getconf-speclist.c rather than running getconf or
20726         generating empty file.
20728 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
20730         * scripts/check-local-headers.sh: Ignore 'mach' headers.
20732 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
20734         [BZ #14672]
20735         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20737 2012-11-16  David S. Miller  <davem@davemloft.net>
20739         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20740         smaller than LDBL_EPSILON/2.0L, just return xm1.
20742 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
20744         * elf/tst-array1.c (init): Set constructor priority to 1000.
20745         (fini): Set destructor priority to 1000.
20746         * elf/tst-array2dep.c: Likewise.
20748 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20750         [BZ #11741]
20751         * libio/fileops.c (_IO_new_file_write): Correctly return error.
20752         (_IO_new_file_xsputn): Also return EOF if none of the input
20753         data was written when overflow failed.
20754         * libio/iopadn.c (_IO_padn): Likewise.
20755         * libio/iowpadn.c (_IO_wpadn): Likewise.
20756         * stdio-common/tst-put-error.c: Add copyright notice.
20757         (do_test): Add case for printing padded string.
20758         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20759         _IO_padn returned error.
20760         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20761         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20762         return EOF.
20764 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20766         * libio/libioP.h: Add comment note that the references to C++
20767         bits are now obsolete.
20769 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20771         * math/libm-test.inc (check_complex): Use asprintf.
20773 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
20775         * debug/pcprofiledump.c (print_version): Update copyright year.
20776         * malloc/memusagestat.c (print_version): Likewise.
20778 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
20780         [BZ #14831]
20781         * elf/Makefile (tests): Add tst-audit8.
20782         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20783         ($(objpfx)tst-audit8.out): New target.
20784         (tst-audit8-ENV): New variable.
20785         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20786         audit if l_reloc_result is NULL.
20787         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20788         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20789         * elf/tst-audit8.c: New file.
20791 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20793         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20794         * misc/Makefile (CFLAGS-select.c): Define.
20795         * posix/Makefile (CFLAGS-pause.c): Define.
20797 2012-11-13  David S. Miller  <davem@davemloft.net>
20799         * crypt/Makefile: Move test targets after toplevel Rules
20800         inclusion.  Grab any necessary sysdep routines when linking.
20801         * crypt/md5.c (md5_process_block): Remove define, we will always
20802         name it __md5_process_block.
20803         (md5_finish_ctx): Update md5_process_block call.
20804         (md5_stream): Likewise.
20805         (md5_process_bytes): Likewise.
20806         (md5_process_block): Rename to __md5_process_block and move to ...
20807         * crypt/md5-block.c: ... here.
20808         * crypt/sha256.c (sha256_process_block): Move to ...
20809         * crypt/sha256-block.c: ... here.
20810         * crypt/sha512.c (sha512_process_block): Move to ...
20811         * crypt/sha512-block.c: ... here.
20812         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20813         path.
20814         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20815         * sysdeps/sparc/sparc64/multiarch/Makefile
20816         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20817         crypt subdir.
20818         (localedef-aux): Add md5 crypto assembler when in locale subdir.
20819         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20820         multiarch changes.
20821         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20822         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20823         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20824         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20825         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20826         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20827         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20828         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20829         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20830         file.
20831         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20832         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20833         file.
20834         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20836 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
20838         * timezone/tzselect.ksh: Update from tzcode git revision
20839         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20840         * timezone/zdump.c: Likewise.
20841         * timezone/zic.c: Likewise.
20842         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20843         in TZVERSION setting, not $(PKGVERSION).
20844         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
20845         REPORT_BUGS_TO settings.
20847         [BZ #14838]
20848         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20849         macro.
20851 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20853         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20854         detection to immediately after _FP_ROUND().
20855         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20856         bits are 0.
20858 2012-11-11  David S. Miller  <davem@davemloft.net>
20860         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20861         inttypes.h
20862         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20863         __close rather than their public counterparts.
20865 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
20867         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20868         file.
20869         [UNIX98] (sem_timedwait): Do not expect.
20870         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20871         [XPG4 || UNIX98] (sockatmark): Do not expect.
20872         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20873         (clock_getcpuclockid): Do not expect.
20874         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20875         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20876         Do not expect.
20877         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20878         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20879         [UNIX98] (vwscanf): Likewise.
20880         [UNIX98] (vswscanf): Likewise.
20882 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
20884         * timezone/version.h: Remove file.
20885         * timezone/README: Do not refer to version.h.
20886         * timezone/Makefile ($(objpfx)zic.o): New dependency on
20887         $(objpfx)version.h.
20888         ($(objpfx)zdump.o): Likewise.
20889         ($(objpfx)version.h): New target.
20891         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20892         2012i.
20893         * timezone/README: Don't mention modification to tzselect.ksh.
20894         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20895         work on unmodified tzselect.ksh.  Substitute version numbers in
20896         tzselect.ksh.
20898         * Makefile (format-me): Remove.
20899         (INSTALL): Adjust indentation.  Use commands directly instead of
20900         using $(format-me).
20902         * aclocal.m4 (ACX_PKGVERSION): New macro.
20903         (ACX_BUGURL): Likewise.
20904         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20905         (PKGVERSION): New AC_DEFINE_UNQUOTED.
20906         (REPORT_BUGS_TO): Likewise.
20907         * configure: Regenerated.
20908         * config.h.in (PKGVERSION): New macro.
20909         (REPORT_BUGS_TO): Likewise.
20910         * config.make.in (PKGVERSION): New variable.
20911         (PKGVERSION_TEXI): Likewise.
20912         (REPORT_BUGS_TO): Likewise.
20913         (REPORT_BUGS_TEXI): Likewise.
20914         * Makefile (format-me): Use -I$(common-objpfx)manual.
20915         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20916         ($(common-objpfx)manual/%): New target.
20917         (manual/%): Remove target.
20918         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20919         (print_version): Use PKGVERSION.
20920         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20921         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20922         and REPORT_BUGS_TO.
20923         ($(objpfx)xtrace): Likewise.
20924         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20925         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20926         (print_version): Use PKGVERSION.
20927         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20928         (do_version): Use PKGVERSION.
20929         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20930         REPORT_BUGS_TO.
20931         (common-ldd-rewrite): Likewise.
20932         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20933         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20934         (print_version): Use PKGVERSION.
20935         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20936         * elf/pldd.c (argp_program_bug_address): Remove variable.
20937         (more_help): New function.
20938         (argp): Use more_help.
20939         (print_version): Use PKGVERSION.
20940         * elf/sln.c (main): Use PKGVERSION.
20941         (usage): Use REPORT_BUGS_TO.
20942         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20943         (top level): Use PKGVERSION.
20944         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20945         (print_version): Use PKGVERSION.
20946         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20947         (print_version): Use PKGVERSION.
20948         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20949         (print_version): Use PKGVERSION.
20950         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20951         (print_version): Use PKGVERSION.
20952         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20953         (print_version): Use PKGVERSION.
20954         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20955         (print_version): Use PKGVERSION.
20956         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20957         and BUGURL.
20958         ($(objpfx)memusage): Likewise.
20959         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20960         (do_version): Use PKGVERSION.
20961         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20962         (print_version): Use PKGVERSION.
20963         * malloc/mtrace.pl ($PACKAGE): Remove variable.
20964         ($PKGVERSION): New variable.
20965         ($REPORT_BUGS_TO): Likewise.
20966         (usage): Use $REPORT_BUGS_TO.
20967         (top level): Use $PKGVERSION.
20968         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20969         ($(objpfx)pkgvers.texi): New rule.
20970         ($(objpfx)stamp-pkgvers): Likewise.
20971         * manual/install.texi: Include pkgvers.texi.
20972         (--with-pkgversion): Document new configure option.
20973         (--with-bugurl): Likewise.
20974         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20975         than necessarily for this particular distribution.  Use
20976         REPORT_BUGS_TO for where to report bugs.
20977         * INSTALL: Regenerated.
20978         * manual/libc.texinfo: Include pkgvers.texi.
20979         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20980         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20981         (print_version): Use PKGVERSION.
20982         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20983         (print_version): Use PKGVERSION.
20984         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20985         (print_version): Use PKGVERSION.
20986         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20987         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20988         macro.
20989         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20990         (print_version): Use PKGVERSION.
20991         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20992         (print_version): Use PKGVERSION.
20993         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20994         and PKGVERSION.
20996         * timezone/checktab.awk: Update from tzcode 2012i.
20997         * timezone/ialloc.c: Likewise.
20998         * timezone/private.h: Likewise.
20999         * timezone/scheck.c: Likewise.
21000         * timezone/tzfile.h: Likewise.
21001         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21002         (TZVERSION): Hardcode tzcode version number.
21003         * timezone/zdump.c: Update from tzcode 2012i.
21004         * timezone/zic.c: Likewise.
21005         * timezone/version.h: New file.
21006         * timezone/README: Describe version.h.  Update upstream location.
21008         [BZ #14824]
21009         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21010         (mktemp): Enable declaration.
21011         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21012         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21013         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21014         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21015         Likewise.
21016         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21017         Likewise.
21018         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21019         Likewise.
21020         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21021         Likewise.
21022         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21023         Likewise.
21024         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21025         Likewise.
21027         [BZ #14821]
21028         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21029         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
21030         for copies of such integer values.
21031         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21032         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21034 2012-11-09  Andreas Jaeger  <aj@suse.de>
21036         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21037         definitions and declarations that are provided by
21038         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21040 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21042         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21043         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21044         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21045         definition.
21047 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21049         * elf/elf.h: Update comment before AArch64 relocations.
21051 2012-11-07  David S. Miller  <davem@davemloft.net>
21053         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21054         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21055         (__start_context): Declare.
21056         (__makecontext_ret): Delete.
21057         (__makecontext): Hook up __start_context instead of
21058         __makecontext_ret.
21059         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21060         (sysdep_routines): Add __start_context when in stdlib.
21062 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21064         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21065         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21066         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
21067         hardcoded "nm".
21068         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
21069         (READELF): New variable.  Use it instead of hardcoded "readelf".
21071 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
21073         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21074         * sysdeps/x86/Makefile: Here.
21075         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21076         * sysdeps/x86/tst-xmmymm.sh: This.
21078 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21080         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21081         expectations.
21082         [UNIX98] (pthread_barrier_t): Do not expect.
21083         [UNIX98] (pthread_barrierattr_t): Likewise.
21084         [UNIX98] (pthread_spinlock_t): Likewise.
21085         [UNIX98] (pthread_barrier_destroy): Likewise.
21086         [UNIX98] (pthread_barrier_init): Likewise.
21087         [UNIX98] (pthread_barrier_wait): Likewise.
21088         [UNIX98] (pthread_barrierattr_destroy): Likewise.
21089         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21090         [UNIX98] (pthread_barrierattr_init): Likewise.
21091         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21092         [UNIX98] (pthread_getcpuclockid): Likewise.
21093         [UNIX98] (pthread_mutex_timedlock): Likewise.
21094         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21095         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21096         [UNIX98] (pthread_sigmask): Likewise.
21097         [UNIX98] (pthread_spin_destroy): Likewise.
21098         [UNIX98] (pthread_spin_init): Likewise.
21099         [UNIX98] (pthread_spin_lock): Likewise.
21100         [UNIX98] (pthread_spin_trylock): Likewise.
21101         [UNIX98] (pthread_spin_unlock): Likewise.
21102         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21103         Do not expect.
21104         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21105         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21106         [XPG3 || XPG4] (pthread_cond_t): Likewise.
21107         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21108         [XPG3 || XPG4] (pthread_key_t): Likewise.
21109         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21110         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21111         [XPG3 || XPG4] (pthread_once_t): Likewise.
21112         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21113         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21114         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21115         [XPG3 || XPG4] (pthread_t): Likewise.
21117         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21118         not expect.
21119         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21121         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21122         Change function return type to int.
21124         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21125         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21126         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21127         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21128         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21129         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21130         [!POSIX] (posix_madvise): Likewise.
21131         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21132         && !UNIX98].
21133         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21134         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21135         (mode_t): Likewise.
21136         (posix_mem_offset): Likewise.
21137         (posix_typed_mem_get_info): Likewise.
21138         (posix_typed_mem_open): Likewise.
21140         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21141         Change condition to [XOPEN2K8].
21143         * conform/conformtest.pl: Preprocess allow-header data with -x c
21144         instead of from stdin.
21145         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21146         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21147         [C99-based standards] (cerfc): Likewise.
21148         [C99-based standards] (cexp2): Likewise.
21149         [C99-based standards] (cexpm1): Likewise.
21150         [C99-based standards] (clog10): Likewise.
21151         [C99-based standards] (clog1p): Likewise.
21152         [C99-based standards] (clog2): Likewise.
21153         [C99-based standards] (clgamma): Likewise.
21154         [C99-based standards] (ctgamma): Likewise.
21155         [C99-based standards] (cerff): Likewise.
21156         [C99-based standards] (cerfcf): Likewise.
21157         [C99-based standards] (cexp2f): Likewise.
21158         [C99-based standards] (cexpm1f): Likewise.
21159         [C99-based standards] (clog10f): Likewise.
21160         [C99-based standards] (clog1pf): Likewise.
21161         [C99-based standards] (clog2f): Likewise.
21162         [C99-based standards] (clgammaf): Likewise.
21163         [C99-based standards] (ctgammaf): Likewise.
21164         [C99-based standards] (cerfl): Likewise.
21165         [C99-based standards] (cerfcl): Likewise.
21166         [C99-based standards] (cexp2l): Likewise.
21167         [C99-based standards] (cexpm1l): Likewise.
21168         [C99-based standards] (clog10l): Likewise.
21169         [C99-based standards] (clog1pl): Likewise.
21170         [C99-based standards] (clog2l): Likewise.
21171         [C99-based standards] (clgammal): Likewise.
21172         [C99-based standards] (ctgammal): Likewise.
21173         * conform/data/inttypes.h-data [C99-based standards]: Include
21174         stdint.h-data.  Remove all expectations for stdint.h contents.
21175         [C99-based standards] (PRI*): Do not allow.
21176         [C99-based standards] (SCN*): Likewise.
21177         [C99-based standards] (*_t): Likewise.
21178         [C99-based-standards] (PRId8): Expect macro.
21179         [C99-based-standards] (PRIi8): Likewise.
21180         [C99-based-standards] (PRIo8): Likewise.
21181         [C99-based-standards] (PRIu8): Likewise.
21182         [C99-based-standards] (PRIx8): Likewise.
21183         [C99-based-standards] (PRIX8): Likewise.
21184         [C99-based-standards] (SCNd8): Likewise.
21185         [C99-based-standards] (SCNi8): Likewise.
21186         [C99-based-standards] (SCNo8): Likewise.
21187         [C99-based-standards] (SCNu8): Likewise.
21188         [C99-based-standards] (SCNx8): Likewise.
21189         [C99-based-standards] (PRIdLEAST8): Likewise.
21190         [C99-based-standards] (PRIiLEAST8): Likewise.
21191         [C99-based-standards] (PRIoLEAST8): Likewise.
21192         [C99-based-standards] (PRIuLEAST8): Likewise.
21193         [C99-based-standards] (PRIxLEAST8): Likewise.
21194         [C99-based-standards] (PRIXLEAST8): Likewise.
21195         [C99-based-standards] (SCNdLEAST8): Likewise.
21196         [C99-based-standards] (SCNiLEAST8): Likewise.
21197         [C99-based-standards] (SCNoLEAST8): Likewise.
21198         [C99-based-standards] (SCNuLEAST8): Likewise.
21199         [C99-based-standards] (SCNxLEAST8): Likewise.
21200         [C99-based-standards] (PRIdFAST8): Likewise.
21201         [C99-based-standards] (PRIiFAST8): Likewise.
21202         [C99-based-standards] (PRIoFAST8): Likewise.
21203         [C99-based-standards] (PRIuFAST8): Likewise.
21204         [C99-based-standards] (PRIxFAST8): Likewise.
21205         [C99-based-standards] (PRIXFAST8): Likewise.
21206         [C99-based-standards] (SCNdFAST8): Likewise.
21207         [C99-based-standards] (SCNiFAST8): Likewise.
21208         [C99-based-standards] (SCNoFAST8): Likewise.
21209         [C99-based-standards] (SCNuFAST8): Likewise.
21210         [C99-based-standards] (SCNxFAST8): Likewise.
21211         [C99-based-standards] (PRId16): Likewise.
21212         [C99-based-standards] (PRIi16): Likewise.
21213         [C99-based-standards] (PRIo16): Likewise.
21214         [C99-based-standards] (PRIu16): Likewise.
21215         [C99-based-standards] (PRIx16): Likewise.
21216         [C99-based-standards] (PRIX16): Likewise.
21217         [C99-based-standards] (SCNd16): Likewise.
21218         [C99-based-standards] (SCNi16): Likewise.
21219         [C99-based-standards] (SCNo16): Likewise.
21220         [C99-based-standards] (SCNu16): Likewise.
21221         [C99-based-standards] (SCNx16): Likewise.
21222         [C99-based-standards] (PRIdLEAST16): Likewise.
21223         [C99-based-standards] (PRIiLEAST16): Likewise.
21224         [C99-based-standards] (PRIoLEAST16): Likewise.
21225         [C99-based-standards] (PRIuLEAST16): Likewise.
21226         [C99-based-standards] (PRIxLEAST16): Likewise.
21227         [C99-based-standards] (PRIXLEAST16): Likewise.
21228         [C99-based-standards] (SCNdLEAST16): Likewise.
21229         [C99-based-standards] (SCNiLEAST16): Likewise.
21230         [C99-based-standards] (SCNoLEAST16): Likewise.
21231         [C99-based-standards] (SCNuLEAST16): Likewise.
21232         [C99-based-standards] (SCNxLEAST16): Likewise.
21233         [C99-based-standards] (PRIdFAST16): Likewise.
21234         [C99-based-standards] (PRIiFAST16): Likewise.
21235         [C99-based-standards] (PRIoFAST16): Likewise.
21236         [C99-based-standards] (PRIuFAST16): Likewise.
21237         [C99-based-standards] (PRIxFAST16): Likewise.
21238         [C99-based-standards] (PRIXFAST16): Likewise.
21239         [C99-based-standards] (SCNdFAST16): Likewise.
21240         [C99-based-standards] (SCNiFAST16): Likewise.
21241         [C99-based-standards] (SCNoFAST16): Likewise.
21242         [C99-based-standards] (SCNuFAST16): Likewise.
21243         [C99-based-standards] (SCNxFAST16): Likewise.
21244         [C99-based-standards] (PRId32): Likewise.
21245         [C99-based-standards] (PRIi32): Likewise.
21246         [C99-based-standards] (PRIo32): Likewise.
21247         [C99-based-standards] (PRIu32): Likewise.
21248         [C99-based-standards] (PRIx32): Likewise.
21249         [C99-based-standards] (PRIX32): Likewise.
21250         [C99-based-standards] (SCNd32): Likewise.
21251         [C99-based-standards] (SCNi32): Likewise.
21252         [C99-based-standards] (SCNo32): Likewise.
21253         [C99-based-standards] (SCNu32): Likewise.
21254         [C99-based-standards] (SCNx32): Likewise.
21255         [C99-based-standards] (PRIdLEAST32): Likewise.
21256         [C99-based-standards] (PRIiLEAST32): Likewise.
21257         [C99-based-standards] (PRIoLEAST32): Likewise.
21258         [C99-based-standards] (PRIuLEAST32): Likewise.
21259         [C99-based-standards] (PRIxLEAST32): Likewise.
21260         [C99-based-standards] (PRIXLEAST32): Likewise.
21261         [C99-based-standards] (SCNdLEAST32): Likewise.
21262         [C99-based-standards] (SCNiLEAST32): Likewise.
21263         [C99-based-standards] (SCNoLEAST32): Likewise.
21264         [C99-based-standards] (SCNuLEAST32): Likewise.
21265         [C99-based-standards] (SCNxLEAST32): Likewise.
21266         [C99-based-standards] (PRIdFAST32): Likewise.
21267         [C99-based-standards] (PRIiFAST32): Likewise.
21268         [C99-based-standards] (PRIoFAST32): Likewise.
21269         [C99-based-standards] (PRIuFAST32): Likewise.
21270         [C99-based-standards] (PRIxFAST32): Likewise.
21271         [C99-based-standards] (PRIXFAST32): Likewise.
21272         [C99-based-standards] (SCNdFAST32): Likewise.
21273         [C99-based-standards] (SCNiFAST32): Likewise.
21274         [C99-based-standards] (SCNoFAST32): Likewise.
21275         [C99-based-standards] (SCNuFAST32): Likewise.
21276         [C99-based-standards] (SCNxFAST32): Likewise.
21277         [C99-based-standards] (PRId64): Likewise.
21278         [C99-based-standards] (PRIi64): Likewise.
21279         [C99-based-standards] (PRIo64): Likewise.
21280         [C99-based-standards] (PRIu64): Likewise.
21281         [C99-based-standards] (PRIx64): Likewise.
21282         [C99-based-standards] (PRIX64): Likewise.
21283         [C99-based-standards] (SCNd64): Likewise.
21284         [C99-based-standards] (SCNi64): Likewise.
21285         [C99-based-standards] (SCNo64): Likewise.
21286         [C99-based-standards] (SCNu64): Likewise.
21287         [C99-based-standards] (SCNx64): Likewise.
21288         [C99-based-standards] (PRIdLEAST64): Likewise.
21289         [C99-based-standards] (PRIiLEAST64): Likewise.
21290         [C99-based-standards] (PRIoLEAST64): Likewise.
21291         [C99-based-standards] (PRIuLEAST64): Likewise.
21292         [C99-based-standards] (PRIxLEAST64): Likewise.
21293         [C99-based-standards] (PRIXLEAST64): Likewise.
21294         [C99-based-standards] (SCNdLEAST64): Likewise.
21295         [C99-based-standards] (SCNiLEAST64): Likewise.
21296         [C99-based-standards] (SCNoLEAST64): Likewise.
21297         [C99-based-standards] (SCNuLEAST64): Likewise.
21298         [C99-based-standards] (SCNxLEAST64): Likewise.
21299         [C99-based-standards] (PRIdFAST64): Likewise.
21300         [C99-based-standards] (PRIiFAST64): Likewise.
21301         [C99-based-standards] (PRIoFAST64): Likewise.
21302         [C99-based-standards] (PRIuFAST64): Likewise.
21303         [C99-based-standards] (PRIxFAST64): Likewise.
21304         [C99-based-standards] (PRIXFAST64): Likewise.
21305         [C99-based-standards] (SCNdFAST64): Likewise.
21306         [C99-based-standards] (SCNiFAST64): Likewise.
21307         [C99-based-standards] (SCNoFAST64): Likewise.
21308         [C99-based-standards] (SCNuFAST64): Likewise.
21309         [C99-based-standards] (SCNxFAST64): Likewise.
21310         [C99-based-standards] (PRIdMAX): Likewise.
21311         [C99-based-standards] (PRIiMAX): Likewise.
21312         [C99-based-standards] (PRIoMAX): Likewise.
21313         [C99-based-standards] (PRIuMAX): Likewise.
21314         [C99-based-standards] (PRIxMAX): Likewise.
21315         [C99-based-standards] (PRIXMAX): Likewise.
21316         [C99-based-standards] (SCNdMAX): Likewise.
21317         [C99-based-standards] (SCNiMAX): Likewise.
21318         [C99-based-standards] (SCNoMAX): Likewise.
21319         [C99-based-standards] (SCNuMAX): Likewise.
21320         [C99-based-standards] (SCNxMAX): Likewise.
21321         [C99-based-standards] (PRIdPTR): Likewise.
21322         [C99-based-standards] (PRIiPTR): Likewise.
21323         [C99-based-standards] (PRIoPTR): Likewise.
21324         [C99-based-standards] (PRIuPTR): Likewise.
21325         [C99-based-standards] (PRIxPTR): Likewise.
21326         [C99-based-standards] (PRIXPTR): Likewise.
21327         [C99-based-standards] (SCNdPTR): Likewise.
21328         [C99-based-standards] (SCNiPTR): Likewise.
21329         [C99-based-standards] (SCNoPTR): Likewise.
21330         [C99-based-standards] (SCNuPTR): Likewise.
21331         [C99-based-standards] (SCNxPTR): Likewise.
21332         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21333         allow.
21334         * conform/data/stdint.h-data: Update comments to clarify
21335         requirements.
21336         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
21337         type.
21338         [C99-based standards] (INT8_MAX): Likewise.
21339         [C99-based standards] (INT16_MIN): Likewise.
21340         [C99-based standards] (INT16_MAX): Likewise.
21341         [C99-based standards] (INT32_MIN): Likewise.
21342         [C99-based standards] (INT32_MAX): Likewise.
21343         [C99-based standards] (INT64_MIN): Likewise.
21344         [C99-based standards] (INT64_MAX): Likewise.
21345         [C99-based standards] (UINT8_MAX): Likewise.
21346         [C99-based standards] (UINT16_MAX): Likewise.
21347         [C99-based standards] (UINT32_MAX): Likewise.
21348         [C99-based standards] (UINT64_MAX): Likewise.
21349         [C99-based standards] (INT_LEAST8_MIN): Likewise.
21350         [C99-based standards] (INT_LEAST8_MAX): Likewise.
21351         [C99-based standards] (INT_LEAST16_MIN): Likewise.
21352         [C99-based standards] (INT_LEAST16_MAX): Likewise.
21353         [C99-based standards] (INT_LEAST32_MIN): Likewise.
21354         [C99-based standards] (INT_LEAST32_MAX): Likewise.
21355         [C99-based standards] (INT_LEAST64_MIN): Likewise.
21356         [C99-based standards] (INT_LEAST64_MAX): Likewise.
21357         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21358         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21359         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21360         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21361         [C99-based standards] (INT_FAST8_MIN): Likewise.
21362         [C99-based standards] (INT_FAST8_MAX): Likewise.
21363         [C99-based standards] (INT_FAST16_MIN): Likewise.
21364         [C99-based standards] (INT_FAST16_MAX): Likewise.
21365         [C99-based standards] (INT_FAST32_MIN): Likewise.
21366         [C99-based standards] (INT_FAST32_MAX): Likewise.
21367         [C99-based standards] (INT_FAST64_MIN): Likewise.
21368         [C99-based standards] (INT_FAST64_MAX): Likewise.
21369         [C99-based standards] (UINT_FAST8_MAX): Likewise.
21370         [C99-based standards] (UINT_FAST16_MAX): Likewise.
21371         [C99-based standards] (UINT_FAST32_MAX): Likewise.
21372         [C99-based standards] (UINT_FAST64_MAX): Likewise.
21373         [C99-based standards] (INTPTR_MIN): Likewise.
21374         [C99-based standards] (INTPTR_MAX): Likewise.
21375         [C99-based standards] (UINTPTR_MAX): Likewise.
21376         [C99-based standards] (INTMAX_MIN): Likewise.
21377         [C99-based standards] (INTMAX_MAX): Likewise.
21378         [C99-based standards] (UINTMAX_MAX): Likewise.
21379         [C99-based standards] (PTRDIFF_MIN): Likewise.
21380         [C99-based standards] (PTRDIFF_MAX): Likewise.
21381         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21382         [C99-based standards] (SIZE_MAX): Likewise.
21383         [C99-based standards] (WCHAR_MAX): Likewise.
21384         [C99-based standards] (WINT_MAX): Likewise.
21385         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
21386         constraint on value.
21387         [C99-based standards] (WCHAR_MIN): Likewise.
21388         [C99-based standards] (WINT_MIN): Likewise.
21389         [C99-based standards] (*_t): Allow.
21390         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21391         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21392         Include math.h-data and complex.h-data.  Remove all expectations
21393         of math.h and complex.h contents.
21394         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21395         at end of line.
21396         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21397         (struct tm): Expect tag.
21398         [C99-based-standards] (wcstof): Expect function.
21399         [C99-based-standards] (wcstold): Likewise.
21400         [C99-based-standards] (wcstoll): Likewise.
21401         [C99-based-standards] (wcstoull): Likewise.
21402         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21403         macro-int-constant.  Specify type.
21404         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
21405         constraint on value.
21406         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21407         Specify type.
21408         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21409         Specify value.
21410         [ISO C standards]: Do not allow headers.
21411         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21412         wcs[abcdefghijklmnopqrstuvwxyz]*.
21413         [ISO C standards] (*_t): Do not allow.
21414         * conform/data/wctype.h-data [C99-based standards] (iswblank):
21415         Expect function.
21416         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21417         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21418         Specify type.
21419         [ISO C standards]: Do not allow headers.
21420         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21421         is[abcdefghijklmnopqrstuvwxyz]*.
21422         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21423         to[abcdefghijklmnopqrstuvwxyz]*.
21424         [ISO C standards] (*_t): Do not allow.
21425         * conform/data/stdalign.h-data: New file.
21426         * conform/data/stdbool.h-data: Likewise.
21427         * conform/data/stdnoreturn.h-data: Likewise.
21429 2012-11-07  Roland McGrath  <roland@hack.frob.com>
21431         [BZ #14815]
21432         * manual/filesys.texi (Directory Entries): Typo fix.
21433         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21435 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21437         * elf/elf.h (EM_AARCH64): New macro.
21438         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21439         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21440         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21441         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21442         (R_AARCH64_TLSDESC): Likewise.
21443         (NT_ARM_TLS): Likewise.
21444         (NT_ARM_HW_BREAK): Likewise.
21445         (NT_ARM_HW_WATCH): Likewise.
21447 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21449         [BZ #14811]
21450         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21451         (__ieee754_powl): Saturate nonzero exponents with absolute value
21452         below 0x1p-79 to +/- 0x1p-79.
21453         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21454         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21455         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21456         nonzero exponents with absolute value below 0x1p-32 to +/-
21457         0x1p-32.
21458         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21459         (__ieee754_powl): Saturate nonzero exponents with absolute value
21460         below 0x1p-79 to +/- 0x1p-79.
21461         * math/libm-test.inc (pow_test): Add more tests.
21463 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21465         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21466         _dl_s390_cap_flags with kernel. Increase string length.
21467         (_dl_s390_platforms): Add z196 and zEC12.
21469 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21471         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21472         Change XOPEN21K to XOPEN2K.
21474 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
21476         * string/memmove.c: Use memcpy when possible.
21478 2012-11-06  Andreas Jaeger  <aj@suse.de>
21480         * po/eo.po: Update from translation team.
21482 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
21484         [BZ #14793]
21485         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21486         exponent and small x and y exponents, scale x or y up.  Increase
21487         by 2 the exponent used in scaling up.
21488         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21489         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21490         * math/libm-test.inc (fma_test): Add more tests.
21491         (fma_test_towardzero): Likewise.
21492         (fma_test_downward): Likewise.
21493         (fma_test_upward): Likewise.
21495 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
21497         [BZ #14805]
21498         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21499         fenv_t *.
21501         [BZ #14801]
21502         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21503         namespace for names of struct fields.
21504         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21505         fenv_t fields.
21506         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21507         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21509 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21511         [BZ #3665]
21512         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21514 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
21516         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21517         PTR_DEMANGLE.
21519         [BZ #5246]
21520         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21521         PTR_DEMANGLE.
21523 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
21525         [BZ #14797]
21526         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21527         definitely overflow as x * y not x * y + z.
21528         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21529         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21530         * math/libm-test.inc (fma_test): Add more tests.
21531         (fma_test_towardzero): Likewise.
21532         (fma_test_downward): Likewise.
21533         (fma_test_upward): Likewise.
21535 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
21537         [BZ #157]
21539         * include/stub-tag.h: Remove file.
21540         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21541         '#include' of it.
21542         * manual/maint.texi (Porting): Don't reference it.
21543         * Makerules ($(objpfx)stubs): Likewise.
21544         * dirent/closedir.c: Don't include <stub-tag.h>.
21545         * dirent/dirfd.c: Likewise.
21546         * dirent/fdopendir.c: Likewise.
21547         * dirent/getdents.c: Likewise.
21548         * dirent/getdents64.c: Likewise.
21549         * dirent/opendir.c: Likewise.
21550         * dirent/readdir.c: Likewise.
21551         * dirent/readdir64.c: Likewise.
21552         * dirent/readdir64_r.c: Likewise.
21553         * dirent/readdir_r.c: Likewise.
21554         * dirent/rewinddir.c: Likewise.
21555         * dirent/seekdir.c: Likewise.
21556         * dirent/telldir.c: Likewise.
21557         * gmon/profil.c: Likewise.
21558         * grp/setgroups.c: Likewise.
21559         * inet/if_index.c: Likewise.
21560         * io/access.c: Likewise.
21561         * io/chdir.c: Likewise.
21562         * io/chmod.c: Likewise.
21563         * io/chown.c: Likewise.
21564         * io/close.c: Likewise.
21565         * io/dup.c: Likewise.
21566         * io/dup2.c: Likewise.
21567         * io/dup3.c: Likewise.
21568         * io/euidaccess.c: Likewise.
21569         * io/faccessat.c: Likewise.
21570         * io/fchdir.c: Likewise.
21571         * io/fchmod.c: Likewise.
21572         * io/fchmodat.c: Likewise.
21573         * io/fchown.c: Likewise.
21574         * io/fchownat.c: Likewise.
21575         * io/fcntl.c: Likewise.
21576         * io/flock.c: Likewise.
21577         * io/fstatfs.c: Likewise.
21578         * io/fstatfs64.c: Likewise.
21579         * io/fstatvfs.c: Likewise.
21580         * io/fstatvfs64.c: Likewise.
21581         * io/futimens.c: Likewise.
21582         * io/fxstat.c: Likewise.
21583         * io/fxstat64.c: Likewise.
21584         * io/fxstatat.c: Likewise.
21585         * io/fxstatat64.c: Likewise.
21586         * io/getcwd.c: Likewise.
21587         * io/isatty.c: Likewise.
21588         * io/lchmod.c: Likewise.
21589         * io/lchown.c: Likewise.
21590         * io/link.c: Likewise.
21591         * io/linkat.c: Likewise.
21592         * io/lseek.c: Likewise.
21593         * io/lseek64.c: Likewise.
21594         * io/lxstat64.c: Likewise.
21595         * io/mkdir.c: Likewise.
21596         * io/mkdirat.c: Likewise.
21597         * io/mkfifo.c: Likewise.
21598         * io/mkfifoat.c: Likewise.
21599         * io/open.c: Likewise.
21600         * io/open64.c: Likewise.
21601         * io/openat.c: Likewise.
21602         * io/openat64.c: Likewise.
21603         * io/pipe.c: Likewise.
21604         * io/pipe2.c: Likewise.
21605         * io/poll.c: Likewise.
21606         * io/posix_fadvise.c: Likewise.
21607         * io/posix_fadvise64.c: Likewise.
21608         * io/posix_fallocate.c: Likewise.
21609         * io/posix_fallocate64.c: Likewise.
21610         * io/read.c: Likewise.
21611         * io/readlink.c: Likewise.
21612         * io/readlinkat.c: Likewise.
21613         * io/rmdir.c: Likewise.
21614         * io/sendfile.c: Likewise.
21615         * io/sendfile64.c: Likewise.
21616         * io/statfs.c: Likewise.
21617         * io/statfs64.c: Likewise.
21618         * io/statvfs.c: Likewise.
21619         * io/statvfs64.c: Likewise.
21620         * io/symlink.c: Likewise.
21621         * io/symlinkat.c: Likewise.
21622         * io/ttyname.c: Likewise.
21623         * io/ttyname_r.c: Likewise.
21624         * io/umask.c: Likewise.
21625         * io/unlink.c: Likewise.
21626         * io/unlinkat.c: Likewise.
21627         * io/utime.c: Likewise.
21628         * io/utimensat.c: Likewise.
21629         * io/write.c: Likewise.
21630         * io/xmknod.c: Likewise.
21631         * io/xmknodat.c: Likewise.
21632         * io/xstat.c: Likewise.
21633         * io/xstat64.c: Likewise.
21634         * login/getpt.c: Likewise.
21635         * login/grantpt.c: Likewise.
21636         * login/unlockpt.c: Likewise.
21637         * math/e_acoshl.c: Likewise.
21638         * math/e_acosl.c: Likewise.
21639         * math/e_asinl.c: Likewise.
21640         * math/e_atan2l.c: Likewise.
21641         * math/e_atanhl.c: Likewise.
21642         * math/e_coshl.c: Likewise.
21643         * math/e_expl.c: Likewise.
21644         * math/e_fmodl.c: Likewise.
21645         * math/e_gammal_r.c: Likewise.
21646         * math/e_hypotl.c: Likewise.
21647         * math/e_j0l.c: Likewise.
21648         * math/e_j1l.c: Likewise.
21649         * math/e_jnl.c: Likewise.
21650         * math/e_lgammal_r.c: Likewise.
21651         * math/e_log10l.c: Likewise.
21652         * math/e_log2l.c: Likewise.
21653         * math/e_logl.c: Likewise.
21654         * math/e_powl.c: Likewise.
21655         * math/e_rem_pio2l.c: Likewise.
21656         * math/e_sinhl.c: Likewise.
21657         * math/e_sqrtl.c: Likewise.
21658         * math/fclrexcpt.c: Likewise.
21659         * math/fedisblxcpt.c: Likewise.
21660         * math/feenablxcpt.c: Likewise.
21661         * math/fegetenv.c: Likewise.
21662         * math/fegetexcept.c: Likewise.
21663         * math/fegetround.c: Likewise.
21664         * math/feholdexcpt.c: Likewise.
21665         * math/fesetenv.c: Likewise.
21666         * math/fesetround.c: Likewise.
21667         * math/feupdateenv.c: Likewise.
21668         * math/fgetexcptflg.c: Likewise.
21669         * math/fraiseexcpt.c: Likewise.
21670         * math/fsetexcptflg.c: Likewise.
21671         * math/ftestexcept.c: Likewise.
21672         * math/k_cosl.c: Likewise.
21673         * math/k_rem_pio2l.c: Likewise.
21674         * math/k_sinl.c: Likewise.
21675         * math/k_tanl.c: Likewise.
21676         * math/s_asinhl.c: Likewise.
21677         * math/s_atanl.c: Likewise.
21678         * math/s_cbrtl.c: Likewise.
21679         * math/s_erfl.c: Likewise.
21680         * math/s_expm1l.c: Likewise.
21681         * math/s_log1pl.c: Likewise.
21682         * math/s_tanhl.c: Likewise.
21683         * misc/acct.c: Likewise.
21684         * misc/brk.c: Likewise.
21685         * misc/chflags.c: Likewise.
21686         * misc/chroot.c: Likewise.
21687         * misc/fchflags.c: Likewise.
21688         * misc/fgetxattr.c: Likewise.
21689         * misc/flistxattr.c: Likewise.
21690         * misc/fremovexattr.c: Likewise.
21691         * misc/fsetxattr.c: Likewise.
21692         * misc/fsync.c: Likewise.
21693         * misc/ftruncate.c: Likewise.
21694         * misc/futimes.c: Likewise.
21695         * misc/futimesat.c: Likewise.
21696         * misc/getdomain.c: Likewise.
21697         * misc/getdtsz.c: Likewise.
21698         * misc/gethostid.c: Likewise.
21699         * misc/gethostname.c: Likewise.
21700         * misc/getloadavg.c: Likewise.
21701         * misc/getpagesize.c: Likewise.
21702         * misc/getsysstats.c: Likewise.
21703         * misc/getxattr.c: Likewise.
21704         * misc/gtty.c: Likewise.
21705         * misc/ioctl.c: Likewise.
21706         * misc/lgetxattr.c: Likewise.
21707         * misc/listxattr.c: Likewise.
21708         * misc/llistxattr.c: Likewise.
21709         * misc/lremovexattr.c: Likewise.
21710         * misc/lsetxattr.c: Likewise.
21711         * misc/lutimes.c: Likewise.
21712         * misc/madvise.c: Likewise.
21713         * misc/mincore.c: Likewise.
21714         * misc/mlock.c: Likewise.
21715         * misc/mlockall.c: Likewise.
21716         * misc/mmap.c: Likewise.
21717         * misc/mprotect.c: Likewise.
21718         * misc/msync.c: Likewise.
21719         * misc/munlock.c: Likewise.
21720         * misc/munlockall.c: Likewise.
21721         * misc/munmap.c: Likewise.
21722         * misc/preadv.c: Likewise.
21723         * misc/preadv64.c: Likewise.
21724         * misc/ptrace.c: Likewise.
21725         * misc/pwritev.c: Likewise.
21726         * misc/pwritev64.c: Likewise.
21727         * misc/readv.c: Likewise.
21728         * misc/reboot.c: Likewise.
21729         * misc/remap_file_pages.c: Likewise.
21730         * misc/removexattr.c: Likewise.
21731         * misc/revoke.c: Likewise.
21732         * misc/select.c: Likewise.
21733         * misc/setdomain.c: Likewise.
21734         * misc/setegid.c: Likewise.
21735         * misc/seteuid.c: Likewise.
21736         * misc/sethostid.c: Likewise.
21737         * misc/sethostname.c: Likewise.
21738         * misc/setregid.c: Likewise.
21739         * misc/setreuid.c: Likewise.
21740         * misc/setxattr.c: Likewise.
21741         * misc/sstk.c: Likewise.
21742         * misc/stty.c: Likewise.
21743         * misc/swapoff.c: Likewise.
21744         * misc/swapon.c: Likewise.
21745         * misc/sync.c: Likewise.
21746         * misc/syncfs.c: Likewise.
21747         * misc/syscall.c: Likewise.
21748         * misc/truncate.c: Likewise.
21749         * misc/ualarm.c: Likewise.
21750         * misc/usleep.c: Likewise.
21751         * misc/ustat.c: Likewise.
21752         * misc/utimes.c: Likewise.
21753         * misc/vhangup.c: Likewise.
21754         * misc/writev.c: Likewise.
21755         * posix/_exit.c: Likewise.
21756         * posix/alarm.c: Likewise.
21757         * posix/execve.c: Likewise.
21758         * posix/fexecve.c: Likewise.
21759         * posix/fork.c: Likewise.
21760         * posix/fpathconf.c: Likewise.
21761         * posix/getaddrinfo.c: Likewise.
21762         * posix/getegid.c: Likewise.
21763         * posix/geteuid.c: Likewise.
21764         * posix/getgid.c: Likewise.
21765         * posix/getgroups.c: Likewise.
21766         * posix/getlogin.c: Likewise.
21767         * posix/getlogin_r.c: Likewise.
21768         * posix/getpgid.c: Likewise.
21769         * posix/getpid.c: Likewise.
21770         * posix/getppid.c: Likewise.
21771         * posix/getresgid.c: Likewise.
21772         * posix/getresuid.c: Likewise.
21773         * posix/getsid.c: Likewise.
21774         * posix/getuid.c: Likewise.
21775         * posix/glob64.c: Likewise.
21776         * posix/nanosleep.c: Likewise.
21777         * posix/pathconf.c: Likewise.
21778         * posix/pause.c: Likewise.
21779         * posix/posix_madvise.c: Likewise.
21780         * posix/pread.c: Likewise.
21781         * posix/pread64.c: Likewise.
21782         * posix/pwrite.c: Likewise.
21783         * posix/pwrite64.c: Likewise.
21784         * posix/sched_getaffinity.c: Likewise.
21785         * posix/sched_getp.c: Likewise.
21786         * posix/sched_gets.c: Likewise.
21787         * posix/sched_primax.c: Likewise.
21788         * posix/sched_primin.c: Likewise.
21789         * posix/sched_rr_gi.c: Likewise.
21790         * posix/sched_setaffinity.c: Likewise.
21791         * posix/sched_setp.c: Likewise.
21792         * posix/sched_sets.c: Likewise.
21793         * posix/sched_yield.c: Likewise.
21794         * posix/setgid.c: Likewise.
21795         * posix/setlogin.c: Likewise.
21796         * posix/setpgid.c: Likewise.
21797         * posix/setresgid.c: Likewise.
21798         * posix/setresuid.c: Likewise.
21799         * posix/setsid.c: Likewise.
21800         * posix/setuid.c: Likewise.
21801         * posix/sleep.c: Likewise.
21802         * posix/spawni.c: Likewise.
21803         * posix/sysconf.c: Likewise.
21804         * posix/times.c: Likewise.
21805         * posix/wait.c: Likewise.
21806         * posix/wait3.c: Likewise.
21807         * posix/wait4.c: Likewise.
21808         * posix/waitpid.c: Likewise.
21809         * resolv/gai_sigqueue.c: Likewise.
21810         * resource/getpriority.c: Likewise.
21811         * resource/getrlimit.c: Likewise.
21812         * resource/getrusage.c: Likewise.
21813         * resource/nice.c: Likewise.
21814         * resource/setpriority.c: Likewise.
21815         * resource/setrlimit.c: Likewise.
21816         * resource/ulimit.c: Likewise.
21817         * rt/aio_cancel.c: Likewise.
21818         * rt/aio_fsync.c: Likewise.
21819         * rt/aio_read.c: Likewise.
21820         * rt/aio_sigqueue.c: Likewise.
21821         * rt/aio_suspend.c: Likewise.
21822         * rt/aio_write.c: Likewise.
21823         * rt/clock_getres.c: Likewise.
21824         * rt/clock_gettime.c: Likewise.
21825         * rt/clock_nanosleep.c: Likewise.
21826         * rt/clock_settime.c: Likewise.
21827         * rt/lio_listio.c: Likewise.
21828         * rt/mq_close.c: Likewise.
21829         * rt/mq_getattr.c: Likewise.
21830         * rt/mq_notify.c: Likewise.
21831         * rt/mq_open.c: Likewise.
21832         * rt/mq_receive.c: Likewise.
21833         * rt/mq_send.c: Likewise.
21834         * rt/mq_setattr.c: Likewise.
21835         * rt/mq_timedreceive.c: Likewise.
21836         * rt/mq_timedsend.c: Likewise.
21837         * rt/mq_unlink.c: Likewise.
21838         * rt/shm_open.c: Likewise.
21839         * rt/shm_unlink.c: Likewise.
21840         * rt/timer_create.c: Likewise.
21841         * rt/timer_delete.c: Likewise.
21842         * rt/timer_getoverr.c: Likewise.
21843         * rt/timer_gettime.c: Likewise.
21844         * rt/timer_settime.c: Likewise.
21845         * setjmp/__longjmp.c: Likewise.
21846         * setjmp/setjmp.c: Likewise.
21847         * signal/kill.c: Likewise.
21848         * signal/killpg.c: Likewise.
21849         * signal/raise.c: Likewise.
21850         * signal/sigaction.c: Likewise.
21851         * signal/sigaltstack.c: Likewise.
21852         * signal/sigblock.c: Likewise.
21853         * signal/sigignore.c: Likewise.
21854         * signal/sigintr.c: Likewise.
21855         * signal/signal.c: Likewise.
21856         * signal/sigpause.c: Likewise.
21857         * signal/sigpending.c: Likewise.
21858         * signal/sigqueue.c: Likewise.
21859         * signal/sigreturn.c: Likewise.
21860         * signal/sigset.c: Likewise.
21861         * signal/sigsetmask.c: Likewise.
21862         * signal/sigstack.c: Likewise.
21863         * signal/sigsuspend.c: Likewise.
21864         * signal/sigtimedwait.c: Likewise.
21865         * signal/sigvec.c: Likewise.
21866         * signal/sigwait.c: Likewise.
21867         * signal/sigwaitinfo.c: Likewise.
21868         * signal/sysv_signal.c: Likewise.
21869         * socket/accept.c: Likewise.
21870         * socket/accept4.c: Likewise.
21871         * socket/bind.c: Likewise.
21872         * socket/connect.c: Likewise.
21873         * socket/getpeername.c: Likewise.
21874         * socket/getsockname.c: Likewise.
21875         * socket/getsockopt.c: Likewise.
21876         * socket/isfdtype.c: Likewise.
21877         * socket/listen.c: Likewise.
21878         * socket/recv.c: Likewise.
21879         * socket/recvfrom.c: Likewise.
21880         * socket/recvmsg.c: Likewise.
21881         * socket/send.c: Likewise.
21882         * socket/sendmsg.c: Likewise.
21883         * socket/sendto.c: Likewise.
21884         * socket/setsockopt.c: Likewise.
21885         * socket/shutdown.c: Likewise.
21886         * socket/sockatmark.c: Likewise.
21887         * socket/socket.c: Likewise.
21888         * socket/socketpair.c: Likewise.
21889         * stdio-common/ctermid.c: Likewise.
21890         * stdio-common/cuserid.c: Likewise.
21891         * stdio-common/remove.c: Likewise.
21892         * stdio-common/rename.c: Likewise.
21893         * stdio-common/renameat.c: Likewise.
21894         * stdio-common/tempname.c: Likewise.
21895         * stdlib/getcontext.c: Likewise.
21896         * stdlib/makecontext.c: Likewise.
21897         * stdlib/setcontext.c: Likewise.
21898         * stdlib/swapcontext.c: Likewise.
21899         * stdlib/system.c: Likewise.
21900         * streams/fattach.c: Likewise.
21901         * streams/fdetach.c: Likewise.
21902         * streams/getmsg.c: Likewise.
21903         * streams/getpmsg.c: Likewise.
21904         * streams/putmsg.c: Likewise.
21905         * streams/putpmsg.c: Likewise.
21906         * sysdeps/unix/bsd/getpt.c: Likewise.
21907         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21908         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21909         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21911         Likewise.
21912         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21913         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21914         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21915         * sysvipc/msgctl.c: Likewise.
21916         * sysvipc/msgget.c: Likewise.
21917         * sysvipc/msgrcv.c: Likewise.
21918         * sysvipc/msgsnd.c: Likewise.
21919         * sysvipc/semctl.c: Likewise.
21920         * sysvipc/semget.c: Likewise.
21921         * sysvipc/semop.c: Likewise.
21922         * sysvipc/semtimedop.c: Likewise.
21923         * sysvipc/shmat.c: Likewise.
21924         * sysvipc/shmctl.c: Likewise.
21925         * sysvipc/shmdt.c: Likewise.
21926         * sysvipc/shmget.c: Likewise.
21927         * termios/tcdrain.c: Likewise.
21928         * termios/tcflow.c: Likewise.
21929         * termios/tcflush.c: Likewise.
21930         * termios/tcgetattr.c: Likewise.
21931         * termios/tcgetpgrp.c: Likewise.
21932         * termios/tcsendbrk.c: Likewise.
21933         * termios/tcsetattr.c: Likewise.
21934         * termios/tcsetpgrp.c: Likewise.
21935         * time/adjtime.c: Likewise.
21936         * time/clock.c: Likewise.
21937         * time/getitimer.c: Likewise.
21938         * time/gettimeofday.c: Likewise.
21939         * time/setitimer.c: Likewise.
21940         * time/settimeofday.c: Likewise.
21941         * time/stime.c: Likewise.
21942         * time/time.c: Likewise.
21944 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
21946         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21947         /usr/old/bin.
21949         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21950         instead of spaces.
21951         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21953 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
21955         [BZ #14796]
21956         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21957         FE_TONEAREST before applying Dekker multiplication and Knuth
21958         addition.  Clear inexact exceptions and check for exact zero
21959         results afterwards.
21960         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21961         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21962         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21963         * math/libm-test.inc (fma_test): Add more tests.
21964         (fma_test_towardzero): Likewise.
21965         (fma_test_downward): Likewise.
21966         (fma_test_upward): Likewise.
21967         * sysdeps/generic/math_private.h (default_libc_fesetround): New
21968         function.
21969         (libc_fesetround): New macro.
21970         (libc_fesetroundf): Likewise.
21971         (libc_fesetroundl): Likewise.
21972         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21973         function.
21974         (libc_fesetround_387): Likewise.
21975         (libc_fesetroundf): New macro.
21976         (libc_fesetround): Likewise.
21977         (libc_fesetroundl): Likewise.
21978         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21979         function.
21980         (libc_fesetroundf): New macro.
21981         (libc_fesetround): Likewise.
21982         (libc_fesetroundl): Likewise.
21983         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21984         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21985         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21986         libm_hidden_ver.
21987         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21988         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21989         libm_hidden_def.
21990         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21991         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21992         libm_hidden_ver.
21993         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21994         libm_hidden_def.
21996         [BZ #3439]
21997         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21998         integer constant usable in #if and use that to give value to enum
21999         constant.
22000         (FE_DIVBYZERO): Likewise.
22001         (FE_UNDERFLOW): Likewise.
22002         (FE_OVERFLOW): Likewise.
22003         (FE_INVALID): Likewise.
22004         (FE_INVALID_SNAN): Likewise.
22005         (FE_INVALID_ISI): Likewise.
22006         (FE_INVALID_IDI): Likewise.
22007         (FE_INVALID_ZDZ): Likewise.
22008         (FE_INVALID_IMZ): Likewise.
22009         (FE_INVALID_COMPARE): Likewise.
22010         (FE_INVALID_SOFTWARE): Likewise.
22011         (FE_INVALID_SQRT): Likewise.
22012         (FE_INVALID_INTEGER_CONVERSION): Likewise.
22013         (FE_TONEAREST): Likewise.
22014         (FE_TOWARDZERO): Likewise.
22015         (FE_UPWARD): Likewise.
22016         (FE_DOWNWARD): Likewise.
22017         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22018         (FE_DIVBYZERO): Likewise.
22019         (FE_OVERFLOW): Likewise.
22020         (FE_UNDERFLOW): Likewise.
22021         (FE_INEXACT): Likewise.
22022         (FE_TONEAREST): Likewise.
22023         (FE_DOWNWARD): Likewise.
22024         (FE_UPWARD): Likewise.
22025         (FE_TOWARDZERO): Likewise.
22026         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22027         (FE_UNDERFLOW): Likewise.
22028         (FE_OVERFLOW): Likewise.
22029         (FE_DIVBYZERO): Likewise.
22030         (FE_INVALID): Likewise.
22031         (FE_TONEAREST): Likewise.
22032         (FE_TOWARDZERO): Likewise.
22033         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22034         (FE_OVERFLOW): Likewise.
22035         (FE_UNDERFLOW): Likewise.
22036         (FE_DIVBYZERO): Likewise.
22037         (FE_INEXACT): Likewise.
22038         (FE_TONEAREST): Likewise.
22039         (FE_TOWARDZERO): Likewise.
22040         (FE_UPWARD): Likewise.
22041         (FE_DOWNWARD): Likewise.
22042         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22043         (FE_DIVBYZERO): Likewise.
22044         (FE_OVERFLOW): Likewise.
22045         (FE_UNDERFLOW): Likewise.
22046         (FE_INEXACT): Likewise.
22047         (FE_TONEAREST): Likewise.
22048         (FE_DOWNWARD): Likewise.
22049         (FE_UPWARD): Likewise.
22050         (FE_TOWARDZERO): Likewise.
22052 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
22054         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22056 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
22058         * scripts/cross-test-ssh.sh (command): Use newlines to separate
22059         commands.  Quote $PWD.
22060         (blacklist_exports): Don't use remove_newlines.  Replace "declare
22061         -x" by "export".
22062         (remove_newlines): Remove.
22064 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
22066         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22067         * stdlib/stdlib.h (atof): Moved to ...
22068         * include/bits/stdlib-float.h: Here.  New file.
22069         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22070         * stdlib/bits/stdlib-float.h: New file.
22071         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22072         -mno-sse -mno-mmx.
22073         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22074         <xmmintrin.h>.
22076 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
22078         * conform/conformtest.pl (@headers): Add fenv.h.
22079         * conform/data/fenv.h-data: New file.
22080         * include/fenv.h [_ISOMAC]: Disable all contents of file except
22081         include of <math/fenv.h>.
22083         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22084         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22085         && !UNIX98].  Enables tests for XOPEN2K8.
22086         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22087         POSIX2008]: Likewise.
22089         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22090         (struct rusage): Do not expect type or its members.
22092         [BZ #3439]
22093         * math/math.h (FP_NAN): Define macro to integer constant usable in
22094         #if and use that to give value to enum constant.
22095         (FP_INFINITE): Likewise.
22096         (FP_ZERO): Likewise.
22097         (FP_SUBNORMAL): Likewise.
22098         (FP_NORMAL): Likewise.
22100 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
22102         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22103         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22104         arguments.
22106 2012-11-02  Roland McGrath  <roland@hack.frob.com>
22108         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22109         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22110         autoconf-time if not.
22111         * configure.in: Remove AC_PREREQ.
22113 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22115         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22116         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22117         of the internal implementation.
22119 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
22121         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22122         except include of <misc/sys/syslog.h>.
22124 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
22126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22127         function returns with a NULL context exit with zero.
22129 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22131         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22133 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
22135         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22136         (run_program_cmd): This.
22137         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22138         (tst_langinfo): New variable.  Use it.
22140 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
22142         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22143         floating point opcodes.
22145 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
22147         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22148         variable.
22150         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22152         * sysdeps/mach/hurd/powerpc: Remove directory.
22153         * sysdeps/mach/powerpc: Likewise.
22155 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
22157         * scripts/check-local-headers.sh: Ignore c++ headers.
22159 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
22161         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22162         __libc_cleanup_region_start argument.
22164 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
22166         [BZ #14784]
22167         [BZ #14785]
22168         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22169         x * y using scaling, not as x * y + z.
22170         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22171         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22172         * math/libm-test.inc (fma_test): Add more tests.
22173         (fma_test_towardzero): Likewise.
22174         (fma_test_downward): Likewise.
22175         (fma_test_upward): Likewise.
22177 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
22179         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22181 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
22183         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22184         New variable.
22186 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
22188         * rt/tst-shm.c (worker): Correct checking for mmap failure.
22190 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
22192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22193         Fix sort order.
22194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22195         Likewise.
22197 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22200         Fix the order of the list for glibc 2.17.
22201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22202         Likewise.
22204 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
22206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22208 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
22210         [BZ #14610]
22211         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22212         for low part of x being zero before using __atanl (y).
22213         * math/libm-test.inc (atan2_test): Add another test.
22215         * manual/install.texi (Configuring and compiling): Document
22216         general use of test-wrapper and test-wrapper-env.
22217         * INSTALL: Regenerated.
22219         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22220         (__fma): Do not extract and scale down low bits on after-rounding
22221         systems when result rounded to normal precision would have normal
22222         exponent.
22223         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22224         (__fmal): Do not extract and scale down low bits on after-rounding
22225         systems when result rounded to normal precision would have normal
22226         exponent.
22227         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22228         (__fmal): Do not extract and scale down low bits on after-rounding
22229         systems when result rounded to normal precision would have normal
22230         exponent.
22231         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22232         macro.
22233         (fma_test): Add more tests.
22234         (fma_test_towardzero): Likewise.
22235         (fma_test_downward): Likewise.
22236         (fma_test_upward): Likewise.
22238 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
22240         * sysdeps/i386/tininess.h: Renamed to ...
22241         * sysdeps/x86/tininess.h: This.
22242         * sysdeps/x86_64/tininess.h: Removed.
22244 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
22246         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22247         input.  Use $(build-program-cmd).
22248         ($(objpfx)tst-array1-static.out): Likewise.
22249         ($(objpfx)tst-array2.out): Likewise.
22250         ($(objpfx)tst-array3.out): Likewise.
22251         ($(objpfx)tst-array4.out): Likewise.
22252         ($(objpfx)tst-array5.out): Likewise.
22253         ($(objpfx)tst-array5-static.out): Likewise.
22255 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
22257         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22258         if defined.
22260         * nss/nsswitch.h (nss_interface_function): Provide new
22261         macro for use with NSS functions.
22262         * grp/initgroups.c: Use new macro.
22263         * nss/getXXbyYY.c: Likewise.
22264         * nss/getXXbyYY_r.c: Likewise.
22265         * nss/getXXent.c: Likewise.
22266         * nss/getXXent_r.c: Likewise.
22267         * sysdeps/posix/getaddrinfo.c: Likewise.
22269 2012-10-30  Andreas Jaeger  <aj@suse.de>
22271         * po/ru.po: Update Russion translation from translation project.
22273 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
22275         [BZ #14152]
22276         [BZ #14783]
22277         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22278         result and shift together with sticky bit instead of replicating
22279         round-to-nearest rounding.
22280         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22281         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22282         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
22283         missing underflow exceptions.
22284         (fma_test_towardzero): Add more tests.
22285         (fma_test_downward): Likewise.
22286         (fma_test_upward): Likewise.
22288         [BZ #14047]
22289         * sysdeps/generic/tininess.h: New file.
22290         * sysdeps/i386/tininess.h: Likewise.
22291         * sysdeps/sh/tininess.h: Likewise.
22292         * sysdeps/x86_64/tininess.h: Likewise.
22293         * stdlib/tst-strtod-underflow.c: Likewise.
22294         * stdlib/tst-tininess.c: Likewise.
22295         * stdlib/strtod_l.c: Include <tininess.h>.
22296         (round_and_return): Do not set errno for exact underflow cases.
22297         Force an underflow exception when setting errno for underflow.
22298         Determine underflow based on rounding to normal precision if
22299         TININESS_AFTER_ROUNDING.
22300         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22301         ERANGE for exact underflow cases.
22302         * stdlib/Makefile (tests): Add tst-tininess and
22303         tst-strtod-underflow.
22304         ($(objpfx)tst-tininess): Use $(link-libm).
22305         ($(objpfx)tst-strtod-underflow): Likewise.
22307 2012-10-30  Andreas Jaeger  <aj@suse.de>
22309         [BZ#14767]
22310         * elf/Makefile (tests): Remove conditional for have-initfini-array
22311         since this is now always required and the variable does not exist
22312         anymore.
22313         (tests-static): Likewise.
22314         (modules-names): Likewise.
22316         * po/eo.po: Add Esperanto translation from translation project.
22318         * elf/tst-array1.c (fini_array): Make writeable so that it can be
22319         merged with constructor/destructor.
22320         (init_array): Likewise.
22321         * elf/tst-array2dep.c (fini_array): Likewise.
22322         (init_array): Likewise.
22324 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
22326         * manual/message.texi: Delete @cartouche tags.
22328 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
22330         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22331         EOPNOTSUPP.
22332         * sysdeps/mach/hurd/fsync.c: Likewise.
22334         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22335         [_POSIX_REALTIME_SIGNALS]: Change condition to
22336         [_POSIX_REALTIME_SIGNALS > 0].
22338 2012-10-27  Andreas Jaeger  <aj@suse.de>
22340         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22341         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22342         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22343         [__WORDSIZE != 64]: Likewise.
22345 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
22347         *  iconvdata/tst-table.sh: Remove ${SHELL}.
22348         *  iconvdata/tst-tables.sh: Likewise.
22350 2012-10-25  David S. Miller  <davem@davemloft.net>
22352         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22353         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22354         of strtoull.
22356         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22357         ifunc-impl-list.c
22358         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22359         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22360         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22361         file.
22363 2012-10-25  Roland McGrath  <roland@hack.frob.com>
22365         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22366         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22367         __getdirentries.
22369 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
22370             Jim Blandy  <jimb@codesourcery.com>
22372         * scripts/cross-test-ssh.sh: New file.
22373         * manual/install.texi (Configuring and compiling): Document use of
22374         cross-test-ssh.sh.
22375         * INSTALL: Regenerated.
22377 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
22379         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22380         EOPNOTSUPP.
22382 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
22384         * Makeconfig (run-program-prefix): Fix comment.
22386 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
22387             Jim Blandy  <jimb@codesourcery.com>
22389         * Makeconfig (test-wrapper): New variable,
22390         (test-wrapper-env): Likewise.
22391         [$(cross-compiling) = yes && $(test-wrapper) != ""]
22392         (run-built-tests): Define to yes.
22393         (run-program-prefix): Use $(test-wrapper).
22394         (built-program-cmd): Likewise.
22395         * Rules (make-test-out): Use $(test-wrapper-env) and
22396         $(host-built-program-cmd).
22397         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22398         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22399         tst-pathopt.sh.
22400         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22401         $(test-wrapper-env) to tst-rtld-load-self.sh.
22402         ($(objpfx)order2.out): Use $(test-wrapper).
22403         ($(objpfx)tst-initorder.out): Likewise.
22404         ($(objpfx)tst-initorder2.out): Likewise.
22405         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22406         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22407         (test_wrapper_env): New variable.  Use it to run ld.so.
22408         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22409         Use it to run ld.so.
22410         (test_wrapper_env): Likewise.
22411         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22412         $(test-wrapper) to run-iconv-test.sh.
22413         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22414         (ICONV): Use $test_wrapper.
22415         * posix/Makefile ($(objpfx)globtest.out): Pass
22416         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22417         globtest.sh, not $(run-program-prefix).
22418         * posix/globtest.sh (run_via_rtld_prefix): New variable.
22419         (test_wrapper): Likewise.
22420         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
22421         set together with run_via_rtld_prefix.
22422         (run_program_prefix): Define in terms of test_wrapper and
22423         run_via_rtld_prefix.
22425 2012-10-24  Roland McGrath  <roland@hack.frob.com>
22427         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22428         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22429         Targets removed.
22431         [BZ #14743]
22432         * include/time.h: Remove librt_hidden_proto (clock_gettime).
22433         Declare __clock_getres, __clock_gettime, __clock_settime,
22434         __clock_nanosleep, and __clock_getcpuclockid.
22435         * rt/clock_gettime.c: Define __clock_gettime as an alias.
22436         Remove librt_hidden_def (clock_gettime).
22437         * sysdeps/unix/clock_gettime.c: Likewise.
22438         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22439         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22440         * rt/clock_getres.c: Define __clock_getres as an alias.
22441         * sysdeps/posix/clock_getres.c: Likewise.
22442         * rt/clock_settime.c: Define __clock_settime as an alias.
22443         * sysdeps/unix/clock_settime.c: Likewise.
22444         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22445         * sysdeps/unix/clock_nanosleep.c: Likewise.
22446         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22447         * rt/clock-compat.c: New file.
22448         * rt/Makefile (librt-routines): Add clock-compat and move
22449         $(clock-routines) to ...
22450         (routines): ... here, new variable.
22451         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22452         Don't add get_clockfreq here.
22453         * rt/Versions (libc: GLIBC_2.17): New version set.
22454         Add clock_* symbols here.
22455         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
22456         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22457         (GLIBC_2.17): Add clock_* symbols.
22458         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22459         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22460         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22462         Likewise.
22463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22464         Likewise.
22465         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22466         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22467         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22468         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22469         * NEWS: Mention the move.
22471         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22472         Use __open, __read, __close rather than their public counterparts.
22473         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22474         (__get_clockfreq_via_cpuinfo): Likewise.
22475         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22476         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22478         * config.h.in (HAVE_IFUNC): New #undef.
22479         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22480         was successful.
22481         * configure: Regenerated.
22483 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
22485         * configure.in: Move READELF check to start of file.
22486         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22487         libc_cv_asm_gnu_indirect_function in the process.
22488         * configure: Regenerated.
22490 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
22492         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22493         send the output to /dev/null.
22494         (libc_cv_cc_with_libunwind): Likewise.
22495         (libc_cv_as_noexecstack): Likewise.
22496         * configure: Regenerate.
22498 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
22500         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22502         * posix/globtest.sh (TMPDIR): Do not set.
22503         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22504         (testout): Likewise.
22506 2012-10-24  Andreas Jaeger  <aj@suse.de>
22508         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22509         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22510         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22511         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22512         posix_fadvise64, posix_fallocate64.
22514         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22515         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22516         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22517         Likewise.
22518         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22519         Likewise.
22520         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22522         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22523         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22524         <bits/fcntl-linux.h>.
22525         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22527         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22528         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22529         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22530         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22531         [__WORDSIZE != 64]: Likewise.
22533 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
22535         * Makeconfig (run-built-tests): New variable.
22536         * Rules [$(cross-compiling) = yes]: Change condition to
22537         [$(run-built-tests) = no].
22538         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22539         to [$(run-built-tests) = yes].
22540         * elf/Makefile [$(cross-compiling) = no]: Likewise
22541         * grp/Makefile [$(cross-compiling) = no]: Likewise.
22542         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22543         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22544         * intl/Makefile [$(cross-compiling) = no]: Likewise.
22545         * io/Makefile [$(cross-compiling) = no]: Likewise.
22546         * libio/Makefile [$(cross-compiling) = no]: Likewise.
22547         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22548         * misc/Makefile [$(cross-compiling) = no]: Likewise.
22549         * posix/Makefile [$(cross-compiling) = no]: Likewise.
22550         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22551         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22552         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22553         * string/Makefile [$(cross-compiling) = no]: Likewise.
22555         * posix/Makefile ($(objpfx)globtest.out): Pass
22556         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22557         $(rtld-installed-name).
22558         * posix/globtest.sh (elf_objpfx): Remove variable.
22559         (rtld_installed_name): Likewise.
22560         (library_path): Likewise.
22561         (run_program_prefix): New variable.  Use for running globtest
22562         binary.
22564 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
22565             Joseph Myers  <joseph@codesourcery.com>
22567         * Makeconfig (host-built-program-cmd): New variable.
22568         * elf/Makefile (tst-stackguard1-ARGS): Use
22569         $(host-built-program-cmd).
22570         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22571         (tst-spawn-ARGS): Likewise.
22572         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22574 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
22575             Jim Blandy  <jimb@codesourcery.com>
22577         * Makeconfig (run-via-rtld-prefix): New variable.
22578         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22579         (built-program-cmd): Likewise.
22581 2012-10-22  Andreas Jaeger  <aj@suse.de>
22583         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22584         __O_RSYNC if it exists, otherwise to O_SYNC.
22586 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
22587             Joseph Myers  <joseph@codesourcery.com>
22589         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22590         /dev/null.
22591         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22592         from /dev/null
22593         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22594         /dev/null.
22596 2012-10-22  Andreas Jaeger  <aj@suse.de>
22598         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22599         Define always.
22600         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22602         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22603         bits/fcntl-linux.h.
22605         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22606         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22608         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22609         to __O_LARGEFILE.
22610         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22611         to __O_LARGEFILE.
22613 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
22614             Joseph Myers  <joseph@codesourcery.com>
22616         * config.make.in (NM): New variable.
22618 2012-10-21  Andreas Jaeger  <aj@suse.de>
22620         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22621         definitions and declarations that are provided by
22622         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22624 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
22626         [BZ #14683]
22627         * elf/Makefile (tests-static): Add tst-leaks1-static.
22628         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22629         ($(objpfx)tst-leaks1-static): New rule.
22630         ($(objpfx)tst-leaks1-static-mem): Likewise.
22631         (tst-leaks1-static-ENV): New macro.
22632         * elf/dl-open.c (dl_open_worker): Check the main application
22633         only if SHARED is defined.
22634         * elf/tst-leaks1-static.c: New file.
22636 2012-10-20  Andreas Jaeger  <aj@suse.de>
22638         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22639         generic values for Linux.
22640         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22641         and declarations that are provided by <bits/fcntl-linux.h> and
22642         include <bits/fcntl-linux.h>.
22643         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22644         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22646 2012-10-20  Roland McGrath  <roland@hack.frob.com>
22648         * io/fcntl.h: Move include of <bits/types.h> to the top and
22649         include it unconditionally.
22651 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
22653         * wcsmbs/Makefile (tests-ifunc): New variable.
22654         (tests): Add $(tests-ifunc).
22655         * wcsmbs/test-wcschr-ifunc.c: New file.
22656         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22657         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22658         * wcsmbs/test-wcslen-ifunc.c: Likewise.
22659         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22660         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22662         * string/Makefile (tests-ifunc): New variable.
22663         (tests): Add $(tests-ifunc).
22664         * string/test-memccpy.c (TEST_NAME): New macro.
22665         * string/test-memchr.c (TEST_NAME): Likewise.
22666         * string/test-memcmp.c (TEST_NAME): Likewise.
22667         * string/test-memcpy.c (TEST_NAME): Likewise.
22668         * string/test-memmem.c (TEST_NAME): Likewise.
22669         * string/test-memmove.c (TEST_NAME): Likewise.
22670         * string/test-memset.c (TEST_NAME): Likewise.
22671         * string/test-rawmemchr.c (TEST_NAME): Likewise.
22672         * string/test-stpcpy.c (TEST_NAME): Likewise.
22673         * string/test-stpncpy.c (TEST_NAME): Likewise.
22674         * string/test-strcasecmp.c (TEST_NAME): Likewise.
22675         * string/test-strcasestr.c (TEST_NAME): Likewise.
22676         * string/test-strcat.c (TEST_NAME): Likewise.
22677         * string/test-strchr.c (TEST_NAME): Likewise.
22678         * string/test-strcmp.c(TEST_NAME): Likewise.
22679         * string/test-strcpy.c (TEST_NAME): Likewise.
22680         * string/test-strcspn.c (TEST_NAME): Likewise.
22681         * string/test-strlen.c (TEST_NAME): Likewise.
22682         * string/test-strncasecmp.c (TEST_NAME): Likewise.
22683         * string/test-strncmp.c (TEST_NAME): Likewise.
22684         * string/test-strncpy.c (TEST_NAME): Likewise.
22685         * string/test-strnlen.c (TEST_NAME): Likewise.
22686         * string/test-strpbrk.c (TEST_NAME): Likewise.
22687         * string/test-strrchr.c (TEST_NAME): Likewise.
22688         * string/test-strspn.c (TEST_NAME): Likewise.
22689         * string/test-strstr.c (TEST_NAME): Likewise.
22690         * string/test-bcopy-ifunc.c: New file.
22691         * string/test-bzero-ifunc.c: Likewise.
22692         * string/test-memccpy-ifunc.c: Likewise.
22693         * string/test-memchr-ifunc.c: Likewise.
22694         * string/test-memcmp-ifunc.c: Likewise.
22695         * string/test-memcpy-ifunc.c: Likewise.
22696         * string/test-memmem-ifunc.c: Likewise.
22697         * string/test-memmove-ifunc.c: Likewise.
22698         * string/test-mempcpy-ifunc.c: Likewise.
22699         * string/test-memset-ifunc.c: Likewise.
22700         * string/test-rawmemchr-ifunc.c: Likewise.
22701         * string/test-stpcpy-ifunc.c: Likewise.
22702         * string/test-stpncpy-ifunc.c: Likewise.
22703         * string/test-strcasecmp-ifunc.c: Likewise.
22704         * string/test-strcasestr-ifunc.c: Likewise.
22705         * string/test-strcat-ifunc.c: Likewise.
22706         * string/test-strchr-ifunc.c: Likewise.
22707         * string/test-strchrnul-ifunc.c: Likewise.
22708         * string/test-strcmp-ifunc.c: Likewise.
22709         * string/test-strcpy-ifunc.c: Likewise.
22710         * string/test-strcspn-ifunc.c: Likewise.
22711         * string/test-strlen-ifunc.c: Likewise.
22712         * string/test-strncasecmp-ifunc.c: Likewise.
22713         * string/test-strncat-ifunc.c: Likewise.
22714         * string/test-strncmp-ifunc.c: Likewise.
22715         * string/test-strncpy-ifunc.c: Likewise.
22716         * string/test-strnlen-ifunc.c: Likewise.
22717         * string/test-strpbrk-ifunc.c: Likewise.
22718         * string/test-strrchr-ifunc.c: Likewise.
22719         * string/test-strspn-ifunc.c: Likewise.
22720         * string/test-strstr-ifunc.c: Likewise.
22722         * debug/Makefile (tests-ifunc): New variable.
22723         (tests): Add $(tests-ifunc).
22724         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22725         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22726         * debug/test-stpcpy_chk-ifunc.c: New file.
22727         * debug/test-strcpy_chk-ifunc.c: Likewise.
22729 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22731         [BZ #13601]
22732         * elf/dl-load.c (open_verify): Retry read if the entire ELF
22733         header is not read in.
22735 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
22737         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
22738         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
22739         directly.  Pass built executable to script as
22740         $(built-program-cmd).
22741         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
22742         $testprogram without using LD_LIBRARY_PATH and $ldso.
22744         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22745         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22746         $(rtld-installed-name).
22747         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22748         (rtld_installed_name): Likewise.
22749         (library_path): Likewise.
22750         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
22751         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22752         $(run-program-prefix) to tst-tables.sh.
22753         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
22754         it to run tst-table-from and tst-table-to.
22755         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22756         Pass it to tst-table.sh.
22757         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22758         $(run-program-prefix) to tst-gettext.sh.
22759         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22760         tst-translit.sh.
22761         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22762         tst-gettext2.sh.
22763         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
22764         to run tst-gettext.
22765         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
22766         to run tst-gettext2.
22767         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
22768         to run tst-translit.
22769         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22770         $(run-program-prefix) to tst-mtrace.sh.
22771         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
22772         to run tst-mtrace.
22773         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22774         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22775         $(rtld-installed-name).
22776         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22777         (rtld_installed_name): Likewise.
22778         (run_program_prefix): New variable.  Use it to run wordexp-test.
22780         * Makeconfig (ARCH): Remove all definitions.
22781         (machine): Likewise.
22782         [ARCH]: Remove conditional code.
22783         [!objdir]: Give error.
22784         [!objdir] (objpfx): Remove.
22785         [!objdir] (common-objpfx): Likewise.
22786         [!objdir] (common-objdir): Likewise.
22787         * configure.in (config_makefile): Remove.  Hardcode Makefile in
22788         AC_CONFIG_FILES call.
22789         * configure: Regenerated.
22791         [BZ #13888]
22792         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22793         or TMPDIR.
22794         (testout): Likewise.
22796         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22797         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22798         $(rtld-installed-name).
22799         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22800         (rtld_installed_name): Likwise.
22801         (runit): Remove function.
22802         (run_getconf): New variable,  Use it for running getconf binary.
22804 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
22806         [BZ #14716]
22807         * string/test-memmem.c (check_result): New function.
22808         (do_one_test): Use it.
22809         (check1): New function.
22810         (test_main): Use it.
22812 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
22814         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22816 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
22818         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22819         (_G_LSEEK64): Likewise.
22820         (_G_MMAP64): Likewise.
22821         (_G_FSTAT64): Likewise.
22822         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22823         (_G_LSEEK64): Likewise.
22824         (_G_MMAP64): Likewise.
22825         (_G_FSTAT64): Likewise.
22826         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22827         unconditional.  Call __mmap64 directly.
22828         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22829         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
22830         __lseek64 directly.
22831         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22832         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
22833         __mmap64 directly.
22834         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22835         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
22836         __lseek64 directly.
22837         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22838         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
22839         __lseek64 directly.
22840         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22841         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
22842         __lseek64 directly.
22843         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22844         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
22845         __fxstat64 directly.
22846         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22847         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22848         unconditional.
22849         (freopen64) [!_G_OPEN64]: Remove conditional code.
22850         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22851         unconditional.
22852         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22853         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22854         unconditional.
22855         (ftello64) [!_G_LSEEK64]: Remove conditional code.
22856         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22857         unconditional.
22858         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22859         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22860         unconditional.
22861         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22862         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22863         unconditional.
22864         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22865         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22866         unconditional.
22867         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22868         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22869         unconditional.
22870         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22872 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22874         [BZ #12140]
22875         * manual/memory.texi (Malloc Tunable Parameters): Add note
22876         about free list pointers overwriting some perturb bytes.
22877         Wording suggested by Roland McGrath.
22879 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
22881         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22882         (lgamma_test): Likewise.
22883         (tgamma_test): Likewise.
22885 2012-10-16  Florian Weimer  <fweimer@redhat.com>
22887         [BZ #14700]
22888         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22889         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22891 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
22893         * NEWS: Mention BZ #14716.
22894         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22895         when removing AVAILABLE1_USES_J macro.
22897 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
22899         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22900         (__bswap_64): __uint64_t for unsigned 64-bit int.
22902 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
22904         * include/string.h (memmem): Declare libc hidden alias.
22905         * string/memmem.c (memmem): Define libc hidden alias.
22906         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22907         __read, __close instead of open, read, close.
22909 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
22911         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22912         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22913         global and hidden.
22914         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22915         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22916         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22917         Likewise.
22918         (__rawmemchr_sse2): Likewise.
22919         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22920         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22921         (__strchr_sse2): Likewise.
22922         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22923         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22924         (__strcasecmp_sse2): Likewise.
22925         (__strncasecmp_sse2): Likewise.
22926         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22927         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22928         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22929         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22930         (__strrchr_sse2): Likewise.
22931         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22932         ifunc-impl-list.c.
22933         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22934         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22935         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22936         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22937         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22938         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22939         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22940         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22941         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22942         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22943         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22944         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22945         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22946         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22947         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22948         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22949         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22950         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22951         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22952         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22953         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22954         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22955         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22956         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22957         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22958         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22959         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22960         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22961         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22962         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22964         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22965         global and hidden.
22966         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22967         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22968         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22969         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22970         Likewise.
22971         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22972         Likewise.
22973         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22974         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22975         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22976         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22977         ifunc-impl-list.c.
22978         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22979         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22980         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22981         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22982         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22983         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22984         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22985         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22986         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22987         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22988         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22989         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22990         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22991         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22992         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22993         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22994         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22995         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22996         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22997         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22998         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22999         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23000         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23001         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23002         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23003         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23004         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23005         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23006         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23007         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23008         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23009         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23010         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23011         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23012         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23013         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23014         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23015         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23016         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23017         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23018         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23020         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23021         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23022         * include/ifunc-impl-list.h: New file.
23023         * misc/ifunc-impl-list.c: Likewise.
23024         * misc/Makefile (routines): Add ifunc-impl-list.
23025         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23026         * string/test-string.h: Include <ifunc-impl-list.h>.
23027         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
23028         impl_array): New variables.
23029         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23030         are defined.
23031         (test_init): Call __libc_ifunc_impl_list to initialize
23032         func_list if TEST_IFUNC and TEST_NAME are defined.
23034         * string/Makefile (strop-tests): Add bcopy and bzero.
23035         * string/test-bcopy.c: New file.
23036         * string/test-bzero.c: Likewise.
23037         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23038         defined.
23039         * string/test-memset.c: Support bzero test if TEST_BZERO is
23040         defined.
23041         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23042         __libc_memmove.
23043         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23044         __libc_memset.
23045         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23046         of memset.
23048 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
23050         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23051         * configure: Regenerated.
23053         * Makeconfig (+link-static-before-libc): Don't include
23054         $(link-static-libc).
23056         * libio/libio.h (_IO_pos_t): Remove.
23058 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
23060         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
23061         McGrath.
23063 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
23065         * crypt/crypt-entry.c: Include fips-private.h.
23066         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23067         * crypt/md5c-test.c (main): Tolerate disabled MD5.
23068         * sysdeps/unix/sysv/linux/fips-private.h: New file.
23069         * sysdeps/generic/fips-private.h: New file, dummy fallback.
23071 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
23073         * crypt/crypt-private.h: Include stdbool.h.
23074         (_ufc_setup_salt_r): Return bool.
23075         * crypt/crypt-entry.c: Include errno.h.
23076         (__crypt_r): Return NULL with EINVAL for bad salt.
23077         * crypt/crypt_util.c (bad_for_salt): New.
23078         (_ufc_setup_salt_r): Check that salt is long enough and within
23079         the specified alphabet.
23080         * crypt/badsalttest.c: New file.
23081         * crypt/Makefile (tests): Add it.
23082         ($(objpfx)badsalttest): New.
23084 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
23086         * NEWS: Add entry for BZ #14602.
23088 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
23090         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23091         type-generic.
23092         * math/libm-test.inc: Update comment listing what functions and
23093         macros are tested.
23094         (isgreater_test): New function.
23095         (isgreaterequal_test): Likewise.
23096         (isless_test): Likewise.
23097         (islessequal_test): Likewise.
23098         (islessgreater_test): Likewise.
23099         (isunordered_test): Likewise.
23100         (main): Call the new functions.
23102 2012-10-09  Roland McGrath  <roland@hack.frob.com>
23104         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23105         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23106         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23107         * sysdeps/i386/configure: Regenerated.
23108         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23109         * sysdeps/mach/configure: Regenerated.
23110         * sysdeps/mach/hurd/configure: Regenerated.
23111         * sysdeps/powerpc/configure: Regenerated.
23112         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23113         * sysdeps/powerpc/powerpc64/configure: Regenerated.
23114         * sysdeps/s390/s390-32/configure: Regenerated.
23115         * sysdeps/s390/s390-64/configure: Regenerated.
23116         * sysdeps/sh/configure: Regenerated.
23117         * sysdeps/sparc/configure: Regenerated.
23118         * sysdeps/unix/sysv/linux/configure: Regenerated.
23119         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23120         * sysdeps/x86_64/configure: Regenerated.
23122         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23123         defined.  Don't check if MAP is NULL.
23125 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
23127         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23128         (_G_stat64): Likewise.
23129         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23130         (_G_stat64): Likewise.
23131         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23132         instead of struct _G_stat64.
23133         * libio/fileops.c (mmap_remap_check): Likewise.
23134         (decide_maybe_mmap): Likewise.
23135         (_IO_new_file_seekoff): Likewise.
23136         (_IO_file_stat): Likewise.
23137         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23138         _G_off64_t.
23139         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23140         instead of struct _G_stat64.
23141         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23143 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
23145         [BZ #14602]
23146         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23147         Replace with ...
23148         (CHECK_EOL): New macro.
23149         (two_way_short_needle): Check beginning of haystack for EOL.  Use
23150         CHECK_EOL.
23151         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23152         Replace with CHECK_EOL.
23153         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23154         Replace with CHECK_EOL.
23156 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
23158         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23159         type-generic.
23160         * math/libm-test.inc: Update comment listing what functions and
23161         macros are tested.
23162         (finite_test): New function.
23163         (isinf_test): Likewise.
23164         (isnan_test): Likewise.
23165         (fpclassify_test): Test subnormal input.
23166         (isfinite_test): Likewise.
23167         (isnormal_test): Likewise.
23168         (main): Call the new functions.
23170 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
23172         [BZ #14660]
23173         * Makerules (%.dynsym): Force C locale when running
23174         $(OBJDUMP) --dynamic-syms.
23176 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
23178         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23179         <stdint.h>.
23181 2012-10-06  David S. Miller  <davem@davemloft.net>
23183         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23184         upper 32-bits of the length value in %o2 since we use branch-on-register
23185         tests which consider the entire 64-bit register.
23187 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
23189         * string/test-strstr.c (check2): Add a test for page boundary.
23191 2012-10-05  David S. Miller  <davem@davemloft.net>
23193         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23194         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23195         file.
23196         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23197         sysdep_routines.
23198         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23199         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23200         and bzero when HWCAP_SPARC_CRYPTO is present.
23202 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
23204         [BZ #14602]
23205         * string/test-strstr.c (check2): New function.
23206         (test_main): Call check2.
23208         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23209         and bug-strchr1.
23210         * string/bug-strcasestr1.c (do_test): Moved to ...
23211         * string/test-strcasestr.c (check1): Here.  New function.
23212         (do_one_test): Break out result checking code into ...
23213         (check_result): This.  New function.
23214         (do_one_test): Call check_result.
23215         (test_main): Call check1.
23216         * string/bug-strchr1.c (do_test): Moved to ...
23217         * string/test-strchr.c (check1): Here.  New function.
23218         (do_one_test): Break out result checking code into ...
23219         (check_result): This.  New function.
23220         (do_one_test): Call check_result.
23221         (test_main): Call check1.
23222         * string/bug-strstr1.c (main): Moved to ...
23223         * string/test-strstr.c (check1): Here.  New function.
23224         (do_one_test): Break out result checking code into ...
23225         (check_result): This.  New function.
23226         (do_one_test): Call check_result.
23227         (test_main): Call check1.
23228         * string/bug-strcasestr1.c: Removed.
23229         * string/bug-strchr1.c: Likewise.
23230         * string/bug-strstr1.c: Likewise.
23232         * elf/Makefile (dl-routines): Add hwcaps.
23233         * elf/dl-support.c (_dl_important_hwcaps): Removed.
23234         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23235         (_dl_important_hwcaps): Moved to ...
23236         * elf/dl-hwcaps.c: Here.  New file.
23237         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23239         [BZ #14557]
23240         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23241         if IS_IN_rtld isn't defined.
23243         * elf/dl-support.c (_dl_sysinfo_map): New.
23244         Include "get-dynamic-info.h" and "setup-vdso.h".
23245         (_dl_non_dynamic_init): Call setup_vdso.
23246         * elf/dynamic-link.h: Don't include <assert.h>.
23247         (elf_get_dynamic_info): Moved to ...
23248         * elf/get-dynamic-info.h: Here.  New file.
23249         * elf/dynamic-link.h: Include "get-dynamic-info.h".
23250         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23251         * elf/setup-vdso.h: Here.  New file.
23252         * elf/rtld.c: Include "setup-vdso.h".
23253         (dl_main): Call setup_vdso.
23255 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
23257         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23258         creal in comment listing functions tested.  List finite, isinf,
23259         isnan, isless, islessequal, isgreater, isgreaterequal,
23260         islessgreater, isunordered, lgamma_r and pow10 as functions and
23261         macros not tested.  Mention which functions not tested are aliases
23262         for other functions.  Fix typo.  Note that signs of NaNs are not
23263         tested.
23265         * scripts/config.guess: Update from config.git.
23266         * scripts/config.sub: Likewise.
23268 2012-10-04  Roland McGrath  <roland@hack.frob.com>
23270         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23271         * misc/madvise.c (madvise): Renamed to __madvise.
23272         Make madvise a weak alias.
23273         * include/sys/mman.h: Declare __madvise.
23274         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23275         * sysdeps/unix/syscalls.list
23276         (madvise): Make __madvise the strong name, and madvise a weak alias.
23277         * sysdeps/unix/sysv/linux/syscalls.list
23278         (madvise, mmap): Remove redundant entries.
23279         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23280         * malloc/malloc.c (mtrim): Likewise.
23281         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23283 2012-10-03  Roland McGrath  <roland@hack.frob.com>
23285         * sysdeps/mach/hurd/dl-cache.c: File removed.
23286         * config.h.in (USE_LDCONFIG): New #undef.
23287         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23288         * configure: Regenerated.
23289         * elf/Makefile (dl-routines): Add dl-cache only under
23290         [$(use-ldconfig) = yes].
23291         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23292         cache on [USE_LDCONFIG].
23293         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23294         [USE_LDCONFIG].
23295         * elf/rtld.c (dl_main): Likewise.
23297 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
23299         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23300         _SC_LEVEL4_CACHE_LINESIZE.
23302 2012-10-03  Roland McGrath  <roland@hack.frob.com>
23304         * sysdeps/unix/bsd/confstr.h: File removed.
23306 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
23308         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23309         sys/sdt-config.h.
23311 2012-10-02  Roland McGrath  <roland@hack.frob.com>
23313         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23314         Make 'mapoff' field ElfW(Off) rather than off_t.
23316 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
23318         * nscd/Makefile: Remove nscd-cflags and all its users.
23319         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23320         (CFLAGS-nonlib): Add compiler flags for nscd modules.
23322         [BZ #10631]
23323         * malloc.c (malloc_printerr): Clarify error message.
23325 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
23327         [BZ #14648]
23328         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23329         Set bit_FMA_Usable if FMA is supported.
23330         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23331         macro.
23332         (bit_FMA4_Usable): Updated.
23333         (index_FMA_Usable): New macro.
23334         (CPUID_FMA): Likewise
23335         (HAS_FMA): Defined with bit_FMA_Usable.
23337 2012-10-01  Roland McGrath  <roland@hack.frob.com>
23339         * bits/types.h (__swblk_t): Type removed.
23340         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23341         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23342         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23343         (__SWBLK_T_TYPE): Likewise.
23344         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23345         (__SWBLK_T_TYPE): Likewise.
23346         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23347         (__SWBLK_T_TYPE): Likewise.
23348         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23349         (__SWBLK_T_TYPE): Likewise.
23351 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
23352             Honza Horak <hhorak@redhat.com>
23354         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23355         (xdr_mapname): Use YPMAXMAP as maxsize.
23356         (xdr_peername): Use YPMAXPEER as maxsize.
23357         (xdr_keydat): Use YPAXRECORD as maxsize.
23358         (xdr_valdat): Use YPMAXRECORD as maxsize.
23360 2012-10-01  Roland McGrath  <roland@hack.frob.com>
23362         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23364         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23365         * csu/init-first.c: ... here.
23366         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23367         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23368         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23369         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23370         * sysdeps/i386/init-first.c: File removed.
23371         * sysdeps/sh/init-first.c: File removed.
23373 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
23375         [BZ #14645]
23376         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23377         if x * y might underflow to zero and z is zero.
23378         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23379         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23380         * math/libm-test.inc (min_subnorm_value): New variable.
23381         (fma_test): Add more tests.
23382         (fma_test_towardzero): Likewise.
23383         (fma_test_downward): Likewise
23384         (fma_test_upward): Likewise.
23385         (initialize): Set min_subnorm_value.
23387 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
23389         [BZ #14638]
23390         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23391         0 + 0.
23392         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23393         mode for addition resulting in exact zero.
23394         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23395         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23396         exact 0 + 0.
23397         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23398         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23399         * math/libm-test.inc (fma_test): Add more tests.
23400         (fma_test_towardzero): New function.
23401         (fma_test_downward): Likewise.
23402         (fma_test_upward): Likewise.
23403         (main): Call the new functions.
23405 2012-09-28  David S. Miller  <davem@davemloft.net>
23407         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23409 2012-09-28  Roland McGrath  <roland@hack.frob.com>
23411         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23412         instead of SIGALRM.
23414         * sysdeps/gnu/_G_config.h: Moved to ...
23415         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23416         * sysdeps/mach/hurd/_G_config.h: Moved to ...
23417         * sysdeps/generic/_G_config.h: ... here.
23419         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
23421         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23423         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23424         Conditionalize target on [libnss_test1.so-version].
23426         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23428         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23429         (elfobjdir): Move out of conditionals.
23431         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23432         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23433         (__nss_lookup_function): Conditionalize label remove_from_tree on
23434         [!DO_STATIC_NSS || SHARED], matching its only use.
23436 2012-09-28  David S. Miller  <davem@davemloft.net>
23438         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23439         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23440         file.
23441         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23442         sysdep_routines.
23443         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23444         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23445         when HWCAP_SPARC_CRYPTO is present.
23447 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
23449         * io/tst-mknodat.c: Create a FIFO instead of a socket.
23451 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
23453         [BZ #6530]
23454         * stdio-common/vfprintf.c (process_string_arg): Revert
23455         2000-07-22 change.
23457 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
23459         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23460         for testcase.
23461         * stdio-common/tst-sprintf.c: Include <locale.h>
23462         (main): Test sprintf's handling of incomplete multibyte
23463         characters.
23465 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
23467         * elf/dl-runtime.c (VERSYMIDX): Removed.
23468         * elf/dl-version.c (VERSYMIDX): Likewise.
23469         * elf/do-rel.h (VERSYMIDX): Likewise.
23470         (VALIDX): Likewise.
23471         * elf/dynamic-link.h (VERSYMIDX): Likewise.
23472         * elf/rtld.c (VALIDX): Likewise.
23473         (ADDRIDX): Likewise.
23474         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23475         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23476         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23477         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23478         (VALIDX): Likewise.
23479         (ADDRIDX): Likewise.
23481 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
23483         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23485 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
23487         [BZ #11438]
23488         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23489         to global scope.
23490         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23491         addresses are in the same scope as 192.0.2/24.
23492         * posix/gai.conf: Document new scope table defaults.
23494 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23496         [BZ #5298]
23497         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23498         for ftell.  Compute offsets from write pointers instead.
23499         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23501 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23503         [BZ #14543]
23504         * libio/Makefile (tests): New test case tst-fseek.
23505         * libio/tst-fseek.c: New test case to verify that fseek/ftell
23506         combination works in wide mode.
23507         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23508         state when the external buffer state changes.
23510 2012-09-27  David S. Miller  <davem@davemloft.net>
23512         [BZ #14376]
23513         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23514         pass reloc->r_addend in as the 'high' argument to
23515         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23519 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
23521         * rt/tst-aio2.c: Include <pthread.h>.
23522         * rt/tst-aio3.c: Likewise.
23524 2012-09-27  Steve Ellcey  <sellcey@mips.com>
23526         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23528 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
23530         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23531         contents on [SHARED].
23533 2012-09-26  Marek Polacek  <polacek@redhat.com>
23535         [BZ #14530]
23536         [BZ #13741]
23537         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23538         for C++ and GCC <4.3 as well as for non GCC compilers.
23540 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
23542         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23544 2012-09-25  Roland McGrath  <roland@hack.frob.com>
23546         * Makefile.in (all, install): Declare with .PHONY.
23547         Reported by Michael Hope <michael.hope@linaro.org>.
23549 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23551         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23552         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23553         system header.
23554         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23555         Likewise.
23556         (sydep_routines): Add the new and the internal functions.
23557         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23558         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23560         (GLIBC_2.17): Add the new function.
23561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23562         (GLIBC_2.17): Likewise.
23563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23564         (GLIBC_2.17): Likewise.
23565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23566         (GLIBC_2.17): Likewise.
23567         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23569 2012-09-25  Alan Modra  <amodra@gmail.com>
23571         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23572         Add release barrier before setting once_control to say
23573         initialisation is done.  Add hints on lwarx.  Use macro in
23574         place of isync.
23575         (clear_once_control): Add release barrier.
23577 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
23579         [BZ #13629]
23580         * math/s_clog.c (__clog): Handle more values close to |z| = 1
23581         specially.
23582         * math/s_clog10.c (__clog10): Likewise.
23583         * math/s_clog10f.c (__clog10f): Likewise.
23584         * math/s_clog10l.c (__clog10l): Likewise.
23585         * math/s_clogf.c (__clogf): Likewise.
23586         * math/s_clogl.c (__clogl): Likewise.
23587         * math/Makefile (libm-calls): Add x2y2m1.
23588         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23589         (__x2y2m1): Likewise.
23590         (__x2y2m1l): Likewise.
23591         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23592         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23593         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23594         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23595         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23596         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23597         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23598         * sysdeps/i386/fpu/libm-test-ulps: Update.
23599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23601         [BZ #14621]
23602         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23603         int as type of variable DEPTH.
23604         (glob): Use size_t instead of int as type of variables NEWCOUNT
23605         and OLD_PATHC.
23607 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23609         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23610         Add s_sincosf-sse2.
23611         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23612         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23613         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23614         macros for using routine as __sincosf_ia32.
23615         Use macro for function declaration and weak_alias.
23616         * sysdeps/i386/fpu/libm-test-ulps: Update.
23618         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23619         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23621         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23622         subnormal argument.
23623         * math/s_cexpf.c (__cexpf): Likewise.
23624         * math/s_csinf.c (__csinf): Likewise.
23625         * math/s_csinhf.c (__csinhf): Likewise.
23626         * math/s_ctanf.c (__ctanf): Likewise.
23627         * math/s_ctanhf.c (__ctanhf): Likewise.
23628         * math/s_ccosh.c (__ccoshf): Likewise.
23629         * math/s_cexp.c (__cexpl): Likewise.
23630         * math/s_csin.c (__csin): Likewise.
23631         * math/s_csinh.c (__csinh): Likewise.
23632         * math/s_ctan.c (__ctan): Likewise.
23633         * math/s_ctanh.c (ctanh): Likewise.
23634         * math/s_ccoshl.c (__ccoshl): Likewise.
23635         * math/s_cexpl.c (__cexpl): Likewise.
23636         * math/s_csinl.c (__csinl): Likewise.
23637         * math/s_csinhl.c (__csinhl): Likewise.
23638         * math/s_ctanl.c (__ctanl): Likewise.
23639         * math/s_ctanhl.c (__ctanhl): Likewise.
23641 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
23643         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23644         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23645         (_IO_off_t): Define to __off_t, not _G_off_t.
23646         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23647         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23648         (_IO_wint_t): Define to wint_t, not _G_wint_t.
23649         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23650         type of __dummy and __dummy2 fields.
23651         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23652         (_G_ssize_t): Likewise.
23653         (_G_off_t): Likewise.
23654         (_G_pid_t): Likewise.
23655         (_G_uid_t): Likewise.
23656         (_G_wchar_t): Likewise.
23657         (_G_wint_t): Likewise.
23658         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23659         (_G_ssize_t): Likewise.
23660         (_G_off_t): Likewise.
23661         (_G_pid_t): Likewise.
23662         (_G_uid_t): Likewise.
23663         (_G_wchar_t): Likewise.
23664         (_G_wint_t): Likewise.
23665         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23666         (_G_ssize_t): Likewise.
23667         (_G_off_t): Likewise.
23668         (_G_pid_t): Likewise.
23669         (_G_uid_t): Likewise.
23670         (_G_wchar_t): Likewise.
23671         (_G_wint_t): Likewise.
23673 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23675         * malloc/arena.c: Include malloc-sysdep.h.
23676         (shrink_heap): Use check_may_shrink_heap to decide if madvise
23677         is sufficient to shrink the heap or an unmap is needed.
23678         * sysdeps/generic/malloc-sysdep.h: New file.  Define
23679         new function check_may_shrink_heap.
23680         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
23681         new function check_may_shrink_heap.
23683 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23685         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23686         comments.
23688 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
23690         * catgets/test-gencat.sh: Add "set -e".
23691         * elf/tst-pathopt.sh: Likewise.
23692         * grp/tst_fgetgrent.sh: Likewise.
23693         * iconvdata/run-iconv-test.sh: Likewise.
23694         * intl/tst-gettext.sh: Likewise.
23695         * intl/tst-gettext2.sh: Likewise.
23696         * intl/tst-gettext4.sh: Likewise.
23697         * intl/tst-gettext6.sh: Likewise.
23698         * intl/tst-translit.sh: Likewise.
23699         * io/ftwtest-sh: Likewise.
23700         * libio/test-freopen.sh: Likewise.
23701         * malloc/tst-mtrace.sh: Likewise.
23702         * posix/globtest.sh: Likewise.
23703         * posix/tst-getconf.sh: Likewise.
23704         * posix/wordexp-tst.sh: Likewise.
23705         * stdio-common/tst-printf.sh: Likewise.
23706         * stdio-common/tst-unbputc.sh: Likewise.
23707         * stdlib/tst-fmtmsg.sh: Likewise.
23708         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23709         * catgets/Makefile: Do not specify -e option when running
23710         testsuite shell scripts.
23711         * elf/Makefile: Likewise.
23712         * grp/Makefile: Likewise.
23713         * iconvdata/Makefile: Likewise.
23714         * intl/Makefile: Likewise.
23715         * io/Makefile: Likewise.
23716         * libio/Makefile: Likewise.
23717         * malloc/Makefile: Likewise.
23718         * posix/Makefile: Likewise.
23719         * stdio-common/Makefile: Likewise.
23720         * stdlib/Makefile: Likewise.
23721         * sysdeps/x86_64/Makefile: Likewise.
23723         * io/ftwtest-sh: Add copyright header.
23724         * posix/globtest.sh: Likewise.
23725         * posix/tst-getconf.sh: Likewise.
23726         * posix/wordexp-tst.sh: Likewise.
23727         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23729 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
23731         [BZ #13679]
23732         * Makeconfig (+link): Defined as $(+link-static) if
23733         $(build-shared) isn't yes.
23734         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23735         isn't yes.
23736         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23738         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23740         [BZ #14562]
23741         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23742         new chunk size with MALLOC_ALIGN_MASK.
23744 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
23746         [BZ #5044]
23747         * stdio-common/printf_fphex.c: Include <stdbool.h> and
23748         <rounding-mode.h>.
23749         (__printf_fphex): Determine rounding using get_rounding_mode and
23750         round_away.
23751         * stdio-common/tst-printf-round.c (struct hex_test): New
23752         structure.
23753         (hex_tests): New variable.
23754         (test_hex_in_one_mode): New function.
23755         (do_test): Also run tests for hex float output.
23757 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
23759         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23760         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23761         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23762         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23763         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23764         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23765         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23766         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23768 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
23770         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23771         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23772         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23773         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23775 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
23777         [BZ #14579]
23778         * elf/rtld.c (dl_main): Limit the check for self loading to normal
23779         mode only.
23780         * elf/tst-rtld-load-self.sh: New test.
23781         * elf/Makefile: Run it.
23783 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
23785         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23786         (tst-writev-ENV): Remove.
23787         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23789 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
23791         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23793 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
23795         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23796         unconditional.
23797         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23798         Likewise.
23799         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23800         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23801         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23802         Likewise.
23804 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
23806         [BZ #14587]
23807         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23808         * config.make.in (have-cpp-asm-debuginfo): Removed.
23809         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23810         * configure: Regenerated.
23812 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
23814         [BZ #5044]
23815         * stdio-common/printf_fp.c: Include <stdbool.h> and
23816         <rounding-mode.h>.
23817         (___printf_fp): Determine rounding using get_rounding_mode and
23818         round_away.
23819         * stdio-common/tst-printf-round.c: New file.
23820         * stdio-common/Makefile (tests): Add tst-printf-round.
23821         (link-libm): New variable.
23822         ($(objpfx)tst-printf-round): Depend in $(link-libm).
23824 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
23826         [BZ #14576]
23827         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23828         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23829         Likewise.
23830         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23831         Likewise.
23833 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
23835         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23836         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23837         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23838         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23840 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
23842         [BZ #14518]
23843         * include/rounding-mode.h: New file.
23844         * sysdeps/generic/get-rounding-mode.h: Likewise.
23845         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23846         * stdlib/strtod_l.c: Include <rounding-mode.h>.
23847         (MAX_VALUE): New macro.
23848         (MIN_VALUE): Likewise.
23849         (overflow_value): New function.
23850         (underflow_value): Likewise.
23851         (round_and_return): Use overflow_value and underflow_value to
23852         determine return values in overflow and underflow cases.  Use
23853         round_away to determine rounding depending on rounding mode.
23854         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23855         determine return values in overflow and underflow cases.
23856         * stdlib/tst-strtod-round.c: Include <fenv.h>.
23857         (struct test_results): New structure.
23858         (struct test): Use struct test_results to store expected results
23859         for all rounding modes.
23860         (TEST): Include expected results for all rounding modes.
23861         (test_in_one_mode): New function.
23862         (do_test): Use test_in_one_mode to compute and check results.
23863         Check results for all rounding modes.
23864         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23865         $(link-libm).
23867 2012-12-09  Allan McRae  <allan@archlinux.org>
23869         * sysdeps/i386/fpu/libm-test-ulps: Update
23871 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
23873         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23874         (_G_int32_t): Likewise.
23875         (_G_uint16_t): Likewise.
23876         (_G_uint32_t): Likewise.
23877         (_G_HAVE_BOOL): Likewise.
23878         (_G_HAVE_ATEXIT): Likewise.
23879         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23880         (_G_HAVE_IO_FILE_OPEN): Likewise.
23881         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23882         (_G_int32_t): Likewise.
23883         (_G_uint16_t): Likewise.
23884         (_G_uint32_t): Likewise.
23885         (_G_HAVE_BOOL): Likewise.
23886         (_G_HAVE_ATEXIT): Likewise.
23887         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23888         (_G_HAVE_IO_FILE_OPEN): Likewise.
23889         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23890         (_G_int32_t): Likewise.
23891         (_G_uint16_t): Likewise.
23892         (_G_uint32_t): Likewise.
23893         (_G_HAVE_BOOL): Likewise.
23894         (_G_HAVE_ATEXIT): Likewise.
23895         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23896         (_G_HAVE_IO_FILE_OPEN): Likewise.
23898 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
23900         * csu/libc-tls.c: Update copyright years.
23902 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
23904         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23905         [!_G_USING_THUNKS]: Remove conditional code.
23906         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23907         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23909         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23910         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23911         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23912         (_G_VTABLE_LABEL_PREFIX): Likewise.
23913         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23914         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23915         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23916         (_G_VTABLE_LABEL_PREFIX): Likewise.
23917         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23918         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23919         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23920         (_G_VTABLE_LABEL_PREFIX): Likewise.
23921         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23923 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
23925         * libio/Makefile: Include ../Makeconfig before tests.
23926         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23927         only if $(build-shared) is yes.
23929         * iconv/gconv_db.c: Update copyright years.
23931 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23933         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23934         unwind info if defined PIC. Fix special cases description.
23935         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23937         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23938         DP_HI_MASK entry.
23939         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23941 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
23943         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23945         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23946         is NULL.
23948         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23949         (LDLIBS-tst-chk4): This.
23950         (LDFLAGS-tst-chk5): Renamed to ...
23951         (LDLIBS-tst-chk5): This.
23952         (LDFLAGS-tst-chk6): Renamed to ...
23953         (LDLIBS-tst-chk6): This.
23954         (LDFLAGS-tst-lfschk4): Renamed to ...
23955         (LDLIBS-tst-lfschk4): This.
23956         (LDFLAGS-tst-lfschk5): Renamed to ...
23957         (LDLIBS-tst-lfschk5): This.
23958         (LDFLAGS-tst-lfschk6): Renamed to ...
23959         (LDLIBS-tst-lfschk6): This.
23961         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23962         on $(common-objpfx)soversions.mk.
23964 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
23966         [BZ #10014]
23967         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23968         example host name.
23970 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23972         * malloc/arena.c (arena_get_retry): New function that gets
23973         another arena for the caller to try its request on.
23974         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23975         current arena cannot fulfill the request.
23976         (__libc_memalign): Likewise.
23977         (__libc_memalign): Likewise.
23978         (__libc_pvalloc): Likewise.
23979         (__libc_calloc): Likewise.
23981 2012-09-05  John Tobey  <john.tobey@gmail.com>
23983         [BZ #13542]
23984         * manual/arith.texi (Operations on Complex): Fix description
23985         of carg branch cut.
23987 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
23989         [BZ #10014]
23990         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23991         host name.
23993         [BZ #10038]
23994         * manual/memory.texi (Memory): Make order of menu items match
23995         order of sections.
23997 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
23999         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24000         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
24001         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24003 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24005         * csu/libc-tls.c (static_dtv): Renamed to ...
24006         (_dl_static_dtv): This.  Make it global.
24007         (_dl_initial_dtv): Removed.
24008         (__libc_setup_tls): Updated.
24009         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24010         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24011         DL_INITIAL_DTV.
24013 2012-09-06  Petr Machata  <pmachata@redhat.com>
24015         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24016         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24017         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24018         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24020 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24022         [BZ #14545]
24023         * csu/libc-tls.c (_dl_initial_dtv): New variable.
24024         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24025         freeing dtv[-1].
24027 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24029         [BZ #14544]
24030         * Makeconfig (link-static-before-libc): Replace $(+prector)
24031         with $(+prectorT).
24032         (link-static-after-libc): Replace $(+postctor) with
24033         $(+postctorT).
24034         (link-bounded): Replace $(+prector)/$(+postctor) with
24035         $(+prectorT)/$(+postctorT).
24036         (+prectorT): New macro.
24037         (+postctorT): Likewise.
24039 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
24041         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24042         (round_str): Handle values above the maximum for IBM long double
24043         as inexact.
24044         * stdlib/tst-strtod-round.c (tests): Regenerated.
24046 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24048         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24049         assembler flag.
24050         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24051         zarch_nohighgprs around the zarch optimized routines.
24052         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24053         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24054         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24055         for zarch.
24057 2012-09-05  David S. Miller  <davem@davemloft.net>
24059         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24061         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
24062         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24063         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24064         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24065         entries.
24067 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24069         * malloc/arena.c: Fold copyright years.
24070         * malloc/mcheck.c, malloc/memusage.c: Likewise.
24072 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24074         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24076 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24078         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
24080 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24082         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24083         change internal state upon failure.
24085 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24087         * malloc/mcheck.c (mcheck_check_all): Fix typo.
24088         * malloc/memusage.c (mmap): Likewise.
24089         (mmap64, mremap): Likewise.  Adjust name in comment.
24091 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24093         * libio/fileops.c: Fix typos in comments.
24094         * libio/oldfileops.c: Likewise.
24095         * libio/wfileops.c: Likewise.
24097 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24099         [BZ #1349]
24100         * malloc/Makefile (tests): Add tst-malloc-usable test case.
24101         (tst-malloc-usable-ENV): Set environment for test case.
24102         * malloc/hooks.c (malloc_check_get_size): New function to get
24103         requested size.
24104         * malloc/malloc.c (musable): Use malloc_check_get_size.
24105         * malloc/tst-malloc-usable.c: New test case.
24107 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
24109         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24111 2012-09-05  Allan McRae  <allan@archlinux.org>
24113         [BZ #13966]
24114         * configure.in (CXX_SYSINCLUDES): Use compiler output to
24115         determine header location.
24116         * configure: Regenerated.
24118 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
24120         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24121         float format.
24122         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24123         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24124         format.
24125         (test): Regenerate.
24127 2012-09-04  David S. Miller  <davem@davemloft.net>
24129         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24130         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24131         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24133 2012-09-04  Florian Weimer  <fweimer@redhat.com>
24135         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24136         failures.
24138         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24140 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
24142         [BZ #9914]
24143         * libio/iogetdelim.c: Include <limits.h>.
24144         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24145         + len + 1 would overflow.
24147 2012-09-03  Andreas Jaeger  <aj@suse.de>
24149         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24150         * sysdeps/i386/fpu/libm-test-ulps: Update.
24152 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24154         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24155         Add s_sinf-sse2, s_conf-sse2.
24157         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24158         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24159         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24160         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24162         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24163         for using routine as __sinf_ia32.
24164         Use macro for function declaration and weak_alias.
24165         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24166         for using routine as __cosf_ia32.
24167         Use macro for function declaration and weak_alias.
24169         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24170         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24172         * sysdeps/x86_64/fpu/s_sinf.S: New file.
24173         * sysdeps/x86_64/fpu/s_cosf.S: New file.
24174         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24176         * math/libm-test.inc (cos_test): Add more test cases.
24177         (sin_test): Likewise.
24178         (sincos_test): Likewise.
24180 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24182         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24183         (IFUNC_RESOLVE): Make pointers to the specialized implementations
24184         hidden.
24185         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24187 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
24189         [BZ #14538]
24190         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24191         first element of the GOT.
24192         (elf_machine_load_address): Return the difference between
24193         the runtime address of _DYNAMIC and elf_machine_dynamic ().
24195 2012-09-01  Allan McRae  <allan@archlinux.org>
24197         [BZ #13412]
24198         * configure.in (AWK): Require gawk version 3.0 or later.
24199         * configure: Regenerated.
24201 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
24203         * sysdeps/unix/sysv/linux/kernel-features.h
24204         (__ASSUME_POSIX_CPU_TIMERS): Remove.
24205         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24206         [__NR_clock_getres]: Make code unconditional.
24207         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24208         (clock_getcpuclockid): Remove code left unreachable by removal of
24209         conditionals.
24210         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24211         code unconditional.
24212         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24213         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24214         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24215         Make code unconditional.
24216         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24217         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24218         * sysdeps/unix/sysv/linux/clock_settime.c
24219         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24220         conditional code.
24221         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24222         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24224 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
24226         [BZ #14476]
24227         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24228         scripts/test-installation.pl.
24230         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24231         and $ld_so_version if it is set.
24233 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24235         [BZ #14516]
24236         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24237         failure if reading from procfs failed.
24238         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24240 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
24242         * sysdeps/unix/sysv/linux/kernel-features.h
24243         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24244         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24245         Remove conditional code.
24246         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24247         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24248         Remove conditional code.
24249         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24250         * sysdeps/unix/sysv/linux/i386/fxstat.c
24251         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24252         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24253         * sysdeps/unix/sysv/linux/i386/fxstatat.c
24254         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24255         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24256         * sysdeps/unix/sysv/linux/i386/lxstat.c
24257         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24258         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24259         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24260         Remove conditional code.
24261         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24262         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24263         Remove conditional code.
24264         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24265         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24266         <kernel-features.h>.
24267         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24268         Remove.
24269         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24270         Remove conditional code.
24271         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24272         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24273         Remove conditional.
24275 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
24277         [BZ #5400]
24278         * NEWS: Add fixed bug number.
24280 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
24282         [BZ #14519]
24283         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24284         underflowing exponent in case of negative sign.
24285         * stdlib/tst-strtod-round-data: Add more tests.
24286         * stdlib/tst-strtod-round.c (tests): Regenerated.
24288         [BZ #3479]
24289         * stdlib/strtod_l.c (NDIG): Remove.
24290         (HEXNDIG): Likewise.
24291         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24292         smallest representable value.
24293         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24294         lie within an exact representation of 1/2 ulp of the result.
24295         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24296         unconditionally.
24297         (TENS_P9_IDX): Define unconditionally.
24298         (TENS_P9_SIZE): Likewise.
24299         (TENS_P10_IDX): Likewise.
24300         (TENS_P10_SIZE): Likewise.
24301         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24302         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24303         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24304         entries for 10^2^13 and 10^2^14.
24305         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24306         (TENS_P13_IDX): Define.
24307         (TENS_P13_SIZE): Likewise.
24308         (TENS_P14_IDX): Likewise.
24309         (TENS_P14_SIZE): Likewise.
24310         (_fpioconst_pow10): Change array size to
24311         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
24312         unconditional.
24313         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24314         1024]: Add entries for 10^2^13 and 10^2^14.
24315         [LAST_POW10 > _LAST_POW10]: Remove #error.
24316         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24317         (_fpioconst_pow10): Change array size to
24318         FPIOCONST_POW10_ARRAY_SIZE.
24319         * stdlib/gen-fpioconst.c: New file.
24320         * stdlib/gen-tst-strtod-round.c: Likewise.
24321         * stdlib/tst-strtod-round-data: Likewise.
24322         * stdlib/tst-strtod-round.c: Likewise.
24323         * stdlib/Makefile (tests): Add tst-strtod-round.
24325         [BZ #14459]
24326         * stdlib/strtod_l.c: Include <stdint.h>.
24327         (NDEBUG): Do not define.
24328         (round_and_return): Change EXPONENT parameter to type intmax_t.
24329         Rearrange calculations to avoid internal overflow possibilities.
24330         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24331         Rearrange calculations to avoid internal overflow possibilities.
24332         Assert that number fits inside MPNSIZE limbs.
24333         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24334         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
24335         calculations and add assertions to avoid internal overflow
24336         possibilities.  Add casts to avoid signed/unsigned operations.
24337         * stdlib/tst-strtod-overflow.c: New file.
24338         * stdlib/Makefile (tests): Add tst-strtod-overflow.
24340 2012-08-25  Marek Polacek  <polacek@redhat.com>
24342         * time/time.h: Fix some typos in comments.
24344 2012-08-23  Roland McGrath  <roland@hack.frob.com>
24346         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24347         * posix/tst-rfc3484-2.c: Likewise.
24348         * posix/tst-rfc3484-3.c: Likewise.
24350 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
24352         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24353         (EF_ARM_ABI_FLOAT_HARD): Likewise.
24355 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
24357         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24358         #include of fxstatat64.c.
24360 2012-08-22  Roland McGrath  <roland@hack.frob.com>
24362         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24363         * shadow/getspent_r.c: Likewise.
24364         * shadow/getspnam.c: Likewise.
24365         * shadow/getspnam_r.c: Likewise.
24366         * gshadow/getsgent.c: Likewise.
24367         * gshadow/getsgent_r.c: Likewise.
24368         * gshadow/getsgnam.c: Likewise.
24369         * gshadow/getsgnam_r.c: Likewise.
24370         * inet/getnetbyad.c: Likewise.
24371         * inet/getnetbyad_r.c: Likewise.
24372         * inet/getnetbynm.c: Likewise.
24373         * inet/getnetbynm_r.c: Likewise.
24374         * inet/getnetent.c: Likewise.
24375         * inet/getnetent_r.c: Likewise.
24376         * inet/getproto.c: Likewise.
24377         * inet/getproto_r.c: Likewise.
24378         * inet/getprtent.c: Likewise.
24379         * inet/getprtent_r.c: Likewise.
24380         * inet/getprtname.c: Likewise.
24381         * inet/getprtname_r.c: Likewise.
24382         * inet/getrpcbyname.c: Likewise.
24383         * inet/getrpcbyname_r.c: Likewise.
24384         * inet/getrpcbynumber.c: Likewise.
24385         * inet/getrpcbynumber_r.c: Likewise.
24386         * inet/getrpcent.c: Likewise.
24387         * inet/getrpcent_r.c: Likewise.
24388         * inet/getaliasent.c: Likewise.
24389         * inet/getaliasent_r.c: Likewise.
24390         * inet/getaliasname.c: Likewise.
24391         * inet/getaliasname_r.c: Likewise.
24392         * nscd/getgrgid_r.c: Likewise.
24393         * nscd/getgrnam_r.c: Likewise.
24394         * nscd/gethstbyad_r.c: Likewise.
24395         * nscd/gethstbynm3_r.c: Likewise.
24396         * nscd/getpwnam_r.c: Likewise.
24397         * nscd/getpwuid_r.c: Likewise.
24398         * nscd/getsrvbynm_r.c: Likewise.
24399         * nscd/getsrvbypt_r.c: Likewise.
24400         * nscd/gai.c: Likewise.
24402         * configure.in (build_nscd): New substituted variable, set
24403         by --disable-build-nscd and defaults to $use_nscd.
24404         * configure: Regenerated.
24405         * config.make.in (build-nscd): New substituted variable.
24406         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24407         Change conditional to require [$(build-nscd) = yes] as well.
24408         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24410         [BZ# 13696]
24411         * configure.in (use_nscd): New substituted variable, set by
24412         --disable-nscd.  If enabled, define USE_NSCD.
24413         * configure: Regenerated.
24414         * config.h.in: Add USE_NSCD.
24415         * config.make.in (use-nscd): New substituted variable.
24416         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24417         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24418         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24419         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24420         (CFLAGS-getgrnam_r.c): Likewise.
24421         (CFLAGS-initgroups.c): Likewise.
24422         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24423         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24424         Variables removed.
24425         * inet/getnetgrent_r.c
24426         (nscd_setnetgrent): New function, broken out of ...
24427         (setnetgrent): ... here.  Call it.
24428         (innetgr): Conditionalize nscd bits on [USE_NSCD].
24429         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24430         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24431         * nscd/Makefile (routines, aux): Move definitions after include of
24432         Makeconfig.  Conditionalize on [$(use-nscd) != no].
24433         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24434         Conditionalize on [USE_NSCD].
24435         (is_nscd, nscd_init_cb): Likewise.
24436         (nss_load_library): Conditionalize init callback on [USE_NSCD].
24437         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24438         * nss/nss_db/db-init.c: Likewise.
24439         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24440         [USE_NSCD].
24441         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24442         (make_request): Use it.
24443         (cache_valid_p): New function.
24444         (__check_pf): Use it.
24445         * NEWS: Add item for --disable-nscd.
24447 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
24449         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24450         to support sed >= 4.2.1-20-ga9bf076.
24451         * configure: Regenerated.
24453 2012-08-22  Roland McGrath  <roland@hack.frob.com>
24455         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24456         Conditionalize whole body on [IREL].
24458 2012-08-22  Jeff Law <law@redhat.com>
24460         [BZ #14505]
24461         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24462         if the family is PF_UNSPEC.
24464 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
24466         * Makerules (lib-version): Rename from V.
24467         (install-lib-nosubdir): Change V to lib-version.
24469 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
24471         [BZ #14252]
24472         * powerpc32/power6/wcschr.c: New file.
24473         * powerpc32/power6/wcscpy.c: New file.
24474         * powerpc32/power6/wcsrchr.c: New file.
24475         * powerpc64/power6/wcschr.c: New file.
24476         * powerpc64/power6/wcscpy.c: New file.
24477         * powerpc64/power6/wcsrchr.c: New file.
24479 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
24481         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24482         (two_way_short_needle): Use it.
24483         * string/strstr.c (AVAILABLE1_USES_J): Define.
24484         * string/strcasestr.c: Likewise.
24486         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24487         array references.
24488         * string/strcasestr.c (TOLOWER): Make side-effect safe.
24490         [BZ #11607]
24491         * NEWS: Add an entry.
24492         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24493         define their defaults.
24494         (two_way_short_needle): Detect end-of-string on-the-fly.
24495         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24496         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24497         * string/bug-strcasestr1.c: New test.
24498         * string/Makefile: Run it.
24500 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
24502         [BZ #11607]
24503         * string/str-two-way.h (two_way_short_needle): Optimize matching of
24504         the first character.
24506 2012-08-21  Roland McGrath  <roland@hack.frob.com>
24508         * csu/elf-init.c (__libc_csu_irel): Function removed.
24509         * csu/libc-start.c (apply_irel): New function.
24510         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24512 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
24514         * sysdeps/unix/sysv/linux/kernel-features.h
24515         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24516         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24517         <kernel-features.h>.
24518         [__NR_fadvise64_64]: Make code unconditional.
24519         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24520         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24521         !__NR_fadvise64_64)]: Likewise.
24522         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24523         !__NR_fadvise64_64))]: Likewise.
24524         [__NR_fadvise64]: Make code unconditional.
24525         [!__NR_fadvise64]: Remove conditional code.
24526         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24527         <kernel-features.h>.
24528         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24529         unconditional.
24530         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24531         conditional code.
24532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24533         not include <kernel-features.h>.
24534         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24535         unconditional.
24536         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24537         conditional code.
24538         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24539         include <kernel-features.h>.
24540         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24541         unconditional.
24542         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24543         conditional code.
24545 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
24547         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24548         slight instruction rearrangements per scrollpipe analysis.
24549         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24551 2012-08-20  Roland McGrath  <roland@hack.frob.com>
24553         * manual/syslog.texi (syslog; vsyslog, closelog):
24554         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24555         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24557         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24558         DSOCAPS to match condition on defining it.
24560 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
24562         * sysdeps/unix/sysv/linux/kernel-features.h
24563         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24565         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24566         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24568         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24569         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24571         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24572         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24574         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24575         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24577         * sysdeps/unix/sysv/linux/kernel-features.h
24578         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24579         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24580         unconditional.
24581         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24582         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24583         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24584         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24585         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24586         Make code unconditional.
24587         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24588         (__mmap64) [!__NR_mmap2]: Likewise.
24589         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24590         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24591         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24592         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24593         [__NR_mmap2]: Make code unconditional.
24594         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24595         (__mmap64) [!__NR_mmap2]: Likewise.
24597 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24599         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24601 2012-08-18  Andreas Jaeger  <aj@suse.de>
24603         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24605 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
24607         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24608         * include/unistd.h (__have_sock_cloexec): Likewise.
24609         (__have_pipe2): Likewise.
24610         (__have_dup3): Likewise.
24612 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
24614         [BZ #9685]
24615         * include/unistd.h (__have_pipe2): Change define into an extern int.
24616         (__have_dup3): Likewise.
24617         * socket/have_sock_cloexec.c: Include fcntl.h.
24618         (__have_pipe2): New variable.
24619         (__have_dup3): Likewise.
24621 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
24623         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24625 2012-08-17  Marek Polacek  <polacek@redhat.com>
24627         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24628         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24630 2012-08-17  Roland McGrath  <roland@hack.frob.com>
24632         * configure.in: Add AC_SUBST for sysheaders.
24633         * configure: Regenerated.
24634         * config.make.in (sysheaders): New substituted variable.
24636         * sysdeps/unix/mkfifo.c: Moved ...
24637         * sysdeps/posix/mkfifo.c: ... here.
24638         * sysdeps/unix/mkfifoat.c: Moved ...
24639         * sysdeps/posix/mkfifoat.c: ... here.
24641         * sysdeps/unix/utime.c: Moved ...
24642         * sysdeps/posix/utime.c: ... here.
24644         * sysdeps/unix/time.c: Moved ...
24645         * sysdeps/posix/time.c: ... here.
24646         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24647         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24649         * sysdeps/unix/nice.c: Moved ...
24650         * sysdeps/posix/nice.c: ... here.
24652         * sysdeps/unix/alarm.c: Moved ...
24653         * sysdeps/posix/alarm.c: ... here.
24655         * intl/Makefile ($(codeset_mo)): Depend on the input file.
24657 2012-08-17  Jeff Law <law@redhat.com>
24659         * intl/Makefile (codeset_mo): New variable.
24660         ($(codeset_mo)): New target.
24661         (tst-codeset.out): Depend on that.  Remove explicit rule.
24662         (tst-gettext3.out, tst-gettext5.out): Likewise.
24663         (LOCPATH-ENV, tst-codeset-ENV): New variables.
24664         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24665         * intl/tst-codeset.sh: Remove.
24666         * intl/tst-gettext3.sh: Likewise.
24667         * intl/tst-gettext5.sh: Likewise.
24669 2012-08-17  Roland McGrath  <roland@hack.frob.com>
24671         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
24672         * sysdeps/unix/syscalls.list: ... here.
24674         * sysdeps/posix/getaddrinfo.c
24675         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24676         (gaiconf_init, gaiconf_reload): Use them.
24677         [!_STATBUF_ST_NSEC]
24678         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24679         Define using time_t rather than struct timespec.
24681         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24682         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24683         Macros removed.
24684         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24685         [!NO_THREADS].
24686         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24687         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24688         Likewise.
24690         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24691         __libc_cleanup_push argument.
24693         * bits/param.h: New file.
24694         * misc/sys/param.h: New file.
24695         * include/sys/param.h: New file.
24696         * misc/Makefile (headers): Add bits/param.h.
24697         * sysdeps/generic/sys/param.h: File removed.
24698         * sysdeps/unix/sysv/linux/bits/param.h: New file.
24699         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24700         * sysdeps/mach/hurd/bits/param.h: New file.
24701         * sysdeps/mach/hurd/sys/param.h: File removed.
24703         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24704         last change.
24706         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24707         [_IO_MTSAFE_IO].
24708         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24709         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24710         New macros.
24712         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24713         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24714         rather than -D_IO_MTSAFE_IO conditionally.
24715         * stdio-common/Makefile (CPPFLAGS): Likewise.
24716         * wcsmbs/Makefile (CPPFLAGS): Likewise.
24717         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24718         Use $(libio-mtsafe).
24719         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24720         of -D_IO_MTSAFE_IO.
24721         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24722         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24723         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24724         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24725         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24726         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24727         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24728         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24729         (CFLAGS-fread_u_chk.c): Likewise.
24730         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24731         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24732         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24733         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24734         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24735         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24736         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24737         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24738         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24740         * libio/Makefile: Test [$(libc-reentrant) = yes]
24741         instead of [$(filter %REENTRANT, $(defines)) nonempty].
24743         * Makeconfig
24744         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24745         * sysdeps/pthread/configure: File removed.
24746         * sysdeps/pthread/Makeconfig: New file.
24747         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24748         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24750 2012-08-16  Gary Benson  <gbenson@redhat.com>
24752         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24753         unmapping the first object in a namespace.
24755 2012-08-16  Roland McGrath  <roland@hack.frob.com>
24757         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24758         (__internal_setnetgrent): ... this.  Add internal_function to
24759         definition.  Add libc_hidden_def.
24760         (setnetgrent): Update caller.
24761         (internal_endnetgrent): Renamed to ...
24762         (__internal_endnetgrent): ... this.  Add internal_function to
24763         definition.  Add libc_hidden_def.
24764         (endnetgrent): Update caller.
24765         (internal_getnetgrent_r): Renamed to ...
24766         (__internal_getnetgrent_r): ... this.  Add internal_function to
24767         definition.  Add libc_hidden_def.
24768         (__getnetgrent_r): Update caller.
24769         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
24771 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
24773         * stdlib/longlong.h: Update from GCC.
24775 2012-08-16  Roland McGrath  <roland@hack.frob.com>
24777         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24778         on _QL, which is set by umul_ppmm but never used.
24779         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24780         variables, which are set by GMP macros but never used.
24781         * stdio-common/_itowa.c (_itowa): Likewise.
24782         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24783         * stdlib/mod_1.c (mpn_mod_1): Likewise.
24785 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
24787         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24788         struct La_sh_regs is not constant.
24789         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24790         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24791         and struct La_sparc64_regs are not constant.
24793 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
24795         * sysdeps/unix/sysv/linux/kernel-features.h
24796         (__ASSUME_POSIX_TIMERS): Remove.
24797         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24798         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24799         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24800         Make code unconditional.
24801         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24802         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24803         Make code unconditional.
24804         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24805         * sysdeps/unix/sysv/linux/clock_nanosleep.c
24806         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24807         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24808         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24809         Make code unconditional.
24810         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24811         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24812         (__libc_missing_posix_timers): Remove.
24814 2012-08-15  Roland McGrath  <roland@hack.frob.com>
24816         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24817         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24819         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24821         * elf/dl-sym.c: Include <stdlib.h>.
24823         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24824         constants, which avoids warnings in 32-bit builds.
24826         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24827         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24829         * misc/lseek.c: File moved to ...
24830         * io/lseek.c: ... here.
24832         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24834         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24835         shifting LEN more than 31 bits at once.
24837 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24839         [BZ #14195]
24840         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24841         segmentation fault for a case of two empty input strings.
24842         * string/test-strncasecmp.c (check1): Renamed to...
24843         (bz12205): ...this.
24844         (bz14195): Add new testcase for two empty input strings and N > 0.
24845         (test_main): Call new testcase, adapt for renamed function.
24847 2012-08-15  Andreas Jaeger  <aj@suse.de>
24849         [BZ #14090]
24850         * crypt/md5test2.c: New test, based on test supplied by Serge
24851         Belyshev <belyshev@depni.sinp.msu.ru>.
24852         * crypt/Makefile (xtests): Add md5test-giant..
24853         * crypt/Makefile ($(objpfx)md5test-giant): Add.
24855 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
24857         [BZ #14090]
24858         * crypt/md5.c (md5_process_block): Don't assume the buffer
24859         length is less than 2**32.
24860         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24861         length is less than 2**64.
24863 2012-08-15  Roland McGrath  <roland@hack.frob.com>
24865         * string/str-two-way.h: Include <sys/param.h>.
24866         (MAX): Macro removed.
24868         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24869         Move #define and #undef of memmove to just before and after
24870         including <string.h>.
24872         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24873         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24874         and after including <string.h>.  Move declarations of
24875         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24876         to before #include "string/memmove.c".
24878         * include/dirent.h: Declare __getdirentries.
24880         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24881         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24883 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
24885         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24886         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24887         * sysdeps/i386/configure: Regenerated.
24888         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24889         STABS_CURRENT_FILE, and STABS_FUN.
24890         (END): Remove call to STABS_FUN_END.
24891         (STABS_CURRENT_FILE1): Delete.
24892         (STABS_CURRENT_FILE): Likewise.
24893         (STABS_FUN): Likewise.
24894         (STABS_FUN_END): Likewise.
24895         (STABS_FUN2): Likewise.
24896         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24897         * sysdeps/x86_64/configure: Regenerated.
24899 2012-08-14  Roland McGrath  <roland@hack.frob.com>
24901         * elf/dl-open.c: Include <atomic.h>.
24902         * elf/dl-lookup.c: Likewise.
24904 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
24906         * sysdeps/unix/sysv/linux/kernel-features.h
24907         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24908         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24909         unconditionally.
24910         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24911         unconditionally.
24912         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24913         condition on __ASSUME_CLONE_THREAD_FLAGS.
24915 2012-08-14  Andreas Jaeger  <aj@suse.de>
24917         * sysdeps/i386/fpu/libm-test-ulps: Update.
24919 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
24921         * include/atomic.h (atomic_exchange_and_add): Split into ...
24922         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24923         New atomic macros.
24925 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
24927         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24929 2012-08-13  Jeff Law <law@redhat.com>
24931         * manual/stdio.texi (snprintf): Clarify handling of the trailing
24932         null byte in the output string.
24934 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
24936         * sysdeps/unix/sysv/linux/kernel-features.h
24937         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24938         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24939         (__ASSUME_ARG_MAX_STACK_BASED): Define.
24940         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24941         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24942         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
24943         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24945 2012-08-09  Jeff Law <law@redhat.com>
24947         [BZ #13939]
24948         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24949         When avoid_arena is set, don't retry in the that arena.  Pick the
24950         next one, whatever it might be.
24951         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24952         (arena_lock): Pass in new parameter to arena_get2.
24953         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24954         arena_get2.
24955         (__libc_malloc): Unify retrying after main arena failure with
24956         __libc_memalign version.
24957         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24959 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
24961         [BZ #14166]
24962         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24963         to __redirect_strstr.
24964         (__strstr_sse42): Use typeof __redirect_strstr.
24965         (__strstr_ia32): Likewise.
24966         (__libc_strstr): New prototype.
24967         (strstr): Renamed to ...
24968         (__libc_strstr): This.
24969         (strstr): New strong alias of __libc_strstr.
24970         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24971         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24972         __redirect_time.
24973         Include <time.h>.
24974         (__libc_time): New prototype.
24975         (time_ifunc): Replace time with __libc_time.
24976         (time): New strong alias and hidden definition of __libc_time.
24977         (__GI_time): Remove strong alias.
24978         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24979         Include <stddef.h>.
24980         (memmove): Redefined to __redirect_memmove.
24981         (__memmove_sse2): Use typeof __redirect_memmove.
24982         (__memmove_ssse3): Likewise.
24983         (__memmove_ssse3_back): Likewise.
24984         (__libc_memmove): New prototype.
24985         (memmove): Renamed to ...
24986         (__libc_memmove): This.
24987         (memmove): New strong alias of __libc_memmove.
24989 2012-08-08  Mark Salter  <msalter@redhat.com>
24991         * elf/elf.h
24992         (R_MN10300_TLS_GD): Define.
24993         (R_MN10300_TLS_LD): Likewise.
24994         (R_MN10300_TLS_LDO): Likewise.
24995         (R_MN10300_TLS_GOTIE): Likewise.
24996         (R_MN10300_TLS_IE): Likewise.
24997         (R_MN10300_TLS_LE): Likewise.
24998         (R_MN10300_TLS_DTPMOD): Likewise.
24999         (R_MN10300_TLS_DTPOFF): Likewise.
25000         (R_MN10300_TLS_TPOFF): Likewise.
25001         (R_MN10300_SYM_DIFF): Likewise.
25002         (R_MN10300_ALIGN): Likewise.
25003         (R_MN10300_NUM): Update.
25005 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
25007         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25008         Remove.
25010 2012-08-08  Roland McGrath  <roland@hack.frob.com>
25012         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25014         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25015         sysdeps/unix -> sysdeps/posix move.
25016         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25018 2012-08-07      Allan McRae     <allan@archlinux.org>
25020         [BZ #14303]
25021         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25022         (SUNOS_CPP): Likewise.
25023         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25024         not found.
25025         (open_input): Call CPP using execvp.
25027 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
25029         * sysdeps/unix/sysv/linux/kernel-features.h
25030         (__ASSUME_PROT_GROWSUPDOWN): Remove.
25031         (__ASSUME_NO_CLONE_DETACHED): Likewise.
25032         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25033         (__ASSUME_WAITID_SYSCALL): Likewise.
25034         * sysdeps/unix/sysv/linux/dl-execstack.c
25035         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25036         code unconditional.
25037         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25038         conditional code.
25039         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25040         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25041         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25042         code.
25043         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25044         unconditional.
25045         [__ASSUME_WAITID_SYSCALL]: Likewise.
25046         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25048 2012-08-07  Roland McGrath  <roland@hack.frob.com>
25050         * sysdeps/unix/closedir.c: Renamed to ...
25051         * sysdeps/posix/closedir.c: ... here.
25052         * sysdeps/unix/dirfd.c: Renamed to ...
25053         * sysdeps/posix/dirfd.c: ... here.
25054         * sysdeps/unix/dirstream.h: Renamed to ...
25055         * sysdeps/posix/dirstream.h: ... here.
25056         * sysdeps/unix/fdopendir.c: Renamed to ...
25057         * sysdeps/posix/fdopendir.c: ... here.
25058         * sysdeps/unix/opendir.c: Renamed to ...
25059         * sysdeps/posix/opendir.c: ... here.
25060         * sysdeps/unix/readdir.c: Renamed to ...
25061         * sysdeps/posix/readdir.c: ... here.
25062         * sysdeps/unix/readdir_r.c: Renamed to ...
25063         * sysdeps/posix/readdir_r.c: ... here.
25064         * sysdeps/unix/rewinddir.c: Renamed to ...
25065         * sysdeps/posix/rewinddir.c: ... here.
25066         * sysdeps/unix/seekdir.c: Renamed to ...
25067         * sysdeps/posix/seekdir.c: ... here.
25068         * sysdeps/unix/telldir.c: Renamed to ...
25069         * sysdeps/posix/telldir.c: ... here.
25070         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25071         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25072         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25073         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25075         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25076         * bits/fcntl.h: ... here.
25078         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25079         not 0.
25080         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25081         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25082         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25083         (struct flock): Move l_start, l_len to the beginning.
25084         Use __pid_t for l_pid.
25085         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25086         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25087         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25088         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25089         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25090         [__USE_LARGEFILE64] (struct flock64): New type.
25091         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25093         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25094         * bits/dirent.h: ... here.
25096         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25097         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25099 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
25101         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25102         Change from 2.6.0 to 2.6.16.
25103         * sysdeps/unix/sysv/linux/configure: Regenerated.
25104         * sysdeps/unix/sysv/linux/kernel-features.h
25105         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25106         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25107         version.
25108         (__ASSUME_UTIMES): Likewise.
25109         (__ASSUME_CLONE_STOPPED): Remove.
25110         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25111         architectures, not kernel version.
25112         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25113         (__ASSUME_NO_CLONE_DETACHED): Likewise.
25114         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25115         (__ASSUME_WAITID_SYSCALL): Likewise.
25116         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25117         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25118         * README: State 2.6.16 as minimum Linux kernel version.  Do not
25119         refer to older versions.
25121 2012-08-06  Roland McGrath  <roland@hack.frob.com>
25123         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25124         Define alphasort64 as an alias.
25125         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25126         Define versionsort64 as an alias.
25127         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25128         Define scandir64 as an alias.
25129         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25130         Define scandirat64 as an alias.
25131         * dirent/alphasort64.c (alphasort64):
25132         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25133         * dirent/versionsort64.c: Likewise.
25134         * dirent/scandir64.c: Likewise.
25135         * dirent/scandirat64.c: Likewise.
25136         * sysdeps/wordsize-64/alphasort.c: File removed.
25137         * sysdeps/wordsize-64/alphasort64.c: File removed.
25138         * sysdeps/wordsize-64/scandir.c: File removed.
25139         * sysdeps/wordsize-64/scandir64.c: File removed.
25140         * sysdeps/wordsize-64/scandirat.c: File removed.
25141         * sysdeps/wordsize-64/scandirat64.c: File removed.
25142         * sysdeps/wordsize-64/versionsort.c: File removed.
25143         * sysdeps/wordsize-64/versionsort64.c: File removed.
25144         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25145         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25146         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25147         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25148         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25149         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25150         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25151         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25153         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25154         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25155         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25156         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25157         [defined __arch64__ || defined __sparcv9]
25158         (__INO_T_MATCHES_INO64_T): New macro.
25159         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25160         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25161         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25162         * sysdeps/unix/sysv/linux/bits/dirent.h
25163         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25164         (_DIRENT_MATCHES_DIRENT64): New macro.
25166         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25167         Define lockf64 as an alias.
25168         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25169         Define fseeko64 as an alias.
25170         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25171         Define ftello64 as an alias.
25172         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25173         Define _IO_fgetpos64 and fgetpos64 as aliases.
25174         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25175         Define _IO_fsetpos64 and fsetpos64 as aliases.
25176         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25177         Conditionalize body on this.
25178         * libio/fseeko64.c: Likewise.
25179         * libio/ftello64.c: Likewise.
25180         * libio/iofgetpos64.c: Likewise.
25181         * libio/iofsetpos64.c: Likewise.
25182         * sysdeps/wordsize-64/lockf.c: File removed.
25183         * sysdeps/wordsize-64/lockf64.c: File removed.
25184         * sysdeps/wordsize-64/fseeko.c: File removed.
25185         * sysdeps/wordsize-64/fseeko64.c: File removed.
25186         * sysdeps/wordsize-64/ftello.c: File removed.
25187         * sysdeps/wordsize-64/ftello64.c: File removed.
25188         * sysdeps/wordsize-64/iofgetpos.c: File removed.
25189         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25190         * sysdeps/wordsize-64/iofsetpos.c: File removed.
25191         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25192         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25193         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25194         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25195         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25196         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25197         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25198         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25199         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25200         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25201         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25203         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25204         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25205         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25206         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25207         [defined __arch64__ || defined __sparcv9]
25208         (__OFF_T_MATCHES_OFF64_T): New macro.
25209         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25210         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25211         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25212         (__OFF_T_MATCHES_OFF64_T): New macro.
25214 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
25216         * stdlib/secure-getenv.c (__secure_getenv): Replace
25217         GLIBC_2_16 with GLIBC_2_17.
25219 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
25221         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25222         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25224 2012-08-03  David S. Miller  <davem@davemloft.net>
25226         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25228 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
25230         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25231         Remove.
25232         (__ASSUME_CORRECT_SI_PID): Likewise.
25233         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25234         (__ASSUME_TMPFS_NAME): Likewise.
25235         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25236         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25237         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25238         (HAVE_AUX_SECURE): Make definition unconditional.
25239         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25240         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25242 2012-08-03  Roland McGrath  <roland@hack.frob.com>
25244         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25245         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25246         * sysdeps/mach/hurd/eloop-threshold.h: New file.
25247         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25248         __eloop_threshold instead of SYMLOOP_MAX.
25250         * sysdeps/generic/eloop-threshold.h: New file.
25251         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25252         of MAXSYMLINKS.
25253         * elf/chroot_canon.c (chroot_canon): Likewise.
25255 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
25257         [BZ #13717]
25258         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25259         Change to 2.6.0 everywhere.
25260         * sysdeps/unix/sysv/linux/configure: Regenerated.
25261         * sysdeps/unix/sysv/linux/kernel-features.h
25262         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25263         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25264         kernel versions.
25265         (__ASSUME_POSIX_TIMERS): Define unconditionally.
25266         (__ASSUME_FUTEX_REQUEUE): Remove.
25267         (__ASSUME_STATFS64): Define unconditionally.
25268         (__ASSUME_AT_SECURE): Likewise.
25269         (__ASSUME_CORRECT_SI_PID): Likewise.
25270         (__ASSUME_TGKILL): Define without depending on kernel version for
25271         i386.
25272         (__ASSUME_UTIMES): Likewise.
25273         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25274         kernel version.
25275         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25276         (__ASSUME_TMPFS_NAME): Likewise.
25277         * README: Update reference to Linux kernel versions.
25279 2012-08-02  Marek Polacek  <polacek@redhat.com>
25281         [BZ# 14150]
25282         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
25283         libc_cv_asm_type_prefix with %.
25284         * configure: Regenerated.
25285         * include/libc-symbols.h: Remove comment about
25286         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25287         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25288         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25289         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25290         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25291         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25292         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25293         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25294         * elf/tst-unique2mod1.c: Likewise.
25295         * elf/tst-unique1mod2.c: Likewise.
25296         * elf/tst-unique1mod1.c: Likewise.
25297         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25298         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25299         Replace ASM_TYPE_DIRECTIVE with .type.
25300         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25301         * sysdeps/i386/sysdep.h: Likewise.
25302         * sysdeps/x86_64/sysdep.h: Likewise.
25303         * sysdeps/sh/sysdep.h: Likewise.
25304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25305         Do not define ASM_TYPE_DIRECTIVE.
25306         * sysdeps/powerpc/sysdep.h: Likewise.
25307         * sysdeps/powerpc/powerpc32/sysdep.h:
25308         Replace ASM_TYPE_DIRECTIVE with .type.
25309         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25310         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25311         * sysdeps/i386/fpu/e_powf.S: Likewise.
25312         * sysdeps/i386/fpu/e_expl.S: Likewise.
25313         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25314         * sysdeps/i386/fpu/e_acosh.S: Likewise.
25315         * sysdeps/i386/fpu/e_pow.S: Likewise.
25316         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25317         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25318         * sysdeps/i386/fpu/s_expm1.S: Likewise.
25319         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25320         * sysdeps/i386/fpu/e_log2.S: Likewise.
25321         * sysdeps/i386/fpu/e_log2l.S: Likewise.
25322         * sysdeps/i386/fpu/e_scalb.S: Likewise.
25323         * sysdeps/i386/fpu/e_powl.S: Likewise.
25324         * sysdeps/i386/fpu/e_log10f.S: Likewise.
25325         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25326         * sysdeps/i386/fpu/e_logl.S: Likewise.
25327         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25328         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25329         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25330         * sysdeps/i386/fpu/e_log2f.S: Likewise.
25331         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25332         * sysdeps/i386/fpu/e_log.S: Likewise.
25333         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25334         * sysdeps/i386/fpu/e_logf.S: Likewise.
25335         * sysdeps/i386/fpu/e_log10l.S: Likewise.
25336         * sysdeps/i386/fpu/e_atanh.S: Likewise.
25337         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25338         * sysdeps/i386/fpu/e_log10.S: Likewise.
25339         * sysdeps/i386/fpu/s_frexp.S: Likewise.
25340         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25341         * sysdeps/i386/fpu/s_asinh.S: Likewise.
25342         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25343         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25344         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25345         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25346         * sysdeps/i386/i686/strtok.S: Likewise.
25347         * sysdeps/i386/i386-mcount.S: Likewise.
25348         * sysdeps/i386/strtok.S: Likewise.
25349         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25350         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25351         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25352         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25353         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25354         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25355         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25356         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25357         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25358         * sysdeps/x86_64/_mcount.S: Likewise.
25359         * sysdeps/x86_64/strtok.S: Likewise.
25360         * sysdeps/sh/_mcount.S: Likewise.
25362 2012-08-01  Roland McGrath  <roland@hack.frob.com>
25364         * libio/iofopen.c: Include <fcntl.h>.
25365         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25366         (_IO_fopen64, fopen64): Define as aliases.
25367         * libio/iofopen64.c: Include <fcntl.h>.
25368         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25369         Conditionalize body on this.
25370         * sysdeps/wordsize-64/iofopen.c: File removed.
25371         * sysdeps/wordsize-64/iofopen64.c: File removed.
25373 2012-08-01  Marek Polacek  <polacek@redhat.com>
25375         * libc/Makeconfig: Use elf in place of binfmt-subdir.
25376         Use dlfcn directly instead of a variable.
25377         (binfmt-subdir): Do not define.
25378         (dlfcn): Likewise.
25380 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
25382         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25383         Remove all definitions.
25384         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25385         <kernel-features.h>.
25386         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25387         (miss_F_GETOWN_EX): Remove all definitions.
25388         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25389         macro definition.
25390         [!__ASSUME_FCNTL64]: Remove conditional code.
25391         [__ASSUME_FCNTL64]: Make code unconditional.
25392         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25393         <kernel-features.h>.
25394         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25395         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25396         (lockf64) [__NR_fcntl64]: Make code unconditional.
25397         (lockf64) [__ASSUME_FCNTL64]: Likewise.
25399         * sysdeps/unix/sysv/linux/kernel-features.h
25400         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25401         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25402         Make code unconditional.
25403         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25404         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25406         [__NR_vfork]: Make code unconditional.
25407         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25408         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25410         [__NR_vfork]: Make code unconditional.
25411         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25412         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25414 2012-08-01  Roland McGrath  <roland@hack.frob.com>
25416         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25417         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25419         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25420         Define mkstemp64 as an alias.
25421         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25422         Define mkstemps64 as an alias.
25423         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25424         Define mkostemp64 as an alias.
25425         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25426         Define mkostemps64 as an alias.
25427         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25428         Conditionalize body on this.
25429         * misc/mkostemp64.c: Likewise.
25430         * misc/mkostemps64.c: Likewise.
25431         * misc/mkstemps64.c: Likewise.
25432         * sysdeps/wordsize-64/mkstemp64.c: File removed.
25433         * sysdeps/wordsize-64/mkostemp64.c: File removed.
25434         * sysdeps/wordsize-64/mkostemp.c: File removed.
25435         * sysdeps/wordsize-64/mkstemp.c: File removed.
25436         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25437         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25438         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25439         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25441         [BZ #14138]
25442         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25443         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25444         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25445         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25447         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25448         compat_symbol macros from <shlib-compat.h> rather than the underlying
25449         default_symbol_version and symbol_version macros, so that DEFAULT
25450         lines in shlib-versions are respected.
25451         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25453 2012-08-01  Florian Weimer  <fweimer@redhat.com>
25455         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25456         Declare with warn_unused_result.
25457         (setgid, setregid, setegid, setresgid): Likewise.
25458         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25459         Likewise.
25460         * WUR-REPORT: Remove set*id functions.
25462 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
25464         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25466 2012-07-31  Roland McGrath  <roland@hack.frob.com>
25468         [BZ #10191]
25469         * include/sys/socket.h (__libc_accept, __libc_accept4):
25470         Add attribute_hidden.
25471         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25473         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25474         use of PTR_MANGLE.
25475         * inet/getnetgrent_r.c (setup): Likewise.
25477         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25479 2012-07-31  David S. Miller  <davem@davemloft.net>
25481         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25483 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
25485         [BZ #13629]
25486         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25487         value between 1.0 and 2.0 and smaller part has absolute value less
25488         than 1.0.
25489         * math/s_clog10.c (__clog10): Likewise.
25490         * math/s_clog10f.c (__clog10f): Likewise.
25491         * math/s_clog10l.c (__clog10l): Likewise.
25492         * math/s_clogf.c (__clogf): Likewise.
25493         * math/s_clogl.c (__clogl): Likewise.
25494         * math/libm-test.inc (clog_test): Add more tests.
25495         (clog10_test): Likewise.
25496         * sysdeps/i386/fpu/libm-test-ulps: Update.
25497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25499 2012-07-31  Florian Weimer  <fweimer@redhat.com>
25501         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25502         Exit with zero in case no suitable GID is found, and write a
25503         message to standard error.
25505 2012-07-30  Roland McGrath  <roland@hack.frob.com>
25507         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25508         rather than to 1.
25509         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25510         (MAXPATHLEN): Removed.
25511         (NOGROUP, NODEV): New macros.
25512         (setbit, clrbit, isset, isclr): New macros.
25513         (howmany, roundup, powerof2): New macros.
25514         (DEV_BSIZE): New macro.
25516         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25517         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25519         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25520         definition on [!__NO_LONG_DOUBLE_MATH].
25522         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25523         PTR_MANGLE and PTR_DEMANGLE.
25525         * socket/accept4.c (accept4): Rename to __libc_accept4.
25526         Define accept4 as a weak alias.
25528         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25529         on [_DIRENT_HAVE_D_TYPE].
25530         * io/ftw.c (ftw_dir): Likewise.
25532         * io/xmknod.c (__xmknod): Don't check PATH for being null.
25534         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25536         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25537         Use the BSD numbers rather than the arbitrary ones we had.
25538         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25539         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25540         (SIGXCPU, SIGXFSZ): New macros.
25541         (_NSIG): Now 32.
25543         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25544         initializer on [_LIBC_REENTRANT].
25546         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25547         definitions inside [_POSIX_MAPPED_FILES].
25549         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25551         * dirent/opendir.c: Include <fcntl.h>.
25553         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25554         (__libc_getspecific): Likewise.
25555         (__libc_key_create): Likewise.
25557         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25558         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25559         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25560         (tmpfile64): Define as alias.
25561         * sysdeps/wordsize-64/tmpfile.c: File removed.
25562         * sysdeps/wordsize-64/tmpfile64.c: File removed.
25563         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25564         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25566         * stdio-common/vfscanf.c: Include <stdbool.h>.
25567         * nss/makedb.c: Likewise.
25568         * stdio-common/_i18n_number.h: Likewise.
25569         * argp/argp-help.c: Likewise.
25570         * posix/wordexp.c: Likewise.
25571         * sysdeps/posix/spawni.c: Likewise.
25572         * nss/nss_files/files-initgroups.c: Likewise.
25573         * stdio-common/reg-modifier.c: Include <stdlib.h>.
25574         * nss/nss_files/files-initgroups.c: Likewise.
25575         * nss/nss_db/db-netgrp.c: Likewise.
25576         * nss/nss_db/db-initgroups.c: Likewise.
25577         * io/fchmodat.c: Include <sys/stat.h>.
25579         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25580         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25582         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25583         [HAVE_MMAP].
25585         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25586         Add multiple inclusion protection.
25588 2012-07-27  David S. Miller  <davem@davemloft.net>
25590         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25592 2012-07-27  Gary Benson  <gbenson@redhat.com>
25594         [BZ #14298]
25595         * elf/rtld.c: Include <stap-probe.h>.
25596         (dl_main): Added static probes "init_start" and "init_complete".
25597         * elf/dl-load.c: Include <stap-probe.h>.
25598         (lose): Take new parameter "nsid".
25599         Added static probe "map_failed".
25600         (_dl_map_object_from_fd): Pass namespace id to lose.
25601         Added static probe "map_start".
25602         (open_verify): Pass namespace id to lose.
25603         * elf/dl-open.c: Include <stap-probe.h>.
25604         (dl_open_worker) Added static probes "map_complete", "reloc_start"
25605         and "reloc_complete".
25606         * elf/dl-close.c: Include <stap-probe.h>.
25607         (_dl_close_worker): Added static probes "unmap_start" and
25608         "unmap_complete".
25609         * elf/rtld-debugger-interface.txt: New file documenting the above.
25611 2012-07-26  Roland McGrath  <roland@hack.frob.com>
25613         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25614         rather than a string variable.
25615         * sunrpc/rpc_main.c (h_output): Likewise.
25616         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25618 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
25620         * inet/check_native.c: New file.
25622 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
25624         [BZ #13629]
25625         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25626         if larger part has absolute value 1.0.
25627         * math/s_clog10.c (__clog10): Likewise.
25628         * math/s_clog10f.c (__clog10f): Likewise.
25629         * math/s_clog10l.c (__clog10l): Likewise.
25630         * math/s_clogf.c (__clogf): Likewise.
25631         * math/s_clogl.c (__clogl): Likewise.
25632         * math/libm-test.inc (clog_test): Add more tests.
25633         (clog10_test): Likewise.
25634         * sysdeps/i386/fpu/libm-test-ulps: Update.
25635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25637         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25638         (pltexit): Likewise.
25639         (La_regs): Likewise.
25640         (La_retval): Likewise.
25641         (int_retval): Likewise.
25642         Update #error for removed macros to refer only to definitions in
25643         tst-audit.h.
25644         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25645         macro.
25646         (pltexit): Likewise.
25647         (La_regs): Likewise.
25648         (La_retval): Likewise.
25649         (int_retval): Likewise.
25650         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25651         macro.
25652         (pltexit): Likewise.
25653         (La_regs): Likewise.
25654         (La_retval): Likewise.
25655         (int_retval): Likewise.
25656         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25657         macro.
25658         (pltexit): Likewise.
25659         (La_regs): Likewise.
25660         (La_retval): Likewise.
25661         (int_retval): Likewise.
25662         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25663         macro.
25664         (pltexit): Likewise.
25665         (La_regs): Likewise.
25666         (La_retval): Likewise.
25667         (int_retval): Likewise.
25668         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25669         macro.
25670         (pltexit): Likewise.
25671         (La_regs): Likewise.
25672         (La_retval): Likewise.
25673         (int_retval): Likewise.
25674         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25675         macro.
25676         (pltexit): Likewise.
25677         (La_regs): Likewise.
25678         (La_retval): Likewise.
25679         (int_retval): Likewise.
25680         * sysdeps/generic/tst-audit.h: Update comment to refer only to
25681         macro definitions in tst-audit.h.
25682         * sysdeps/i386/tst-audit.h: New file.
25683         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25684         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25685         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25686         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25687         * sysdeps/sh/tst-audit.h: Likewise.
25688         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25689         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25690         * sysdeps/x86_64/tst-audit.h: Likewise.
25692 2012-07-26  Andreas Jaeger  <aj@suse.de>
25694         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25695         ptrace.
25697         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25698         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25699         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25700         PTRACE_O_MASK.
25701         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25702         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25703         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25705         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25706         value.
25708         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25709         _sigsys.
25710         (si_call_addr, si_syscall, si_arch): Define new macro.
25711         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25712         _sigsys.
25713         (si_call_addr, si_syscall, si_arch): Define new marcro.
25714         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25715         _sigsys.
25716         (si_call_addr, si_syscall, si_arch): Define new macro.
25717         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25718         _sigsys.
25719         (si_call_addr, si_syscall, si_arch): Define new macro.
25721 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
25723         [BZ #13717]
25724         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25725         Change to 2.4.21 where previously 2.4.1.
25726         * sysdeps/unix/sysv/linux/configure: Regenerated.
25727         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25728         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25729         Linux kernel version.
25730         (__ASSUME_STD_AUXV): Remove.
25731         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25732         kernel version.
25733         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25734         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25735         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25736         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25737         (__ASSUME_NETLINK_SUPPORT): Likewise.
25738         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25739         (__no_netlink_support): Remove conditional definition.
25740         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25741         Remove.
25742         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25743         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25744         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25745         (if_nameindex_ioctl): Remove.
25746         (if_nameindex_netlink): Do not handle __no_netlink_support.
25747         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25748         code.
25749         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25750         Remove conditional code.
25751         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25752         code.
25753         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25754         unconditional.
25755         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25756         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25757         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25758         Remove.
25759         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25760         [!__ASSUME_STD_AUXV]: Remove conditional code.
25761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25762         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25763         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25765         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25766         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25767         code.
25768         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25770         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25771         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25772         conditional code.
25773         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25775         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25776         code.
25777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25778         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25779         conditional code.
25780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25781         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25782         code unconditional.
25783         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25784         conditional code.
25785         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25786         unconditional.
25787         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25788         conditional code.
25789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25790         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25791         unconditional.
25792         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25793         conditional code.
25794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25795         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25796         code unconditional.
25797         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25798         conditional code.
25799         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25800         unconditional.
25801         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25802         conditional code.
25803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25804         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25805         code unconditional.
25806         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25807         conditional code.
25808         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25809         unconditional.
25810         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25811         conditional code.
25813 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
25815         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25816         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25817         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25818         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25819         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25820         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25821         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25822         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25823         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25824         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25825         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25826         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25827         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25828         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25829         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25830         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25831         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25832         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25833         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25834         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25835         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25836         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25837         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25839 2012-07-25  Florian Weimer  <fweimer@redhat.com>
25841         * Versions.def: Add GLIBC_2.17.
25842         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25843         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25844         Introduce __libc_secure_getenv.
25845         * stdlib/Versions (2.17): Add secure_getenv
25846         (GLIBC_PRIVATE): Add __libc_secure_getenv.
25847         * stdlib/secure-getenv.c: Rename __secure_getenv to
25848         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
25849         symbol __secure_getenv for GLIBC_2.0.
25850         * stdlib/tst-secure-getenv.c: New.
25851         * stdlib/Makefile (tests): Add testcase.
25852         * manual/startup.texi (Environment Access): Document
25853         secure_getenv.
25854         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25855         __libc_secure_getenv.
25856         * inet/ruserpass.c (ruserpass): Likewise.
25857         * malloc/mtrace.c (mtrace): Likewise.
25858         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
25859         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
25860         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25861         * sysdeps/posix/tempname.c: Likewise.  Evaluate
25862         HAVE_SECURE_GETENV.
25863         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
25864         __secure_getenv to __libc_secure_getenv.
25865         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
25866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25867         Likewise.
25868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25869         Likewise.
25870         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25871         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25872         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25873         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25874         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25875         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25876         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25878 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
25880         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25881         (struct La_i86_retval): Likewise.
25882         (struct La_x86_64_regs): Likewise.
25883         (struct La_x86_64_retval): Likewise.
25884         (struct La_x32_regs): Likewise.
25885         (struct La_x32_retval): Likewise.
25886         (struct La_ppc32_regs): Likewise.
25887         (struct La_ppc32_retval): Likewise.
25888         (struct La_ppc64_regs): Likewise.
25889         (struct La_ppc64_retval): Likewise.
25890         (struct La_sh_regs): Likewise.
25891         (struct La_sh_retval): Likewise.
25892         (struct La_s390_32_regs): Likewise.
25893         (struct La_s390_32_retval): Likewise.
25894         (struct La_s390_64_regs): Likewise.
25895         (struct La_s390_64_retval): Likewise.
25896         (struct La_sparc32_regs): Likewise.
25897         (struct La_sparc32_retval): Likewise.
25898         (struct La_sparc64_regs): Likewise.
25899         (struct La_sparc64_retval): Likewise.
25900         (struct audit_ifaces): Remove architecture-specific pltenter and
25901         pltexit members.
25902         * sysdeps/i386/ldsodefs.h: New file.
25903         * sysdeps/powerpc/ldsodefs.h: Likewise.
25904         * sysdeps/s390/ldsodefs.h: Likewise.
25905         * sysdeps/sh/ldsodefs.h: Likewise.
25906         * sysdeps/sparc/ldsodefs.h: Likewise.
25907         * sysdeps/x86_64/ldsodefs.h: Likewise.
25909 2012-07-25  Marek Polacek  <polacek@redhat.com>
25911         [BZ #6808]
25912         * math/libm-test.inc (yn_test): Add another test.
25913         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25914         to ERANGE when the result is +-Inf.
25915         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25916         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25917         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25918         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25920 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
25922         * conform/data/time.h-data (NULL): Use macro-constant.  Require
25923         equal to 0.
25924         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
25925         clock_t.
25926         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
25928 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
25930         * configure.in <sysdeps resolving>: Correct printing
25931         Implies_before.
25932         * configure: Regenerate.
25934 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
25936         * math/w_ilogb.c: Include <limits.h>.
25937         * math/w_ilogbl.c: Likewise.
25939 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
25941         * manual/lang.texi (__va_copy): Document primarily as ISO C99
25942         va_copy.  Document allowing for unavailable va_copy only as
25943         pre-C99 compatibility.
25944         * manual/string.texi (Copying and Concatenation): Use va_copy
25945         instead of __va_copy in concat example.
25947 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
25949         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25950         (__sendto): Use create_address_port.  Initialize APORT and deallocate
25951         it if not null.
25953         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25954         with O_NOLINK passed to __file_name_lookup.
25956         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25957         with O_NOLINK passed to __file_name_lookup.
25959         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25960         negative N or less than NGIDS.
25962         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25963         type to string_t.  Set ERANGE as errno and return it if NAME is not big
25964         enough.  Use memcpy instead of strncpy.
25966 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
25968         * elf/Makefile (check-data): Remove.
25969         (localplt.data): New vpath directive.
25970         ($(objpfx)check-localplt.out): Use localplt.data from vpath
25971         instead of $(check-data).
25972         * scripts/data/localplt-generic.data: Move to ...
25973         * sysdeps/generic/localplt.data: ... here.
25974         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25975         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25976         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25978         ... here.
25979         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25981         ... here.
25982         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25983         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25984         ... here.
25985         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25986         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25987         ... here.
25988         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25990         ... here.
25991         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25992         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25993         ... here.
25995 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25997         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25998         PPC32 and PPC64 files.
25999         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26000         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26002 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26004         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26005         __makecontext_ret to ...
26006         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26007         ... here and call exit if uc_link is NULL.  New file.
26008         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26009         __makecontext_ret.S.
26010         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26011         __makecontext_ret to ...
26012         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26013         ... here and call exit if uc_link is NULL.  New file.
26014         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26015         __makecontext_ret.S.
26017 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26019         * elf/elf.h (R_390_IRELATIVE): New definition.
26020         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26021         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
26022         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26023         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26024         (elf_machine_lazy_rel): Likewise.
26025         * sysdeps/s390/dl-irel.h: New file.
26026         * sysdeps/s390/s390-64/memcpy.S: New asm code.
26027         * sysdeps/s390/s390-64/memset.S: New asm code.
26028         * sysdeps/s390/s390-64/memcmp.S: New asm code.
26029         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26030         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26031         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26032         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26033         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26034         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26035         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26036         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26037         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26038         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26039         * sysdeps/s390/s390-32/memcpy.S: New asm code.
26040         * sysdeps/s390/s390-32/memset.S: New asm code.
26041         * sysdeps/s390/s390-32/memcmp.S: New asm code.
26043 2012-07-17  Marek Polacek  <polacek@redhat.com>
26045         [BZ #14349]
26046         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26047         * sysdeps/s390/s390-64/configure.in: Likewise.
26048         * sysdeps/sparc/configure.in: Likewise.
26049         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26050         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26051         * sysdeps/i386/configure.in: Likewise.
26052         * sysdeps/x86_64/configure.in: Likewise.
26053         * sysdeps/sh/configure.in: Likewise.
26054         * sysdeps/s390/s390-32/configure: Regenerated.
26055         * sysdeps/s390/s390-64/configure: Likewise.
26056         * sysdeps/x86_64/configure: Likewise.
26057         * sysdeps/sh/configure: Likewise.
26058         * sysdeps/powerpc/powerpc64/configure: Likewise.
26059         * sysdeps/powerpc/powerpc32/configure: Likewise.
26060         * sysdeps/sparc/configure: Likwise.
26061         * sysdeps/i386/configure: Likewise.
26063         * elf/dl-open.c: Comment fixes.
26065 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
26067         * Makefile [CXX] (check-data): Remove.
26068         [CXX] (c++-types.data): New vpath directive.
26069         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26070         vpath.  Do not allow for C++ type data being missing.
26071         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26072         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26073         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26074         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26075         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26076         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26077         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26079         ... here.
26080         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26082         ... here.
26083         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26085         ... here.
26086         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26087         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26088         ... here.
26089         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26090         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26091         ... here.
26092         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26093         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26094         ... here.
26095         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26097         ... here.
26098         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26099         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26101         * elf/tls-macros.h (TLS_LE): Move architecture-specific
26102         definitions to architecture-specific files.
26103         (TLS_IE): Likewise.
26104         (TLS_LD): Likewise.
26105         (TLS_GD): Likewise.
26106         * sysdeps/i386/tls-macros.h: New file.
26107         * sysdeps/powerpc/tls-macros.h: Likewise.
26108         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26109         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26110         * sysdeps/sh/tls-macros.h: Likewise.
26111         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26112         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26113         * sysdeps/x86_64/tls-macros.h: Likewise.
26115 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
26117         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26118         zero value for regular exit case.
26120         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26121         (__start_context): Preserve zero value for regular exit case.
26123 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
26124             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26126         * manual/setjmp.texi (setcontext): Clarify normal process
26127         termination when uc_link is the null pointer.
26128         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26129         exit call.
26131 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
26133         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26134         preprocessor.  Test for each exception mask separately.
26136 2012-07-16  Andreas Jaeger  <aj@suse.de>
26138         * po/ru.po: Update from translation team.
26140 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
26142         * conform/data/string.h-data (NULL): Use macro-constant.  Require
26143         equal to 0.
26144         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26145         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26146         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26147         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26148         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26150 2012-07-13  Andreas Jaeger  <aj@suse.de>
26152         * po/fr.po: Update from translation team.
26154 2012-07-12  Marek Polacek  <polacek@redhat.com>
26156         [BZ #14173]
26157         * math/libm-test.inc (yn_test): Add test for BZ #14173.
26158         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26159         loop condition.
26161 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
26163         [BZ #13717]
26164         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26165         Change to 2.4.1 where previously 2.4.0.
26166         * sysdeps/unix/sysv/linux/configure: Regenerated.
26167         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26168         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26169         version.
26170         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26171         (__ASSUME_AT_CLKTCK): Remove.
26172         (__ASSUME_AT_PAGESIZE): Likewise.
26173         (__ASSUME_AT_XID): Likewise.
26174         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26175         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26176         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26177         unconditionally.
26178         (HAVE_AUX_PAGESIZE): Likewise.
26179         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26180         [__ASSUME_AT_CLKTCK]: Make code unconditional.
26181         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26183 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
26185         [BZ #14307]
26186         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26187         the temporary buffer used to invoke __gethostbyname2_r,
26188         __gethostbyaddr_r and gethostbyname4_r to make room for struct
26189         host_data / struct gaih_addrtuple.
26190         * resolv/nss_dns/dns-host.c (global scope): Move definition of
26191         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26192         header file nss/nsswitch.h.
26193         * nss/nsswitch.h (global scope): Add definition of implementation
26194         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26195         resolv/nss_dns/dns-host.c).
26197 2012-07-11  Andreas Jaeger  <aj@suse.de>
26199         * po/fr.po: Update from translation team.
26201         * po/sv.po: Update from translation team
26202         * po/fr.po: Another update from translation team.
26204 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26206         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26207         for subnormals or multiply small sinh result by itself.
26208         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26209         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26211 2012-07-11  David S. Miller  <davem@davemloft.net>
26213         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26215 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
26217         [BZ #14347]
26218         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26219         (INTERNAL_MARK): Shift it here.
26221 2012-07-10  Marek Polacek  <polacek@redhat.com>
26223         [BZ #14151]
26224         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
26225         libc_cv_asm_global_directive with .globl.
26226         * configure: Regenerated.
26227         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26228         with .globl.
26229         * sysdeps/i386/configure: Regenerated.
26230         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26231         with .globl.
26232         * sysdeps/x86_64/configure: Regenerated.
26233         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26234         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26235         * elf/tst-unique2mod2.c: Likewise.
26236         * elf/tst-unique2mod1.c: Likewise.
26237         * elf/tst-unique1mod2.c: Likewise.
26238         * elf/tst-unique1mod1.c: Likewise.
26239         * sysdeps/s390/s390-32/sysdep.h: Likewise.
26240         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26241         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26242         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26243         * sysdeps/mach/sysdep.h: Likewise.
26244         * sysdeps/i386/sysdep.h: Likewise.
26245         * sysdeps/i386/i386-mcount.S: Likewise.
26246         * sysdeps/x86_64/_mcount.S: Likewise.
26247         * sysdeps/x86_64/sysdep.h: Likewise.
26248         * sysdeps/sh/_mcount.S: Likewise.
26249         * sysdeps/sh/sysdep.h: Likewise.
26250         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26251         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26252         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26253         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26254         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26255         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26256         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26257         * locale/localeinfo.h: Likewise.
26258         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26259         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26261 2012-07-09  Roland McGrath  <roland@hack.frob.com>
26263         [BZ #14336]
26264         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26265         system".
26266         * manual/message.texi (The Uniforum approach): Likewise.
26267         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26268         (glibc iconv Implementation): Likewise.
26270 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
26272         [BZ #14337]
26273         * math/s_clog.c (__clog): Avoid scaling a value down where that
26274         could result in underflow.
26275         * math/s_clog10.c (__clog10): Likewise.
26276         * math/s_clog10f.c (__clog10f): Likewise.
26277         * math/s_clog10l.c (__clog10l): Likewise.
26278         * math/s_clogf.c (__clogf): Likewise.
26279         * math/s_clogl.c (__clogl): Likewise.
26280         * math/libm-test.inc (clog_test): Add more tests.
26281         (clog10_test): Likewise.
26282         * sysdeps/i386/fpu/libm-test-ulps: Update.
26283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26285 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
26287         [BZ #14283]
26288         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26289         by 7 not 8 to examine high bit of fractional part.
26291         [BZ #14042]
26292         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26293         for call to __mcount_internal.
26294         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26295         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26296         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26298 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
26300         [BZ #14154]
26301         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26302         approximation for values within 0x1p-13f of an odd multiple of
26303         pi/4.
26304         * math/libm-test.inc (tan_test): Do not allow spurious underflow
26305         exception.  Add more tests.
26306         * sysdeps/i386/fpu/libm-test-ulps: Update.
26308         [BZ #6778]
26309         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26310         inputs and return -1 for them.  Do not check for +Inf in case not
26311         reachable for +Inf.
26312         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26313         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26314         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26315         and return -1 for them.  Do not check for +Inf in case not
26316         reachable for +Inf.
26317         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26318         define.
26319         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26320         and return -1 for them.  Do not check for +Inf in case not
26321         reachable for +Inf.
26322         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
26323         spurious underflow.
26324         * sysdeps/i386/fpu/libm-test-ulps: Update.
26325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26327 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
26329         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26331 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
26333         [BZ #14157]
26334         [BZ #14331]
26335         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26336         could result in spurious underflow.  Scale down values above
26337         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26338         * math/s_csqrtf.c (__csqrtf): Likewise.
26339         * math/s_csqrtl.c (__csqrtl): Likewise.
26340         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
26341         spurious underflow.
26342         * sysdeps/i386/fpu/libm-test-ulps: Update.
26343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26345 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
26347         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26348         xopen-msg.sed.
26349         * catgets/xopen-msg.awk: New file.
26350         * catgets/xopen-msg.sed: Removed.
26352         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26353         po2text.sed.
26354         * intl/po2test.awk: New file.
26355         * intl/po2test.sed: Removed.
26357 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
26359         [BZ #14328]
26360         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26361         or multiply small sinh result by itself.
26362         * math/s_ctanf.c (__ctanf): Likewise.
26363         * math/s_ctanh.c (__ctanh): Likewise.
26364         * math/s_ctanhf.c (__ctanhf): Likewise.
26365         * math/s_ctanhl.c (__ctanhl): Likewise.
26366         * math/s_ctanl.c (__ctanl): Likewise.
26367         * math/libm-test.inc (ctan_test_tonearest): New function.
26368         (ctan_test_towardzero): Likewise.
26369         (ctan_test_downward): Likewise.
26370         (ctan_test_upward): Likewise.
26371         (ctanh_test_tonearest): Likewise.
26372         (ctanh_test_towardzero): Likewise.
26373         (ctanh_test_downward): Likewise.
26374         (ctanh_test_upward): Likewise.
26375         (main): Call these new functions.
26376         * sysdeps/i386/fpu/libm-test-ulps: Update.
26377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26379 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
26381         * .gitignore: Delete /ports entry.
26383 2012-07-03  Andreas Jaeger  <aj@suse.de>
26385         * po/bg.po: Update from translation team.
26386         * po/cs.po: Likewise.
26387         * po/de.po: Likewise.
26388         * po/hr.po: Likewise.
26389         * po/nl.pl: Likewise.
26390         * po/pl.po: Likewise.
26391         * po/vi.po: Likewise.
26393 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
26395         * Makeconfig [!+link] (+link-before-libc): New variable.
26396         [!+link] (+link-after-libc): Likewise.
26397         [!+link] (+link-tests): Likewise.
26398         [!+link] (+link): Define in terms of $(+link-before-libc) and
26399         $(+link-after-libc).
26400         [!+link-static] (+link-static-before-libc): New variable.
26401         [!+link-static] (+link-static-after-libc): Likewise.
26402         [!+link-static] (+link-static-tests): Likewise.
26403         [!+link-static] (+link-static): Define in terms of
26404         $(+link-static-before-libc) and $(+link-static-after-libc).
26405         [build-shared] (link-libc-before-gnulib): New variable.
26406         [build-shared] (link-libc-tests): Likewise.
26407         [build-shared] (link-libc): Define in terms of
26408         $(link-libc-before-gnulib).
26409         [!build-shared] (link-libc-tests): New variable.
26410         (link-libc-static-tests): New variable.
26411         [!gnulib] (gnulib-arch): New variable.
26412         [!gnulib] (gnulib-tests): Likewise.
26413         [!gnulib] (static-gnulib-arch): Likewise.
26414         [!gnulib] (static-gnulib-tests): Likewise.
26415         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
26416         Define with "=" instead of ":=".
26417         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
26418         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
26419         * Rules (binaries-all-notests): New variable.
26420         (binaries-all-tests): Likewise.
26421         (binaries-static-notests): Likewise.
26422         (binaries-static-tests): Likewise.
26423         (binaries-all): Define using $(binaries-all-notests) and
26424         $(binaries-all-tests).
26425         (binaries-static): Define using $(binaries-static-notests) and
26426         $(binaries-static-tests).
26427         (binaries-shared-tests): New variable.
26428         (binaries-shared-notests): Likewise.
26429         (binaries-shared): Remove variable.
26430         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26431         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26432         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26433         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26434         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26435         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26436         * elf/Makefile (sln-modules): New variable.
26437         (extra-objs): Add $(sln-modules:=.o).
26438         (ldconfig-modules): Add static-stubs.
26439         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26440         * elf/static-stubs.c: New file.
26442         [BZ #14283]
26443         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26444         by 7 not 8 to examine high bit of fractional part.  Use volatile
26445         variables when splitting into final array of floats if
26446         __FLT_EVAL_METHOD__ != 0.
26447         * math/libm-test.inc (cos_test): Add another test.
26448         (sin_test): Likewise.
26449         * sysdeps/i386/fpu/libm-test-ulps: Update.
26451         [BZ #14273]
26452         * math/libm-test.inc (cosh_test): Add more tests.
26454         * version.h (RELEASE): Set to "development".
26455         (VERSION): Set to "2.16.90".
26457 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
26459         * NEWS: Update copyright. Remove last-updated date.
26460         Mention math library bug fixes and timezone data changes.
26461         * README: Mention GNU/Hurd, x32, and HPPA support status.
26463 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
26465         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26467 2012-06-27  Andreas Jaeger  <aj@suse.de>
26469         * manual/contrib.texi (Contributors): Add Samuel Thibault.
26471 2012-06-25  Andreas Jaeger  <aj@suse.de>
26473         * sysdeps/s390/fpu/libm-test-ulps: Update.
26475 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
26476             Thomas Schwinge  <thomas@codesourcery.com>
26478         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26479         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26480         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26481         fanotify_mark.
26483 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
26485         * sysdeps/mach/start.c: Remove file.
26486         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26487         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26488         * sysdeps/sh/init-first.c: Likewise.
26490         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26491         registers for frame unwinding purposes, add CFI directives.
26492         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26493         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26494         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26495         Likewise.
26497         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26498         __fortify_fail returning.
26499         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26501         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26502         sysdeps/sh/____longjmp_chk.S.
26503         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26504         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26505         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26506         (gen-as-const-headers): Append sigaltstack-offsets.sym.
26508         * sysdeps/sh/abort-instr.h: New file.
26509         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26510         process in case exit returns.
26512         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26513         initialize the GOT register before use.
26515         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26516         calculation of ARGC > 4.
26518         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26519         meaningful names to some local labels.
26521 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26522             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26524         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26525         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26526         (__arch_compare_and_exchange_val_16_acq): Likewise.
26527         (__arch_compare_and_exchange_val_32_acq): Likewise.
26528         (atomic_exchange_and_add): Fix gUSA sequence.
26529         (atomic_add): Likewise.
26530         (atomic_add_negative): Likewise.
26531         (atomic_add_zero): Likewise.
26532         (atomic_bit_test_set): Likewise.
26534 2012-06-22  Andreas Schwab  <schwab@redhat.com>
26536         [BZ #13579]
26537         * include/link.h (struct link_map): Add l_free_initfini.
26538         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26539         l_initfini.
26540         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26541         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26542         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26543         set.
26545 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
26547         * configure.in: Use AC_LANG_SOURCE.
26548         * configure: Regenerate.
26550 2012-06-22  Roland McGrath  <roland@hack.frob.com>
26552         * configure.in (libc_cv_localstatedir): New substituted variable.
26553         * configure: Regenerated.
26554         * config.make.in (localstatedir): New variable, substituted from
26555         libc_cv_localstatedir.
26556         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26557         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26558         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26559         * sysdeps/gnu/configure: Regenerated.
26561 2012-06-21  Jeff Law  <law@redhat.com>
26563         [BZ #14277]
26564         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26565         free.  Simplify list management for _LIBC case.
26567 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
26569         [BZ #14273]
26570         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26571         Clear sign bit of 64-bit integer value before comparing against
26572         overflow value.
26574         * sysdeps/mach/configure: Regenerated.
26576 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
26578         [BZ #14278]
26579         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26581 2012-06-21  Jeff Law  <law@redhat.com>
26583         [BZ #13882]
26584         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
26585         uint16_t for elements in the "seen" array to avoid char overflows.
26586         * elf/dl-fini.c (_dl_sort_fini): Likewise.
26587         * elf/dl-open.c (dl_open_worker): Likewise.
26589 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
26591         * scripts/list-sources.sh: Scan PORTS for translations.
26592         * po/libc.pot: Regenerated.
26594 2012-06-21  Andreas Jaeger  <aj@suse.de>
26596         [BZ #12194]
26597         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26598         warning.
26599         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26600         * bits/byteswap-16.h (__bswap_16): Likewise.
26601         * bits/byteswap.h (__bswap_constant_16): Likewise.
26603 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
26605         [BZ #14117]
26606         * sysdeps/i386/fpu_control.h: Removed.
26607         * sysdeps/x86_64/fpu_control.h: Moved to ...
26608         * sysdeps/x86/fpu_control.h: Here.
26610         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26611         (_FPU_SETCW): Likewise.
26613 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
26615         [BZ #14117]
26616         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26617         * sysdeps/x86/fpu/bits/mathinline.h: This.
26618         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26620         [BZ #14050]
26621         [BZ #14117]
26622         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26623         functions if __x86_64__ is defined.
26625 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
26627         * string/endian.h: Add !__ASSEMBLER__ condition for including
26628         conversion interfaces.
26630 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
26632         [BZ #14241]
26633         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26634         of ABS(x) in calculating zero to negative powers other than odd
26635         integers.
26636         * math/libm-test.inc (pow_test): Add more tests.
26638 2012-06-15  Andreas Jaeger  <aj@suse.de>
26640         * manual/contrib.texi (Contributors): Update entry of Liubov
26641         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26642         Machado Filho.
26644 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
26646         * string/string.h: Add __wur to GNU version of strerror_r.
26648 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
26650         [BZ #14229]
26651         * string/Makefile (tests): Add tst-strtok_r.
26652         * string/tst-strtok_r.c: New file.
26653         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26654         RAX_LP/RDX_LP on SAVE_PTR.
26656 2012-06-14  Roland McGrath  <roland@hack.frob.com>
26658         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26660 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
26662         * libm_test.inc (csqrt_test): Allow more spurious underflow
26663         exceptions.
26664         (j0_test): Likewise.
26665         (j1_test): Likewise.
26666         (y0_test): Likewise.
26667         (y1_test): Likewise.
26669 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
26671         * po/Makefile (libc.pot): Use UTF-8 charset.
26673 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
26675         [BZ #14210]
26676         Suppress sign-conversion warning from FD_SET.
26677         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26678         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26679         not unsigned long int.
26680         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26682 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
26684         [BZ #14050]
26685         [BZ #14117]
26686         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26687         __extern_always_inline instead of __extern_inline.
26688         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26689         (__signbit): Likewise.
26690         (__signbitl): Support C++ namespace.
26691         (lrintf): New inline function.
26692         (lrint): Likewise.
26693         (llrintf): Likewise.
26694         (llrint): Likewise.
26695         (fmaxf): Likewise.
26696         (fmax): Likewise.
26697         (fminf): Likewise.
26698         (fmin): Likewise.
26699         (rint): Likewise.
26700         (rintf): Likewise.
26701         (ceil): Likewise.
26702         (ceilf): Likewise.
26703         (floor): Likewise.
26704         (floorf): Likewise.
26705         (nearbyint): Likewise.
26706         (nearbyintf): Likewise.
26708 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
26710         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26711         non-default versions.
26713 2012-06-11  Roland McGrath  <roland@hack.frob.com>
26715         [BZ #14218]
26716         * manual/argp.texi (Argp): Reword argp_parse description slightly.
26718 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
26720         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26721         (FE_UPWARD, FE_DOWNWARD): Don't define.
26722         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26723         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26725         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26726         reading it.
26727         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26728         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26730 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26732         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26733         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26734         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26735         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26737 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
26739         [BZ #14117]
26740         * sysdeps/i386/fpu/bits/fenv.h: Removed.
26741         * sysdeps/i386/fpu/Implies: New file.
26742         * sysdeps/x86_64/fpu/Implies: Likewise.
26743         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26744         * sysdeps/x86/fpu/bits/fenv.h: This.
26746         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26747         __SSE_MATH__.
26749 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26751         [BZ #14134]
26752         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26753         character 0xffff that matches the last element of the
26754         conversion table.
26756 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26758         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26759         fmodl commit.
26761 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26763         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26764         values higher than 25.6283.
26766 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26768         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26769         subnormal exponent extraction and add some __builtin_expect.
26770         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26771         Fix for subnormal mantissa calculation.
26773 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
26775         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26776         cpu2 is -1 and errno is not ENOSYS.
26778 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
26780         [BZ #14117]
26781         * sysdeps/i386/i486/bits/string.h: Renamed to ...
26782         * sysdeps/x86/bits/string.h: This.
26783         * sysdeps/x86_64/bits/string.h: Removed.
26785         * sysdeps/i386/i486/bits/string.h: Define inline functions only
26786         if not compiling for x86-64, but compiling for >= i486.
26788         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26789         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26791         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26792         New macro from Linux kernel 3.4.0.
26793         (FP_XSTATE_MAGIC2): Likewise.
26794         (FP_XSTATE_MAGIC2_SIZE): Likewise.
26795         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26796         (struct _fpx_sw_bytes): New struct.
26797         (struct _xsave_hdr): Likewise.
26798         (struct _ymmh_state): Likewise.
26799         (struct _xstate): Likewise.
26801         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26802         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26803         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26804         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26805         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26806         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26808         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26809         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26810         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26811         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26812         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26813         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26815 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26817         [BZ #13743]
26818         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26819         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26820         (sysdep_headers): Include sys/platform/ppc.h.
26821         * sysdeps/powerpc/test-gettimebase.c: Test for
26822         __ppc_get_timebase() to catch future ISA opcode/insn changes.
26823         * manual/Makefile (appendices): Include platform.texi.
26824         * manual/contrib.texi (Contributors): Update @node pointers.
26825         * manual/maint.texi (Maintenance): Likewise.
26826         (Platform): New node.
26827         * manual/platform.texi: New file.  Document the new features.
26829 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26830             Jakub Jelinek  <jakub@redhat.com>
26832         [BZ #14188]
26833         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26834         where __builtin_expect is unavailable.
26836 2012-06-03  David S. Miller  <davem@davemloft.net>
26838         * stdlib/longlong.h: Updated from GCC.
26840 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
26842         [BZ #14042]
26843         * sysdeps/powerpc/powerpc32/mcount.c: New file.
26844         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26845         __mcount_internal.
26846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26847         (GLIBC_2.16): Likewise.
26849 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
26851         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26853 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
26855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26856         (default-abi): New variable.
26857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26858         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26859         variable.
26860         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26861         Likewise.
26862         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26863         Likewise.
26864         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26865         Likewise.
26867         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26868         definition.  Document in comment.
26870 2012-06-01  David S. Miller  <davem@davemloft.net>
26872         * stdlib/longlong.h: Updated from GCC.
26874 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
26876         [BZ #14117]
26877         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26878         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26879         sys/debugreg.h sys/io.h here.
26880         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26881         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26882         sys/io.h.
26883         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26884         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26885         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26886         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26887         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26888         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26890         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26891         Define only if __x86_64__ is defined.
26893 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
26895         [BZ #14048]
26896         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26897         Use int64_t for variable i.
26898         * math/libm-test.inc (fmod_test): Add more tests.
26900         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26901         z computation is not scheduled after fetestexcept.
26902         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26903         Use math_force_eval instead of asm to ensure calculation scheduled
26904         before exception test.
26905         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26906         Ensure a1 + u.d computation is not scheduled after fetestexcept.
26908 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
26910         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26911         computation is not scheduled after fetestexcept.
26913 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
26915         [BZ #14117]
26916         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26917         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26919 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26921         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26922         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26924 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
26926         [BZ #14117]
26927         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26928         <bits/wordsize.h>.
26929         (__WCHAR_MIN): Support __WORDSIZE == 64.
26930         (__WCHAR_MAX): Likewise.
26932         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26933         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26935         [BZ #14183]
26936         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26937         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26939         [BZ #14117]
26940         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26941         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26943         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26944         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26946         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26947         Defined to 1 if __x86_64__ isn't defined.
26948         (_STAT_VER_LINUX_OLD): New.
26949         (st_atime): Remove duplicate.
26950         (st_mtime): Likewise.
26951         (st_ctime): Likewise.
26953 2012-05-31  David S. Miller  <davem@davemloft.net>
26955         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26956         entries.
26958 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
26960         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26961         gen-libm-test.pl.
26963         [BZ #14132]
26964         * elf/dl-reloc.c: Include <_itoa.h>.
26965         (_dl_reloc_bad_type): Remove use of INTUSE.
26966         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26967         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26968         * stdio-common/psiginfo.c (psiginfo): Likewise.
26969         * stdio-common/psignal.c (psignal): Likewise.
26970         * string/strsignal.c (strsignal): Likewise.
26971         * include/signal.h (_sys_siglist): Declare hidden proto.
26972         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
26973         INTVARDEF with libc_hidden_data_def.
26974         * stdio-common/itoa-udigits.c: Likewise.
26975         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26976         (_itoa_lower_digits_internal): Remove declaration.
26977         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26978         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26979         (_sys_sigabbrev_internal): Remove aliases.
26980         (_sys_siglist): Define hidden alias.
26982 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
26984         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26985         bits/sysctl.h.
26987 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
26989         [BZ #14117]
26990         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26991         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26993         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26994         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26995         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26996         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26997         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26998         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27000         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27001         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27002         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27004         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27005         with __addr.
27006         (insw): Likewise.
27007         (insl): Likewise.
27008         (outsb): Likewise.
27009         (outsw): Likewise.
27010         (outsl): Likewise.
27012         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27013         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27014         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27016         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27017         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27018         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27019         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27020         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27021         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27023         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27024         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27026         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27027         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27029         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27030         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27031         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27033         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27034         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27035         to ...
27036         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27038         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27039         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27040         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27042         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27043         for x86-64.
27044         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27046 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
27048         * math/math.h (M_El): Use two more decimal places.
27049         (M_LOG2El): Likewise.
27050         (M_LOG10El): Likewise.
27051         (M_LN2l): Likewise.
27052         (M_LN10l): Likewise.
27053         (M_PIl): Likewise.
27054         (M_PI_2l): Likewise.
27055         (M_PI_4l): Likewise.
27056         (M_1_PIl): Likewise.
27057         (M_2_PIl): Likewise.
27058         (M_2_SQRTPIl): Likewise.
27059         (M_SQRT2l): Likewise.
27060         (M_SQRT1_2l): Likewise.
27062 2012-05-31  David S. Miller  <davem@davemloft.net>
27064         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27065         values between float registers.
27066         * sysdeps/sparc/sparc64/memset.S: Likewise.
27067         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27069 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
27071         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27072         -D_FORTIFY_SOURCE=1.
27073         (CPPFLAGS-tst-longjmp_chk.c): Define.
27074         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27075         (CPPFLAGS-tst-longjmp_chk2.c): Define.
27076         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27077         CFLAGS-tst-wchar-h.c.
27079 2012-05-31  Marek Polacek  <polacek@redhat.com>
27081         [BZ #14132]
27082         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27083         __endmntent_internal): Remove declaration.
27084         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27085         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27086         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27088 2012-05-30  David S. Miller  <davem@davemloft.net>
27090         * sysdeps/sparc/sparc32/soft-fp/q_util.c
27091         (___Q_simulate_exceptions): Use real FP ops rather than writing
27092         into the %fsr.
27093         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27094         Likewise.
27096 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
27098         [BZ #14117]
27099         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27100         * sysdeps/x86/bits/xtitypes.h: This.
27102         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27103         * sysdeps/x86/bits/wordsize.h: This.
27105         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27106         * sysdeps/x86/bits/huge_vall.h: This.
27108         * sysdeps/i386/bits/select.h: Removed.
27109         * sysdeps/x86_64/bits/select.h: Renamed to ...
27110         * sysdeps/x86/bits/select.h: This.
27112         * sysdeps/i386/bits/setjmp.h: Removed.
27113         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27114         * sysdeps/x86/bits/setjmp.h: This.
27116         * sysdeps/i386/bits/mathdef.h: Removed.
27117         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27118         * sysdeps/x86/bits/mathdef.h: This.
27120 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
27122         [BZ #14132]
27123         * include/sys/socket.h (__connect_internal)
27124         (__libc_sa_len_internal): Remove declaration.
27125         (__connect, __libc_sa_len): Declare hidden_proto.
27126         (SA_LEN): Remove use of INTUSE.
27127         * socket/connect.c: Add libc_hidden_def.
27128         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27129         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27130         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27131         alias.
27132         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27133         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27134         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27135         of adding _internal alias.
27137 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
27139         [BZ #14117]
27140         * sysdeps/i386/bits/link.h: Removed.
27141         * sysdeps/i386/bits/linkmap.h: Likewise.
27142         * sysdeps/x86_64/bits/link.h: Renamed to ...
27143         * sysdeps/x86/bits/link.h: This.
27144         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27145         * sysdeps/x86/bits/linkmap.h: This.
27147         * sysdeps/i386/bits/endian.h: Removed.
27148         * sysdeps/x86_64/bits/endian.h: Renamed to ...
27149         * sysdeps/x86/bits/endian.h: This.
27151         * sysdeps/i386/bits/byteswap.h: Removed.
27152         * sysdeps/i386/bits/byteswap-16.h: Likewise.
27153         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27154         * sysdeps/x86/bits/byteswap.h: This.
27155         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27156         * sysdeps/x86/bits/byteswap-16.h: This.
27157         * sysdeps/i386/Implies: Add x86.
27158         * sysdeps/x86_64/Implies: Likewise.
27160 2012-05-30  David S. Miller  <davem@davemloft.net>
27162         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27163         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27164         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27165         (FP_TRAPPING_EXCEPTIONS): Define.
27166         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27167         (FP_TRAPPING_EXCEPTIONS): Define.
27168         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27169         subnormals only when inexact has been signalled or underflow
27170         exceptions are enabled.
27171         (_FP_PACK_CANONICAL): Likewise.
27173 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
27175         [BZ #14183]
27176         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27177         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27179 2012-05-30  Richard Henderson  <rth@twiddle.net>
27181         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27182         with #ifndef NOT_IN_libc.
27184         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
27185         marked to avoid plt entry.
27187 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
27189         [BZ #14112]
27190         * Makeconfig (default-abi): New macro.
27191         (abi-includes): Likewise.
27192         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
27193         $(abi-$(default-abi)-lib-soname) for soname if defined.
27194         ($(common-objpfx)gnu/lib-names.stmp): Generate from
27195         abi-variants.
27196         * Makefile (installed-stubs): Likewise.
27197         * include/stubs-biarch.h: Removed.
27198         * scripts/lib-names.awk: Only handle one library at a time.
27199         * scripts/soversions.awk: Remove WORDSIZE support.
27200         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27201         entries.
27202         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27203         Removed.
27204         (syscall-list-default-condition): Likewise.
27205         (syscall-list-default-condition): Likewise.
27206         (syscall-list-includes): Likewise.
27207         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27208         syscall-list-* with abi-*.  Handle undefined abi-variants.
27209         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27210         * sysdeps/unix/sysv/linux/i386/Implies: New file.
27211         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27212         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27213         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27214         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27215         Removed.
27216         (syscall-list-32-options): Likewise.
27217         (syscall-list-32-condition): Likewise.
27218         (syscall-list-64-options): Likewise.
27219         (syscall-list-64-condition): Likewise.
27220         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27221         macro.
27222         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27223         Renamed to ...
27224         (abi-*): This.
27225         (abi-64-ld-soname): New macro.
27226         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27227         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27228         Renamed to ...
27229         (abi-*): This.
27230         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27231         * sysdeps/x86_64/x32/shlib-versions: Likewise.
27233 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
27235         * sysdeps/unix/sysv/linux/kernel-features.h
27236         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27237         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27238         include <kernel-features.h>.
27239         [!__NR_ftruncate64]: Remove conditional code.
27240         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27241         [__NR_ftruncate64]: Make code unconditional.
27242         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27243         * sysdeps/unix/sysv/linux/truncate64.c: Do not
27244         include <kernel-features.h>.
27245         [!__NR_ftruncate64]: Remove conditional code.
27246         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27247         [__NR_ftruncate64]: Make code unconditional.
27248         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27250         include <kernel-features.h>.
27251         [!__NR_ftruncate64]: Remove conditional code.
27252         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27253         [__NR_ftruncate64]: Make code unconditional.
27254         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27256         include <kernel-features.h>.
27257         [!__NR_ftruncate64]: Remove conditional code.
27258         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27259         [__NR_ftruncate64]: Make code unconditional.
27260         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27262         * configure.in (libc_cv_fpie): Weaken to a compile test using
27263         LIBC_TRY_CC_OPTION.
27264         * configure: Regenerated.
27266 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27270         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27272         Refreshed.
27273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27276         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27279         Refreshed.
27281 2012-05-27  David S. Miller  <davem@davemloft.net>
27283         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27284         (___Q_zero): New.
27285         (__Q_simulate_exceptions): Return void.  Change to simulate
27286         exceptions by writing into the %fsr.
27287         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27288         (__Qp_handle_exceptions): Likewise.
27289         (numbers): Delete.
27290         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27291         __Qp_handle_exceptions.
27292         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27293         __Qp_handle_exceptions.
27294         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27295         as unused and give dummy FP_RND_NEAREST initializer.
27296         (FP_INHIBIT_RESULTS): Define.
27297         (___Q_simulate_exceptions): Update declaration.
27298         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27299         formatting.
27300         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27301         as unused and give dummy FP_RND_NEAREST initializer.
27302         (__Qp_handle_exceptions): Update declaration.
27303         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27304         formatting.
27306 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
27308         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27309         the temporary FPU control word.
27310         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27311         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27312         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27313         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27314         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27315         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27316         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27317         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27318         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27319         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27320         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27322 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27324         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27325         fields.
27327 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
27329         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27330         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27331         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27332         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27333         Likewise.
27334         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27335         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27336         Likewise.
27338 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
27340         * po/h.po: Update from translation team.
27342 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
27344         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27346         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27347         handling of denormals.
27348         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27349         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27350         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27351         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27352         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27353         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27354         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27355         Likewise.
27357 2012-05-26  Marek Polacek  <polacek@redhat.com>
27359         [BZ #14152]
27360         * math/libm-test.inc (fma_test): Don't always expect underflow
27361         exception.
27363 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27365         [BZ #12416]
27366         * elf/tst-execstack.c: Include stackinfo.h.
27367         (do_test): Adjust test case to ensure that pthread_getattr_np
27368         behaviour remains the same after marking stack executable.
27370 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
27372         * sysdeps/unix/sysv/linux/kernel-features.h
27373         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27374         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27375         kernel-features.h.
27376         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27377         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27378         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27379         kernel-features.h.
27380         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27381         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27383 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
27385         * configure.in: Define the default includes to being none.
27386         * configure: Regenerated.
27388 2012-05-25  Roland McGrath  <roland@hack.frob.com>
27390         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27391         * sysdeps/x86_64/setjmp.S: Likewise.
27392         * sysdeps/i386/bsd-setjmp.S: Likewise.
27393         * sysdeps/i386/bsd-_setjmp.S: Likewise.
27394         * sysdeps/i386/setjmp.S: Likewise.
27395         * sysdeps/i386/__longjmp.S: Likewise.
27396         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27397         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27399         * include/stap-probe.h: New file.
27400         * configure.in: Handle --enable-systemtap.
27401         * configure: Regenerated.
27402         * config.h.in (USE_STAP_PROBE): New #undef.
27403         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27404         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27405         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27407 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
27409         [BZ #13717]
27410         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27411         to 2.4.0 where earlier.
27412         * sysdeps/unix/sysv/linux/configure: Regenerated.
27413         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27414         <kernel-features.h>.
27415         [__ASSUME_32BITUIDS]: Make code unconditional.
27416         [!__ASSUME_32BITUIDS]: Remove conditional code.
27417         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27418         <kernel-features.h>.
27419         [__ASSUME_32BITUIDS]: Make code unconditional.
27420         [!__ASSUME_32BITUIDS]: Remove conditional code.
27421         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27422         [__ASSUME_32BITUIDS]: Make code unconditional.
27423         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27424         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27425         <kernel-features.h>.
27426         [__ASSUME_32BITUIDS]: Make code unconditional.
27427         [!__ASSUME_32BITUIDS]: Remove conditional code.
27428         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27429         <kernel-features.h>.
27430         [__ASSUME_32BITUIDS]: Make code unconditional.
27431         [!__ASSUME_32BITUIDS]: Remove conditional code.
27432         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27433         <kernel-features.h>.
27434         [__ASSUME_32BITUIDS]: Make code unconditional.
27435         [!__ASSUME_32BITUIDS]: Remove conditional code.
27436         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27437         <kernel-features.h>.
27438         [__ASSUME_32BITUIDS]: Make code unconditional.
27439         [!__ASSUME_32BITUIDS]: Remove conditional code.
27440         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27441         <kernel-features.h>.
27442         [__ASSUME_32BITUIDS]: Make code unconditional.
27443         [!__ASSUME_32BITUIDS]: Remove conditional code.
27444         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27445         <kernel-features.h>.
27446         [__ASSUME_32BITUIDS]: Make code unconditional.
27447         [!__ASSUME_32BITUIDS]: Remove conditional code.
27448         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27449         <kernel-features.h>.
27450         [__ASSUME_32BITUIDS]: Make code unconditional.
27451         [!__ASSUME_32BITUIDS]: Remove conditional code.
27452         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27453         <kernel-features.h>.
27454         [__ASSUME_32BITUIDS]: Make code unconditional.
27455         [!__ASSUME_32BITUIDS]: Remove conditional code.
27456         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27457         <kernel-features.h>.
27458         [__ASSUME_32BITUIDS]: Make code unconditional.
27459         [!__ASSUME_32BITUIDS]: Remove conditional code.
27460         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27461         <kernel-features.h>.
27462         [__ASSUME_32BITUIDS]: Make code unconditional.
27463         [!__ASSUME_32BITUIDS]: Remove conditional code.
27464         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27465         <kernel-features.h>.
27466         [__NR_setresgid] (__setresgid): Do not declare.
27467         [__ASSUME_32BITUIDS]: Make code unconditional.
27468         [!__ASSUME_32BITUIDS]: Remove conditional code.
27469         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27470         <kernel-features.h>.
27471         [__NR_setresuid] (__setresuid): Do not declare.
27472         [__ASSUME_32BITUIDS]: Make code unconditional.
27473         [!__ASSUME_32BITUIDS]: Remove conditional code.
27474         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27475         <kernel-features.h>.
27476         [__ASSUME_32BITUIDS]: Make code unconditional.
27477         [!__ASSUME_32BITUIDS]: Remove conditional code.
27478         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27479         <kernel-features.h>.
27480         [__ASSUME_32BITUIDS]: Make code unconditional.
27481         [!__ASSUME_32BITUIDS]: Remove conditional code.
27482         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27483         <kernel-features.h>.
27484         [__ASSUME_32BITUIDS]: Make code unconditional.
27485         [!__ASSUME_32BITUIDS]: Remove conditional code.
27486         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27487         <kernel-features.h>.
27488         [__ASSUME_32BITUIDS]: Make code unconditional.
27489         [!__ASSUME_32BITUIDS]: Remove conditional code.
27490         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27491         <kernel-features.h>.
27492         [__ASSUME_32BITUIDS]: Make code unconditional.
27493         [!__ASSUME_32BITUIDS]: Remove conditional code.
27494         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27495         <kernel-features.h>.
27496         [__ASSUME_32BITUIDS]: Make code unconditional.
27497         [!__ASSUME_32BITUIDS]: Remove conditional code.
27498         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27499         <kernel-features.h>.
27500         [__ASSUME_32BITUIDS]: Make code unconditional.
27501         [!__ASSUME_32BITUIDS]: Remove conditional code.
27502         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27503         <kernel-features.h>.
27504         [__ASSUME_32BITUIDS]: Make code unconditional.
27505         [!__ASSUME_32BITUIDS]: Remove conditional code.
27506         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27507         <kernel-features.h>.
27508         [__ASSUME_32BITUIDS]: Make code unconditional.
27509         [!__ASSUME_32BITUIDS]: Remove conditional code.
27510         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27511         <kernel-features.h>.
27512         [__ASSUME_32BITUIDS]: Make code unconditional.
27513         [!__ASSUME_32BITUIDS]: Remove conditional code.
27514         * sysdeps/unix/sysv/linux/kernel-features.h
27515         (__ASSUME_SETRESUID_SYSCALL): Remove.
27516         (__ASSUME_SETRESGID_SYSCALL): Likewise.
27517         (__ASSUME_32BITUIDS): Likewise.
27518         (__ASSUME_LDT_WORKS): Likewise.
27519         (__ASSUME_O_DIRECTORY): Likewise.
27520         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27521         architecture but not kernel version.
27522         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27523         (__ASSUME_MMAP2_SYSCALL): Likewise.
27524         (__ASSUME_STAT64_SYSCALL): Likewise.
27525         (__ASSUME_IPC64): Likewise.
27526         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27527         <kernel-features.h>.
27528         [__ASSUME_32BITUIDS]: Make code unconditional.
27529         [!__ASSUME_32BITUIDS]: Remove conditional code.
27530         * sysdeps/unix/sysv/linux/opendir.c: Do not include
27531         <kernel-features.h>.
27532         [__ASSUME_O_DIRECTORY]: Make code unconditional.
27533         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27534         132096]: Remove conditional code.
27535         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27536         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27537         <kernel-features.h>.
27538         [__ASSUME_32BITUIDS]: Make code unconditional.
27539         [!__ASSUME_32BITUIDS]: Remove conditional code.
27540         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27541         <kernel-features.h>.
27542         [__ASSUME_32BITUIDS]: Make code unconditional.
27543         [!__ASSUME_32BITUIDS]: Remove conditional code.
27544         * sysdeps/unix/sysv/linux/setegid.c: Do not include
27545         <kernel-features.h>.
27546         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27547         unconditional.
27548         (__setresgid): Do not declare.
27549         [__ASSUME_32BITUIDS]: Make code unconditional.
27550         [!__ASSUME_32BITUIDS]: Remove conditional code.
27551         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27552         <kernel-features.h>.
27553         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27554         unconditional.
27555         (__setresuid): Do not declare.
27556         [__ASSUME_32BITUIDS]: Make code unconditional.
27557         [!__ASSUME_32BITUIDS]: Remove conditional code.
27558         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27559         <kernel-features.h>.
27560         [__ASSUME_32BITUIDS]: Make code unconditional.
27561         [!__ASSUME_32BITUIDS]: Remove conditional code.
27562         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27563         <kernel-features.h>.
27564         [__ASSUME_32BITUIDS]: Make code unconditional.
27565         [!__ASSUME_32BITUIDS]: Remove conditional code.
27567 2012-05-25  Richard Henderson  <rth@twiddle.net>
27569         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27570         dl_hwcap to ifunc resolver.
27571         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27572         elf_ifunc_invoke.
27573         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27574         dl_hwcap to ifunc resolver.
27575         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27577 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
27579         [BZ #14153]
27580         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27581         for |x| <= 2**-26, not 2**-57.
27582         * math/libm-test.inc (acos_test): Do not allow spurious underflow
27583         exception.
27585 2012-05-24  Jeff Law  <law@redhat.com>
27587         * stdio-common/Makefile (tests): Add bug25.
27588         * stdio-common/bug25.c: New test.
27590 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
27592         [BZ #13576]
27593         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27594         multiple of MALLOC_ALIGNMENT in size.
27595         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27597 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
27599         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27600         Require >= 256.
27601         (FILENAME_MAX): Use macro-int-constant.
27602         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
27603         (_IOFBF): Use macro-int-constant.
27604         (_IOLBF): Likewise.
27605         (_IONBF): Likewise.
27606         (SEEK_CUR): Likewise.
27607         (SEEK_END): Likewise.
27608         (SEEK_SET): Likewise.
27609         (TMP_MAX): Likewise.
27610         (EOF): Use macro-int-constant.  Require < 0.
27611         (NULL): Use macro-constant.  Require == 0.
27612         (stdin): Require type to be FILE *.
27613         (stdout): Likewise.
27614         (stderr): Likewise.
27615         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27616         macro-int-constant.
27617         (EXIT_SUCCESS): Likewise.
27618         (NULL): Use macro-constant.  Require == 0.
27619         (RAND_MAX): Use macro-int-constant.
27620         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27621         [C99-based standards] (strtof): Require function.
27622         [C99-based standards] (strtold): Likewise.
27623         [C99-based standards] (strtoll): Likewise.
27624         [C99-based standards] (strtoull): Likewise.
27625         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27626         [ISO || ISO99 || ISO11] (limits.h): Likewise.
27627         [ISO || ISO99 || ISO11] (math.h): Likewise.
27628         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27629         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27630         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27632 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
27634         [BZ #14132]
27635         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27636         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27637         * intl/dgettext.c (DCGETTEXT): Likewise.
27638         * intl/gettext.c (DCGETTEXT): Likewise.
27639         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27640         * posix/regex_internal.h (gettext): Likewise.
27641         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27642         Remove declaration.
27643         * include/argz.h (__argz_count_internal)
27644         (__argz_stringify_internal): Remove declaration.
27645         (__argz_count, __argz_stringify): Declare hidden proto.
27646         * intl/dcgettext.c: Remove use of INTDEF.
27647         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27648         * string/argz-stringify.c: Likewise.
27649         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27650         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27651         Declare hidden proto.
27652         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27653         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27654         Declare hidden proto.
27655         * include/stdio.h (__asprintf_internal): Don't declare.
27656         (__asprintf): Don't define as macro.  Declare hidden proto.
27657         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27658         (__fsetlocking): Declare hidden proto.
27659         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27660         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27661         hidden proto.
27662         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27663         (_IO_setlinebuf): Remove use of INTUSE.
27664         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27665         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27666         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27667         Remove declaration.
27668         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27669         (_IO_do_flush): Remove use of INTUSE.
27670         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27671         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27672         (_IO_adjust_column, _IO_least_wmarker)
27673         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27674         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27675         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27676         (_IO_default_doallocate, _IO_wdefault_doallocate)
27677         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27678         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27679         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27680         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27681         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27682         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27683         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27684         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27685         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27686         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27687         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27688         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27689         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27690         proto.
27691         (_IO_flush_all_internal, _IO_adjust_column_internal)
27692         (_IO_default_uflow_internal, _IO_default_finish_internal)
27693         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27694         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27695         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27696         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27697         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27698         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27699         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27700         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27701         (_IO_file_close_internal, _IO_file_close_it_internal)
27702         (_IO_file_underflow_internal, _IO_file_overflow_internal)
27703         (_IO_file_init_internal, _IO_file_attach_internal)
27704         (_IO_file_fopen_internal, _IO_file_read_internal)
27705         (_IO_file_sync_internal, _IO_file_seek_internal)
27706         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27707         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27708         (_IO_str_underflow_internal, _IO_str_overflow_internal)
27709         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27710         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27711         (_IO_list_all_internal, _IO_link_in_internal)
27712         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27713         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27714         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27715         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27716         (_IO_do_write_internal, _IO_padn_internal)
27717         (_IO_getline_info_internal, _IO_getline_internal)
27718         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27719         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27720         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27721         (_IO_vfscanf_internal, _IO_vfprintf_internal)
27722         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27723         (_IO_init_internal, _IO_un_link_internal): Don't declare.
27724         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27725         with libc_hidden_ver, remove use of INTUSE.
27726         * libio/genops.c: Likewise.
27727         * libio/freopen.c: Likewise.
27728         * libio/freopen64.c: Likewise.
27729         * libio/iofclose.c: Likewise.
27730         * libio/iofdopen.c: Likewise.
27731         * libio/iofflush.c: Likewise.
27732         * libio/iofflush_u.c: Likewise.
27733         * libio/iofgets.c: Likewise.
27734         * libio/iofgets_u.c: Likewise.
27735         * libio/iofopen.c: Likewise.
27736         * libio/iofopncook.c: Likewise.
27737         * libio/iofread.c: Likewise.
27738         * libio/iofread_u.c: Likewise.
27739         * libio/ioftell.c: Likewise.
27740         * libio/iofwrite.c: Likewise.
27741         * libio/iogetline.c: Likewise.
27742         * libio/iogets.c: Likewise.
27743         * libio/iogetwline.c: Likewise.
27744         * libio/iopadn.c: Likewise.
27745         * libio/iopopen.c: Likewise.
27746         * libio/ioseekoff.c: Likewise.
27747         * libio/ioseekpos.c: Likewise.
27748         * libio/iosetbuffer.c: Likewise.
27749         * libio/iosetvbuf.c: Likewise.
27750         * libio/ioungetc.c: Likewise.
27751         * libio/ioungetwc.c: Likewise.
27752         * libio/iovdprintf.c: Likewise.
27753         * libio/iovsprintf.c: Likewise.
27754         * libio/iovsscanf.c: Likewise.
27755         * libio/memstream.c: Likewise.
27756         * libio/obprintf.c: Likewise.
27757         * libio/oldfileops.c: Likewise.
27758         * libio/oldiofclose.c: Likewise.
27759         * libio/oldiofdopen.c: Likewise.
27760         * libio/oldiofopen.c: Likewise.
27761         * libio/oldiopopen.c: Likewise.
27762         * libio/oldstdfiles.c: Likewise.
27763         * libio/putc.c: Likewise.
27764         * libio/setbuf.c: Likewise.
27765         * libio/setlinebuf.c: Likewise.
27766         * libio/stdfiles.c: Likewise.
27767         * libio/strops.c: Likewise.
27768         * libio/vasprintf.c: Likewise.
27769         * libio/vscanf.c: Likewise.
27770         * libio/vsnprintf.c: Likewise.
27771         * libio/vswprintf.c: Likewise.
27772         * libio/wfiledoalloc.c: Likewise.
27773         * libio/wfileops.c: Likewise.
27774         * libio/wgenops.c: Likewise.
27775         * libio/wmemstream.c: Likewise.
27776         * libio/wstrops.c: Likewise.
27777         * libio/__fpurge.c: Likewise.
27778         * libio/__fsetlocking.c: Likewise.
27779         * assert/assert.c: Likewise.
27780         * debug/fgets_chk.c: Likewise.
27781         * debug/fgets_u_chk.c: Likewise.
27782         * debug/fread_chk.c: Likewise.
27783         * debug/fread_u_chk.c: Likewise.
27784         * debug/gets_chk.c: Likewise.
27785         * debug/obprintf_chk.c: Likewise.
27786         * debug/vasprintf_chk.c: Likewise.
27787         * debug/vdprintf_chk.c: Likewise.
27788         * debug/vsnprintf_chk.c: Likewise.
27789         * debug/vsprintf_chk.c: Likewise.
27790         * malloc/mtrace.c: Likewise.
27791         * misc/error.c: Likewise.
27792         * misc/syslog.c: Likewise.
27793         * stdio-common/asprintf.c: Likewise.
27794         * stdio-common/fxprintf.c: Likewise.
27795         * stdio-common/getw.c: Likewise.
27796         * stdio-common/isoc99_fscanf.c: Likewise.
27797         * stdio-common/isoc99_scanf.c: Likewise.
27798         * stdio-common/isoc99_vfscanf.c: Likewise.
27799         * stdio-common/isoc99_vscanf.c: Likewise.
27800         * stdio-common/isoc99_vsscanf.c: Likewise.
27801         * stdio-common/printf-prs.c: Likewise.
27802         * stdio-common/printf_fp.c: Likewise.
27803         * stdio-common/printf_fphex.c: Likewise.
27804         * stdio-common/printf_size.c: Likewise.
27805         * stdio-common/putw.c: Likewise.
27806         * stdio-common/scanf.c: Likewise.
27807         * stdio-common/sprintf.c: Likewise.
27808         * stdio-common/tmpfile.c: Likewise.
27809         * stdio-common/vfprintf.c: Likewise.
27810         * stdio-common/vfscanf.c: Likewise.
27811         * stdlib/strfmon_l.c: Likewise.
27812         * sunrpc/openchild.c: Likewise.
27813         * sunrpc/xdr_stdio.c: Likewise.
27814         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27815         * sysdeps/mach/hurd/tmpfile.c: Likewise.
27817 2012-05-24  Roland McGrath  <roland@hack.frob.com>
27819         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27821         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27822         in the third column, to generate for the shared library an IFUNC
27823         that uses _dl_vdso_vsym.
27824         * Makerules (COMPILE.c, compile-stdin.c): New variables.
27825         * Makeconfig (object-suffixes-noshared): New variable.
27827         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27828         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27829         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27830         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27832         [BZ #14132]
27833         * include/sys/time.h (__gettimeofday): Remove macro.
27834         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27835         * time/gettimeofday.c (__gettimeofday): Remove #undef.
27836         Remove INTDEF.
27837         (__gettimeofday): Add libc_hidden_def.
27838         (gettimeofday): Add libc_hidden_weak.
27839         * sysdeps/mach/gettimeofday.c: Likewise.
27840         * sysdeps/posix/gettimeofday.c: Likewise.
27841         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27842         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27843         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27844         (__gettimeofday_internal): Remove strong_alias.
27845         (__gettimeofday): Add libc_hidden_def.
27846         (gettimeofday): Add libc_hidden_weak.
27847         * sysdeps/unix/syscalls.list (gettimeofday):
27848         Remove __gettimeofday_internal alias.
27850 2012-05-24  Daniel Jacobowitz  <drow@false.org>
27851             H.J. Lu  <hongjiu.lu@intel.com>
27853         [BZ #12495]
27854         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27855         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27856         (largebin_index_32_big): New.
27857         (largebin_index): Use it for 16-byte alignment.
27858         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
27859         correction with front_misalign.
27861 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
27863         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27864         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27865         Likewise.
27866         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27867         Likewise.
27868         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27869         Likewise.
27870         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27871         Likewise.
27872         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27873         Likewise.
27874         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27875         Likewise.
27876         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27877         Likewise.
27878         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27879         Likewise.
27880         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27881         Likewise.
27882         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27883         Likewise.
27884         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27885         Likewise.
27886         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27887         Likewise.
27889         * scripts/data/c++-types-x32-linux-gnu.data: New file.
27890         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27892 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
27894         [BZ #10846]
27895         [BZ #14036]
27896         * math/libm-test.inc (exp_test): Add test from bug 14036.
27897         (pow_test): Add test from bug 10846.
27899         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27900         and other flags.
27901         (special_function): Do not include flags in test name.
27902         (parse_args): Likewise.
27903         * sysdeps/i386/fpu/libm-test-ulps: Update.
27904         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27905         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27906         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27909         * math/gen-libm-test.pl (%beautify): Add entries for underflow
27910         exceptions.
27911         * math/libm-test.inc ("Philosophy"): Update comment about
27912         exception testing.
27913         (UNDERFLOW_EXCEPTION): New macro.
27914         (UNDERFLOW_EXCEPTION_OK): Likewise.
27915         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27916         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27917         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27918         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27919         (INVALID_EXCEPTION_OK): Update value.
27920         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27921         (OVERFLOW_EXCEPTION_OK): Likewise.
27922         (IGNORE_ZERO_INF_SIGN): Likewise.
27923         (test_exceptions): Handle underflow exceptions.
27924         (acos_test): Update for underflow exception expectations.
27925         (cexp_test): Likewise.
27926         (clog_test): Likewise.
27927         (clog10_test): Likewise.
27928         (csqrt_test): Likewise.
27929         (ctan_test): Likewise.
27930         (ctanh_test): Likewise.
27931         (exp_test): Likewise.
27932         (exp10_test): Likewise.
27933         (exp2_test): Likewise.
27934         (expm1_test): Likewise.
27935         (fma_test): Likewise.
27936         (j0_test): Likewise.
27937         (jn_test): Likewise.
27938         (nexttoward_test): Likewise.
27939         (pow_test): Likewise.
27940         (scalbn_test): Likewise.
27941         (scalbln_test): Likewise.
27942         (tan_test): Likewise.
27943         (y1_test): Likewise.
27944         * sysdeps/i386/fpu/libm-test-ulps: Update.
27945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27947 2012-05-23  David S. Miller  <davem@davemloft.net>
27949         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27950         (__libc_sigaction): Remove unused local variables.
27952 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
27954         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27956 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
27958         mktime: avoid signed integer overflow
27959         * time/mktime.c (__mktime_internal): Do not mishandle the case
27960         where diff == INT_MIN.
27962         mktime: simplify computation of average
27963         * time/mktime.c (ranged_convert): Use new time_t_avg function
27964         instead of rolling our own (probably-slower) code.
27966         mktime: do not assume signed right shift propagates sign bit
27967         * time/mktime.c (isdst_differ): New static function.
27968         (__mktime_internal): No need to normalize tm_isdst now.
27969         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27970         tm_isdst values.
27972         mktime: merge another wrapv change from gnulib
27973         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27974         from some compilers.
27976         mktime: remove incorrect attempt at unusual arithmetics
27977         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27978         The code didn't really work on such machines anyway.
27979         (TYPE_MINIMUM): Assume two's complement.
27980         (twos_complement_arithmetic): Verify that long_int and time_t
27981         are two's complement (or unsigned, in the latter case).
27983         mktime: check signed shifts on long_int and time_t, too
27984         * time/mktime.c (SHR): Check that shifts work as desired
27985         on the types long_int and time_t too, as SHR is used on
27986         such types.
27988         mktime: do not assume 'long' is wide enough
27989         * time/mktime.c (verify): Move decl up.
27990         (long_int): New type.
27991         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27992         to remove assumption in the code that 'long' is wide enough to
27993         store year values.  This assumption is not true on x32 and on
27994         some non-glibc platforms.
27996         mktime: merge wrapv change from gnulib
27997         * time/mktime.c (WRAPV): New macro.
27998         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27999         (guess_time_tm, __mktime_internal): Do not assume that signed
28000         integer overflow wraps around; modern compilers generate code
28001         where this assumption is no longer valid.
28003 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
28005         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28006         Replace "jmp L(pseudo_end)" with "ret".
28007         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28008         Likewise.
28010 2012-05-23  Andreas Jaeger  <aj@suse.de>
28012         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28013         * sysdeps/unix/sysv/linux/poll.c: Remove file.
28015 2012-05-23  Andreas Jaeger  <aj@suse.de>
28016             Maximilian Attems  <max@stro.at>
28018         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28019         New macros.
28021 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
28023         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28024         code so that pseudo_end is just ret and the stack pointer is
28025         correct also for static library in error case.
28027 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
28029         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28030         move to syscalls.list.
28031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28036         * manual/install.texi (Running make install): Do not mention Linux
28037         kernel version for which pt_chown is not needed.
28038         (Linux): Do not mention problems with nscd with 2.0 kernels.
28039         * INSTALL: Regenerated.
28041 2012-05-23  Andreas Jaeger  <aj@suse.de>
28043         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28044         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28045         macro.
28046         * sysdeps/unix/sysv/linux/s390/bits/mman.h
28047         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28048         * sysdeps/unix/sysv/linux/sh/bits/mman.h
28049         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28050         * sysdeps/unix/sysv/linux/i386/bits/mman.h
28051         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28052         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28053         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28054         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28055         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28056         * sysdeps/unix/sysv/linux/bits/in.h
28057         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28059 2012-05-22  Roland McGrath  <roland@hack.frob.com>
28061         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28062         (PREPARE_VERSION): Just use assert instead, it will be elided
28063         under [NDEBUG] anyway.
28065 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28067         * sysdeps/unix/sysv/linux/Makefile: Include
28068         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28069         (sysdep_routines): Remove sysctl.
28070         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28071         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28072         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28073         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28074         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28076 2012-05-22  Andreas Jaeger  <aj@suse.de>
28078         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28079         that pseudo_end is just ret and the stack pointer is correct also
28080         for static library in error case.
28082 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
28084         [BZ #14122]
28085         * nss/nsswitch.c (defconfig_entries): New variable.
28086         (__nss_database_lookup): Don't leak defconfig entries.
28087         (nss_parse_service_list): Don't leak on error paths.
28088         (free_database_entries): New function.
28089         (free_defconfig): New function.
28090         (free_mem): Move common code to free_database_entries.
28092 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28094         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28095         Add arch_prctl.
28096         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28098         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28099         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28100         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28101         New macro.
28102         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28103         (INTERNAL_SYSCALL_TYPES): Likewise.
28104         (LOAD_ARGS_TYPES_[1-6]): Likewise.
28105         (LOAD_REGS_TYPES_[1-6]): Likewise.
28106         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28107         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28109 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28111         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28112         copysignl for GLIBC_2_0.
28113         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28114         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28115         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28116         logbl for GLIBC_2_0.
28117         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28118         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28120 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28122         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28123         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
28125         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28126         Use "neg %eax".
28128         * time/mktime.c: Update copyright years.
28130 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
28132         mktime: merge comment-quoting-style change from gnulib
28133         * time/mktime.c: Quote 'like this' in comments.
28134         The GNU coding standards suggest that we no longer quote `like this',
28135         as "`" and "'" are typically rendered asymmetrically nowadays.
28136         The typical gnulib style is to quote 'like this' when quoting
28137         code, and "like this" when quoting English.
28139         * time/mktime.c (compile-command): Add "-I.".
28141         mktime: merge mktime-internal.h change from gnulib
28142         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28144         mktime: merge time_r change from gnulib
28145         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28147         mktime: merge DEBUG change from gnulib
28148         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28149         case system <time.h> has a #define.
28151         mktime: merge <sys/types.h> change from gnulib
28152         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28153         since <time.t> is now guaranteed to define time_t.
28155         mktime: merge HAVE_CONFIG_H change from gnulib
28156         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28158 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28160         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28161         Use "neg %eax".
28163         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28164         __rlim_t cast.
28165         (struct rusage): Use anonymous union to pad each field to
28166         __syscall_slong_t.
28168 2012-05-21  David S. Miller  <davem@davemloft.net>
28170         * Makefules (o-iterator): Remove .s cases.
28171         (compile-command.s): Delete.
28172         (COMPILE.s): Delete.
28173         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28175 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
28177         * configure.in (libc_cv_predef_stack_protector): Only consider
28178         "foobar" and "__stack_chk_fail" lines in libc_undefs.
28179         * configure: Regenerated.
28181 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
28183         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28184         New macro.  Use R*LP on int and pointer.
28185         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28186         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28187         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28188         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28190         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28191         [__WORDSIZE_TIME64_COMPAT32] instead of
28192         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28193         (struct utmp): Likewise.
28194         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28195         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28196         Renamed to ...
28197         (__WORDSIZE_TIME64_COMPAT32): This.
28198         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28199         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28200         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28201         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28202         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28203         (__WORDSIZE_TIME64_COMPAT32): New macro.
28205 2012-05-21  Andreas Jaeger  <aj@suse.de>
28207         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28208         only if [SHARED]. Add prototype for __wcschr_ia32.
28210 2012-05-21  Roland McGrath  <roland@hack.frob.com>
28212         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28213         of %rbp unmolested in the jmp_buf while mangling the low bits.
28214         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28215         unmolested high bits of %rbp while demangling the low bits.
28216         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28218 2012-05-21  Andreas Jaeger  <aj@suse.de>
28220         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28221         * sunrpc/svc_simple.c: Use it for registerrpc.
28222         * sunrpc/xcrypt.c: Use it for passwd2des.
28224         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28226 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
28228         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28229         Don't define if [__SYSCALL_WORDSIZE != 32].
28230         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28231         New macro.
28233 2012-05-21  Bruno Haible  <bruno@clisp.org>
28234             Andreas Jaeger  <aj@suse.de>
28236         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28237         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28238         inptr and inend for must_buffer_ch.
28239         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28240         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28241         * stdio-common/Makefile (tests): Remove bug15.
28242         (bug15-ENV): Remove macro.
28243         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28244         anymore.
28246 2012-05-19  Andreas Jaeger  <aj@suse.de>
28247             Roland McGrath  <roland@hack.frob.com>
28249         * manual/contrib.texi: Completely rewritten. It contains now an
28250         alphabetical list of contributors and their contributions.
28252 2012-05-21  Richard Henderson  <rth@twiddle.net>
28254         * misc/getauxval.c (__getauxval): Use unsigned long int.
28255         * misc/sys/auxv.h: Include <sys/cdefs.h>.
28256         (getauxval): Use unsigned long int.
28258 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
28260         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28262 2012-05-21  Roland McGrath  <roland@hack.frob.com>
28264         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28265         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28266         __alignof__ (long double).
28268 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28270         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28272 2012-05-20  Richard Henderson  <rth@twiddle.net>
28274         * misc/getauxval.c: New file.
28275         * misc/sys/auxv.h: New file.
28276         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28277         (routines): Add getauxval.
28278         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28279         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28280         * elf/dl-sysdep.c (_dl_auxv): Remove.
28281         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28282         * elf/dl-support.c (_dl_auxv): New variable.
28283         (_dl_aux_init): Initialize it.
28284         * manual/startup.texi (Auxiliary Vector): New node.
28285         * sysdeps/generic/bits/hwcap.h: New file.
28286         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28287         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
28288         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28289         * sysdeps/sparc/sysdep.h: ... here.  Include it.
28290         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28291         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28293         Update.
28294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28296         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28297         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28298         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28299         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28300         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28301         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28303 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28305         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28307 2012-05-19  David S. Miller  <davem@davemloft.net>
28309         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28311 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
28313         [BZ #14123]
28314         * math/s_ccosh.c: Include <float.h>
28315         (__ccosh): Avoid internal overflow calculating sinh and cosh
28316         values before multiplying by sin and cos values.
28317         * math/s_ccoshf.c: Likewise.
28318         * math/s_ccoshl.c: Likewise.
28319         * math/s_csin.c: Likewise.
28320         * math/s_csinf.c: Likewise.
28321         * math/s_csinl.c: Likewise.
28322         * math/s_csinh.c: Likewise.
28323         * math/s_csinhf.c: Likewise.
28324         * math/s_csinhl.c: Likewise.
28325         * math/libm-test.inc (ccos_test): Add more tests.
28326         (ccosh_test): Likewise.
28327         (csin_test): Likewise.
28328         (csinh_test): Likewise.
28329         * sysdeps/i386/fpu/libm-test-ulps: Update.
28330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28332 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
28334         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28335         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28337         * sysdeps/x86_64/x32/_itoa.h: Add comment.
28339 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
28341         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28342         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28343         * sysdeps/powerpc/soft-fp/Versions: Likewise.
28344         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28345         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28346         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28347         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28348         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28349         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28350         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28351         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28352         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28353         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28354         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28355         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28356         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28357         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28358         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28359         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28360         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28361         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28362         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28363         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28364         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28365         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28366         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28367         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28368         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28369         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28370         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28371         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28373 2012-05-18  Andreas Jaeger  <aj@suse.de>
28375         * csu/.gitignore: Delete.
28377 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
28379         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28380         (timex): Use __syscall_slong_t.
28382 2012-05-18  Andreas Jaeger  <aj@suse.de>
28383             Carlos O'Donell  <carlos_odonell@mentor.com>
28385         * manual/install.texi (Configuring and compiling): Update
28386         description about files modified in the source directory.
28387         * INSTALL: Regenerated.
28389 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
28391         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28392         value.  Use "or" to set return value to -1.
28393         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28394         negate return value.
28396 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28398         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28399         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28400         failure if the compiler has Graphite support disabled.
28401         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28402         Likewise.
28403         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28404         CFLAGS-memmove.c): Likewise.
28405         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28406         Likewise.
28408 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
28410         * sysdeps/x86_64/x32/_itoa.h: New file.
28412         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28413         getdents system call only if kernel and user dirents have the
28414         same d_ino and d_off.
28416         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28417         LLONG_MAX != LONG_MAX.
28418         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28419         (_fitoa_word): Likewise.
28421         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28422         years.
28423         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28424         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28425         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28427         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28428         include <bits/wordsize.h>.  Check __x86_64__ instead of
28429         __WORDSIZE.
28430         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28431         if __x86_64__ is defined.  Use anonymous union on fpstate.
28433         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28434         anonymous union.
28436 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
28438         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28439         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28440         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28441         Refer to _rtld_local_ro instead of _rtld_global_ro.
28442         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28443         Likewise.
28444         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28445         Likewise.
28446         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28447         Likewise.
28448         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28449         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28450         of _rtld_global, and rtld_progname instead of _dl_argv[0].
28452         * sysdeps/powerpc/powerpc32/dl-machine.c
28453         (__elf_machine_runtime_setup) [PROF]: Don't reference
28454         _dl_prof_resolve.
28456 2012-05-18  Andreas Jaeger  <aj@suse.de>
28458         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28459         function only available for GCCs before 3.4 since GCC 3.4
28460         introduced a builtin.
28461         (lrint): Likewise.
28462         (llrintf): Likewise.
28463         (llrint): Likewise.
28464         (fmaxf): Likewise.
28465         (fmax): Likewise.
28466         (fminf): Likewise.
28467         (fmin): Likewise.
28468         (rint): Likewise.
28469         (rintf): Likewise.
28470         (nearbyint): Likewise.
28471         (nearbyintf): Likewise.
28472         (ceil): Likewise.
28473         (ceilf): Likewise.
28474         (floor): Likewise.
28475         (floorf): Likewise.
28477 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
28479         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28480         on both fields and cast pointer to __syscall_ulong_t.
28482         * bits/types.h (__fsword_t): New type.
28483         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28484         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28485         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28486         (__FSWORD_T_TYPE): Likewise.
28487         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28488         (__FSWORD_T_TYPE): Likewise.
28489         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28490         (__FSWORD_T_TYPE): Likewise.
28491         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28492         (__FSWORD_T_TYPE): Likewise.
28493         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28494         __SWORD_TYPE with __fsword_t.
28495         (statfs64): Likewise.
28497 2012-05-17  David S. Miller  <davem@davemloft.net>
28499         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28501 2012-05-17  Andreas Jaeger  <aj@suse.de>
28503         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28504         warning.
28506 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
28508         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28510 2012-05-17  Andreas Jaeger  <aj@suse.de>
28512         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28513         when it is used.
28515 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
28517         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28519 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
28521         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28522         * sysdeps/x86_64/tst-mallocalign1.c: New file.
28524 2012-05-17  Andreas Jaeger  <aj@suse.de>
28525             Carlos O'Donell  <carlos_odonell@mentor.com>
28527         [BZ #14059]
28528         * sysdeps/x86_64/multiarch/init-arch.h
28529         (bit_YMM_Usable): Rename to...
28530         (bit_AVX_Usable): ... this.
28531         (bit_FMA4_Usable): New macro.
28532         (bit_XMM_state): New macro.
28533         (bit_YMM_state): New macro.
28534         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28535         [__ASSEMBLER__] (index_AVX_Usable): ... this.
28536         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28537         (CPUID_OSXSAVE): New macro.
28538         (CPUID_AVX): New macro.
28539         (CPUID_FMA4): New macro.
28540         (index_YMM_Usable): Rename to...
28541         (index_AVX_Usable): ... this.
28542         (HAS_AVX): Use HAS_ARCH_FEATURE.
28543         (HAS_FMA4): Likewise.
28544         (HAS_YMM_USABLE): Remove.
28545         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28546         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28547         are present.
28548         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28549         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28550         * sysdeps/x86_64/multiarch/Makefile: Likewise.
28551         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28552         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28554 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
28556         * math/libm-test.c: Support platforms without multiple rounding modes.
28557         * math/bug-nextafter.c: Support platforms without FP exceptions.
28558         * math/bug-nexttoward.c: Likewise.
28559         * math/test-fenv.c: Likewise.
28560         * math/test-misc.c: Likewise.
28561         * stdlib/bug-getcontext.c: Likewise.
28563 2012-05-17  Andreas Jaeger  <aj@suse.de>
28565         * manual/examples/search.c (critter_cmp): Change signature to
28566         avoid warnings.
28567         * manual/string.texi (Collation Functions): Likewise.
28569 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28571         * bits/types.h: Fold copyright years.
28572         * bits/typesizes.h: Likewise.
28573         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28574         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28575         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28576         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28577         * time/time.h: Likewise.
28579 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
28581         [BZ #208]
28582         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28583         in instead of returning them.  Return void.
28584         (__libc_mallinfo): Accumulate over all arenas.
28585         (__malloc_stats): Adjust for change in int_mallinfo interface.
28587 2012-05-16  Roland McGrath  <roland@hack.frob.com>
28589         [BZ #10375]
28590         * configure.in (NM): Add AC_CHECK_TOOL for it.
28591         (libc_extra_cflags): New substituted variable.
28592         Check for -fstack-protector being used implicitly.
28593         * configure: Regenerated.
28594         * config.make.in (config-extra-cflags): New variable,
28595         gets @libc_extra_cflags@.
28596         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28598         [BZ #10375]
28599         * configure.in: Check for _FORTIFY_SOURCE being predefined.
28600         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28601         * configure: Regenerated.
28602         * config.make.in (CPPUNDEFS): New substituted variable.
28603         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28604         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28605         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28607 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28609         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28610         (mq_attr): Use __syscall_slong_t.
28612 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28614         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28615         Check __x86_64__ instead of __WORDSIZE.
28616         (_STAT_VER_LINUX): Likewise.
28617         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
28618         __syscall_ulong_t and __syscall_slong_t.
28619         (stat64): Likewise.
28621 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28623         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28625 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28627         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28629 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28631         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28632         __syscall_ulong_t.
28634         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28635         include <bits/wordsize.h>.  Check __x86_64__ instead of
28636         __WORDSIZE.
28637         (greg_t): Use "__extension__ long long int" if __x86_64__ is
28638         defined.
28639         (mcontext_t): Replace "unsigned long" with "unsigned long long".
28641         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28642         include <bits/wordsize.h>.  Check __x86_64__ instead of
28643         __WORDSIZE.
28644         (user_regs_struct): Use "__extension__ unsigned long long"
28645         instead of "unsigned long" if __x86_64__ is defined.
28646         (user): Likewise.  Pad after pointer field if __ILP32__ is
28647         defined.
28649 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
28651         * configure.in (makeinfo): Require version 4.5 or later.  Allow
28652         versions 5 to 9.
28653         * configure: Regenerated.
28654         * manual/install.texi (texinfo): Increase version requirement to
28655         4.5 or later.
28656         * INSTALL: Regenerated.
28658         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28660 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28662         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28664         * sysdeps/x86_64/x32/ffs.c: New file.
28666         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28667         __syscall_ulong_t.
28668         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28669         defined.  Use __syscall_ulong_t.
28670         (shminfo): Use __syscall_ulong_t.
28671         (shm_info): Likewise.
28673         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28674         __syscall_ulong_t.
28676         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28677         <bits/wordsize.h>.
28678         (msgqnum_t): Use __syscall_ulong_t.
28679         (msglen_t): Likewise.
28680         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
28681         __syscall_ulong_t.
28683         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28684         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
28686         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28688         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28689         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28691         * sysvipc/sys/msg.h (msgbuf): Replace long int with
28692         __syscall_slong_t.
28694         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28695         include <bits/wordsize.h>.  Check __x86_64__ instead of
28696         __WORDSIZE.
28698         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28699         "unsigned long long int" if __x86_64__ is defined.
28700         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28702         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28703         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
28704         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28706         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28707         <stdint.h>.
28708         (GET_PC): Cast to uintptr_t first.
28709         (GET_FRAME): Likewise.
28710         (GET_STACK): Likewise.
28712         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28713         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28714         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28715         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28716         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28717         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28718         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28719         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28720         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28721         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28722         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28723         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28724         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28725         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28726         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28727         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28728         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28729         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28730         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28731         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28732         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28733         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28734         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28735         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28736         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28737         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28738         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28739         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28740         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28742 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
28744         * Makerules (+depfiles): Also collect depfiles from .oS in
28745         $(extra-objs).
28746         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28747         .oS, $(libnldbl-routines)).
28749         * Makerules (native-compile-mkdep-flags): Define.
28750         * sunrpc/Makefile (extra-objs): Add $(addprefix
28751         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28752         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28753         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
28754         calling $(make-target-directory).
28756 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28758         * bits/types.h (__snseconds_t): Removed.
28759         * time/time.h (struct timespec): Replace __snseconds_t with
28760         __syscall_slong_t.
28761         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28762         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28763         Likewise.
28764         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28765         (__SNSECONDS_T_TYPE): Likewise.
28766         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28767         (__SNSECONDS_T_TYPE): Likewise.
28768         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28769         (__SNSECONDS_T_TYPE): Likewise.
28771 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28773         * sysdeps/mach/hurd/bits/typesizes.h
28774         (__SYSCALL_SLONG_TYPE): New macro.
28775         (__SYSCALL_ULONG_TYPE): Likewise.
28777 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28779         * bits/types.h (__syscall_slong_t): New type.
28780         (__syscall_ulong_t): Likewise.
28782         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28783         (__SYSCALL_ULONG_TYPE): Likewise.
28784         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28785         (__SYSCALL_SLONG_TYPE): Likewise.
28786         (__SYSCALL_ULONG_TYPE): Likewise.
28787         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28788         (__SYSCALL_SLONG_TYPE): Likewise.
28789         (__SYSCALL_ULONG_TYPE): Likewise.
28790         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28791         (__SYSCALL_SLONG_TYPE): Likewise.
28792         (__SYSCALL_ULONG_TYPE): Likewise.
28794 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28796         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28797         Add sigaltstack-offsets.sym.
28798         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28799         <sigaltstack-offsets.h>.
28800         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
28801         longjmp_msg pointer.
28802         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
28803         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28804         signal stack.
28805         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28807 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
28809         * elf/stackguard-macros.h: Remove file.
28810         * sysdeps/generic/stackguard-macros.h: New file.
28811         * sysdeps/i386/stackguard-macros.h: Likewise.
28812         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28813         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28814         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28815         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28816         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28817         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28818         * sysdeps/x86_64/stackguard-macros.h: Likewise.
28819         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28820         <elf/stackguard-macros.h>.
28822         [BZ #14109]
28823         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28824         __aligned__ in attribute.
28825         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28826         (gregset_t): Likewise.
28828 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28830         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28831         * sysdeps/x86_64/64/Implies-after: Here.  New file.
28832         * sysdeps/x86_64/x32/Implies-after: New file.
28834 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28836         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28837         and access return value for _dl_profile_fixup.  Use R10_LP to
28838         load frame size.
28840 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28842         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28844 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28846         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28847         * sysdeps/x86_64/x32/sysdep.h: New file.
28849 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28851         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28852         * sysdeps/x86_64/setjmp.S: Likewise.
28854 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28856         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28857         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28858         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28859         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28860         remove unused global constant.
28862 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
28864         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28865         include of <not-cancel.h>.
28867 2012-05-15  Roland McGrath  <roland@hack.frob.com>
28869         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28871 2012-05-15  Jeff Law  <law@redhat.com>
28872             Andreas Jaeger  <aj@suse.de>
28874         [BZ #13594]
28875         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28876         out from...
28877         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28878         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28879         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28880         code changing __hst_map_handle.map.
28882 2012-05-15  Roland McGrath  <roland@hack.frob.com>
28884         * configure.in (sysnames): Look for Implies-before and Implies-after
28885         files.
28886         * configure: Regenerated.
28888 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28890         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28891         8-byte data alignment with LP_SIZE alignment.
28893 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28895         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28896         into R10_LP.
28898 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28900         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28902 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28904         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28905         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28906         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28907         Likewise.
28908         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28910 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28912         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28913         (stackinfo_sub_sp): Likewise.
28915 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28917         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28918         RAX_LP.
28920 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28922         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28923         into R*_LP.
28925 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28927         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28928         sizes into R*_LP.
28930 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28932         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28934 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28936         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28937         into R11_LP and load __x86_64_shared_cache_size_half into
28938         R8_LP.
28940 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28942         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28943         R8_LP.
28945 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28947         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28948         logb for POWER7.
28949         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28950         logbf for POWER7.
28951         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28952         logbl for POWER7.
28953         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28954         powerpc32/power7/fpu/s_logb.c via #include.
28955         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28956         powerpc32/power7/fpu/s_logbf.c via #include.
28957         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28958         powerpc32/power7/fpu/s_logbl.c via #include.
28960 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
28962         * README.libm: Remove file.
28964 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28966         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28967         count for x32.  Use R*_LP and omit operand-size suffix.
28969 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28971         * shlib-versions: Move x86_64-.*-linux.* entries to ...
28972         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
28973         * sysdeps/x86_64/x32/shlib-versions: New file.
28975 2012-05-14  Roland McGrath  <roland@hack.frob.com>
28977         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28978         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28979         Use _dl_fatal_printf instead.
28981 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
28983         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28984         set if not set by the user.  Do not allow for being unset.
28985         * sysdeps/unix/sysv/linux/configure: Regenerated.
28987 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28989         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28990         the `q' suffix from lea and replace .quad with ASM_ADDR.
28992 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28994         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28995         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
28996         instead of $17.
28997         (PTR_DEMANGLE): Likewise.
28999 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29001         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29002         (LP_OP): Likewise.
29003         (ASM_ADDR): Likewise.
29004         (RAX_LP): Likewise.
29005         (RBP_LP): Likewise.
29006         (RBX_LP): Likewise.
29007         (RCX_LP): Likewise.
29008         (RDI_LP): Likewise.
29009         (RSI_LP): Likewise.
29010         (RSP_LP): Likewise.
29011         (R8_LP): Likewise.
29012         (R9_LP): Likewise.
29013         (R10_LP): Likewise.
29014         (R10_LP): Likewise.
29015         (R11_LP): Likewise.
29016         (R12_LP): Likewise.
29017         (R13_LP): Likewise.
29018         (R14_LP): Likewise.
29019         (R15_LP): Likewise.
29021 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29023         * sysdeps/x86_64/x32/dl-machine.h: New file.
29025 2012-05-14  Andreas Jaeger  <aj@suse.de>
29027         * manual/Makefile (subdir): Remove export of subdir.
29028         (all): Remove target.
29029         (.PHONY): Remove all from list.
29030         (mkinstalldirs): Remove.
29031         (.PHONY): Remove installdirs from list.
29032         ($(inst_infodir)/libc.info): Use make-target-directory.
29033         (installdirs): Remove.
29034         (subdir_%): Remove.
29035         (glibc-targets): Remove.
29036         (lib): Remove.
29037         (stubs): Remove.
29038         ($(objpfx)stubs ../po/manual.pot): Remove.
29039         ($(objpfx)stamp%): Remove.
29040         (make-target-directory): Remove.
29041         (subdir_install): Remove.
29042         (routines): Remove.
29043         (aux): Remove.
29044         (sources): Remove.
29045         (objects): Remove.
29046         (headers): Remove.
29048         [BZ #13750]
29049         * manual/.gitignore: Remove, it's not needed anymore.
29050         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29051         all files in it.
29052         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29053         directory.
29054         (texis): Renamed to $(objpfx)texis.
29055         (texis-path): New, contains path to generated files.
29056         (chapters.%): Use texis-path for complete path, add extra argument
29057         libc-texinfo.sh.
29058         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29059         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29060         (summary,texi, stamp-summary): Use complete path of
29061         files. Generate files in build dir.
29062         (dir-add.texi): Build in build dir.
29063         (libm-err.texi,stamp-libm-err): Likewise.
29064         (version.texi, stamp-version): Likewise.
29065         (.%c.texi): Likewise.
29066         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29067         (mostlyclean): Remove target.
29068         (realclean): Remove target.
29069         (generated): Add new variable with contents from mostlyclean and
29070         realclean, remove entries duplicated in common-mostlyclean, add
29071         stamp-libm-err and stamp-version.
29072         (generated-dirs): Add libc directory.
29073         ($(inst_infodir)/libc.info): Install files from build dir.
29075         * manual/install.texi (Configuring and compiling): Adjust since
29076         the info files are not part of the tar ball anymore.
29078 2012-05-14  Andreas Jaeger  <aj@suse.de>
29080         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29081         variable.
29083 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
29085         [BZ #13717]
29086         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29087         to 2.2.0 where earlier.
29088         * sysdeps/unix/sysv/linux/configure: Regenerated.
29089         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29090         Remove conditional code.
29091         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29092         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29093         Remove conditional code.
29094         [!__NR_lchown]: Likewise.
29095         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29096         [__NR_lchown]: Likewise.
29097         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29098         comment referencing __ASSUME_LCHOWN_SYSCALL.
29099         * sysdeps/unix/sysv/linux/i386/sigaction.c
29100         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29101         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29102         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29103         Remove conditional code.
29104         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29105         (__protocol_available): Remove #if 0 code.
29106         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29107         conditional code.
29108         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29109         * sysdeps/unix/sysv/linux/kernel-features.h
29110         (__ASSUME_GETCWD_SYSCALL): Don't define.
29111         (__ASSUME_REALTIME_SIGNALS): Likewise.
29112         (__ASSUME_PREAD_SYSCALL): Likewise.
29113         (__ASSUME_PWRITE_SYSCALL): Likewise.
29114         (__ASSUME_POLL_SYSCALL): Likewise.
29115         (__ASSUME_LCHOWN_SYSCALL): Likewise.
29116         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29117         non-SPARC.
29118         (__ASSUME_SIOCGIFNAME): Don't define.
29119         (__ASSUME_MSG_NOSIGNAL): Likewise.
29120         (__ASSUME_SENDFILE): Define unconditionally.
29121         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29122         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29123         conditional code.
29124         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29125         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29126         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29127         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29128         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29129         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29130         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29132         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29133         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29135         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29136         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29138         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29139         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29141         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29142         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29144         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29145         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29147         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29148         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29150         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29151         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29153         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29154         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29155         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29156         Remove conditional code.
29157         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29158         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29159         Remove conditional code.
29160         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29161         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29162         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29163         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29164         Remove conditional code.
29165         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29166         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29167         Remove conditional code.
29168         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29169         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29170         Remove conditional code.
29171         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29172         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29173         Remove conditional code.
29174         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29175         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29176         Remove conditional code.
29177         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29178         * sysdeps/unix/sysv/linux/sh/pwrite64.c
29179         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29180         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29181         * sysdeps/unix/sysv/linux/sigaction.c
29182         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29183         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29184         * sysdeps/unix/sysv/linux/sigpending.c
29185         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29186         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29187         * sysdeps/unix/sysv/linux/sigprocmask.c
29188         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29189         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29190         * sysdeps/unix/sysv/linux/sigsuspend.c
29191         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29192         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29193         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29194         (__libc_missing_rt_sigs): Remove.
29195         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29196         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29197         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29198         Remove conditional code.
29199         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29200         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29201         return 1.
29202         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29203         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29204         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29205         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29207 2012-05-14  Andreas Jaeger  <aj@suse.de>
29209         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29210         it's not used in glibc.
29211         (__coshm1): Likewise.
29212         (__acosh1p): Likewise.
29213         (__sgn): Likewise.
29215         * manual/string.texi (Copying and Concatenation): Add missing
29216         variable in concat example.
29217         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29219 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29221         [BZ #14103]
29222         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29223         __builtin_clzl with __builtin_clzll.
29225 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29227         [BZ #14104]
29228         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29229         libc_freeres_ptr.
29231 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29233         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29234         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29235         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29236         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29238 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
29240         * NEWS: Update ia64 info.
29242 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
29244         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29245         used as bcopy.
29247 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
29249         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29250         * sysdeps/unix/syscalls.list (dup3): Likewise.
29251         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29252         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29254 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
29256         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29257         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29259 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
29261         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29262         thread pointer.
29263         (TLS_IE): Use mov/add instead of movq/addq to load thread
29264         pointer.
29265         (TLS_GD_PREFIX): New.
29266         (TLS_GD): Use it.
29268 2012-05-11  David S. Miller  <davem@davemloft.net>
29270         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29271         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29272         (_FPU_SETCW): Likewise.
29274 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
29276         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29277         is 32-byte aligned.
29279 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
29281         [BZ #11837]
29282         * iconvdata/gb18030.c: Update tables.
29283         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
29284         characters specially.
29285         (BODY for TO_LOOP): Add encoding of missing ranges.
29287 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
29289         [BZ #13673]
29290         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29291         * sysdeps/mach/hurd/dup3.c: Likewise.
29292         * sysdeps/mach/hurd/readlinkat.c: Likewise.
29293         * sysdeps/powerpc/memmove.c:: Likewise.
29295 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
29297         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29298         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29300 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
29302         * elf/elf.h (R_X86_64_RELATIVE64): New.
29303         (R_X86_64_NUM): Updated.
29304         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29305         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
29306         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29307         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29308         tst-quad1pie tst-quad2pie
29309         (modules-names): Add tst-quadmod1 tst-quadmod2.
29310         ($(objpfx)tst-quad1): New dependency.
29311         ($(objpfx)tst-quad2): Likewise.
29312         ($(objpfx)tst-quad1pie): Likewise.
29313         ($(objpfx)tst-quad2pie): Likewise.
29314         * sysdeps/x86_64/tst-quad1.c: New file.
29315         * sysdeps/x86_64/tst-quad1pie.c: New file.
29316         * sysdeps/x86_64/tst-quad2.c: Likewise.
29317         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29318         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29319         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29320         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29321         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29323 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29325         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29326         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29327         * streams/stropts.h (t_scalar_t): Define type.
29329         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29330         (_PATH_PRESERVE): Set to "/var/lib".
29331         (_PATH_RWHODIR): Set to "/var/spool/rwho".
29333         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29334         instead of int.
29336         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29337         if __dir_mkfile succeeded.
29339         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29340         checking for _hurd_dtablesize.  Unlock it right after having
29341         finished _hurd_dtable allocation.
29343 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29345         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29346         * sysdeps/mach/hurd/configure: Regenerated.
29347         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29348         special-casing to...
29349         * sysdeps/gnu/configure.in: ... this new file.
29350         * sysdeps/unix/sysv/linux/configure: Regenerated.
29351         * sysdeps/gnu/configure: New generated file.
29353         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29354         for Linux: use nsec instead of usec, as well as:
29355         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29356         members of type struct timespec.
29357         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29358         New macros.
29359         (struct stat64): Likewise.
29360         (_STATBUF_ST_NSEC): New macro.
29361         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29363         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29364         __strtoul_internal rather than strtoul.
29366 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29368         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29369         and reject them.
29371 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29373         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29374         which preserves existing values.
29375         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29377 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29379         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29380         TIMEOUT values.  Return EINVAL for NFDS values either negative or
29381         greater than FD_SETSIZE.
29383 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29385         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29386         allocated, call __vm_protect to finish enabling the existing space, and
29387         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29388         allocate the remainder.
29390 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29392         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29393         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
29395 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29397         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29398         sysdeps/mach/hurd/readlink.c.
29400         * posix/tst-sysconf.c (posix_options): Only use
29401         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29402         _POSIX_SYNCHRONIZED_IO when they are defined
29403         * sysdeps/mach/hurd/bits/posix_opt.h:
29404         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29405         (_XOPEN_REALTIME): Undefine macro.
29406         (_XOPEN_REALTIME_THREADS): Undefine macro.
29407         (_XOPEN_SHM): Undefine macro.
29408         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29409         macro to -1.
29410         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29411         macro to -1.
29412         (_POSIX_ASYNC_IO): Undefine macro.
29413         (_POSIX_PRIORITIZED_IO): Undefine macro.
29414         (_POSIX_SPIN_LOCKS): Define macro to -1.
29416         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29417         SA_NODEFER, SA_RESETHAND.
29418         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29419         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29420         F_DUPFD_CLOEXEC.
29422 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29424         * elf/Makefile (pldd-modules): Define unconditionally.
29426 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29428         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29430 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29432         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29433         Return ENOENT when name is empty.
29434         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29436 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29438         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29440         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29442 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29444         Fix mlock in all cases except non-readable pages.
29445         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29446         instead of VM_PROT_ALL as parameter to __vm_wire function.
29448         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29449         (__mkdir): When path is `/', just fail with EEXIST.
29450         * sysdeps/mach/hurd/mkdirat.c: Likewise.
29452 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29454         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29455         <sys/uio.h> (for writev).
29456         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29457         and <sys/param.h> (for MIN).
29459 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29461         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29462         REQUESTED_TIME.  Properly set the remaining time and return EINTR
29463         if interrupted.
29465 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29467         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29468         Depend on against $(link-rpcuserlibs).
29470 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29472         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29473         (__libc_stack_end): Do not use attribute_relro.
29474         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29475         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29476         to libthread-provided value.
29477         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29478         attribute_relro.
29480 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29482         [BZ #3748]
29483         * bits/libc-lock.h (__libc_once_get): New macro.
29484         * sysdeps/mach/bits/libc-lock.h: Likewise.
29485         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29486         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29487         instead of using implementation details.
29489         * libio/fileops.c: Unconditionally include <kernel-features.h>.
29490         * libio/freopen.c: Likewise.
29491         * libio/freopen64.c: Likewise.
29492         * misc/syslog.c: Likewise.
29493         * nscd/connections.c: Likewise.
29494         * nscd/netgroupcache.c: Likewise.
29495         * sysdeps/posix/getcwd.c: Likewise.
29497 2012-05-10  Roland McGrath  <roland@hack.frob.com>
29499         * math/w_ilogbf.c: Add #include <limits.h>.
29501 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29503         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29504         path instead of returning without unlocking.
29506         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29507         immediate-write ioctls.
29508         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29510 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29512         * sysdeps/mach/hurd/i386/init-first.c (init): Use
29513         __builtin_frame_address instead of making assumptions about the
29514         location of the return address relative to DATA.  Force early load of
29515         the return address.
29516         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29517         __builtin_frame_address.
29519         dup3 for GNU Hurd.
29520         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29521         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
29522         implement dup3 and do some further code clean-ups.
29523         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29524         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29526 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29528         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29530         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29531         HURD_CRITICAL_END around holding _hurd_dtable_lock.
29532         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29533         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29534         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29535         d->port.lock.
29537         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29538         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
29539         when handler == SIG_ERR, not when handler != SIG_ERR.
29541 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29543         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29544         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29545         definitions.
29547         accept4 for GNU Hurd.
29548         * include/sys/socket.h (__libc_accept4): New prototype.
29549         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
29550         to implement __libc_accept4.
29551         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29552         __libc_accept4.
29553         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29555         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29556         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29557         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29558         signal-defines.sym.
29560 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29562         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29564 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29566         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29567         assertion on O_CLOEXEC flag.
29568         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29569         * hurd/intern-fd.c: Likewise.
29570         * hurd/port2fd.c: Likewise.
29572 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29574         [BZ #3906]
29575         * bits/in.h (IPV6_PKTINFO): Define new macro.
29576         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29578 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29580         [BZ #13954]
29581         [BZ #13955]
29582         [BZ #13956]
29583         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29584         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29585         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29586         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29587         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29588         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29589         * math/libm-test.inc (logb_test) : Additional logb tests.
29591 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
29592             Andreas Jaeger  <aj@suse.de>
29594         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29595         * configure: Regenerated.
29596         * config.h.in (LINK_OBSOLETE_RPC): New macro.
29597         * config.make.in (link-obsolete-rpc): New substituted variable.
29598         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29599         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29600         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29601         (shared-only-routines): Don't set it under [link-obsolete-rpc],
29602         so that libc.a contains the symbols.
29603         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29604         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29605         * sunrpc/auth_none.c: Likewise.
29606         * sunrpc/auth_unix.c: Likewise.
29607         * sunrpc/authdes_prot.c: Likewise.
29608         * sunrpc/authuxprot.c: Likewise.
29609         * sunrpc/clnt_gen.c: Likewise.
29610         * sunrpc/clnt_perr.c: Likewise.
29611         * sunrpc/clnt_raw.c: Likewise.
29612         * sunrpc/clnt_simp.c: Likewise.
29613         * sunrpc/clnt_tcp.c: Likewise.
29614         * sunrpc/clnt_udp.c: Likewise.
29615         * sunrpc/clnt_unix.c: Likewise.
29616         * sunrpc/des_crypt.c: Likewise.
29617         * sunrpc/des_soft.c: Likewise.
29618         * sunrpc/get_myaddr.c: Likewise.
29619         * sunrpc/key_call.c: Likewise.
29620         * sunrpc/key_prot.c: Likewise.
29621         * sunrpc/netname.c: Likewise.
29622         * sunrpc/pm_getmaps.c: Likewise.
29623         * sunrpc/pm_getport.c: Likewise.
29624         * sunrpc/pmap_clnt.c: Likewise.
29625         * sunrpc/pmap_prot.c: Likewise.
29626         * sunrpc/pmap_prot2.c: Likewise.
29627         * sunrpc/pmap_rmt.c: Likewise.
29628         * sunrpc/publickey.c: Likewise.
29629         * sunrpc/rpc_cmsg.c: Likewise.
29630         * sunrpc/rpc_common.c: Likewise.
29631         * sunrpc/rpc_dtable.c: Likewise.
29632         * sunrpc/rpc_prot.c: Likewise.
29633         * sunrpc/rpc_thread.c: Likewise.
29634         * sunrpc/rtime.c: Likewise.
29635         * sunrpc/svc.c: Likewise.
29636         * sunrpc/svc_auth.c: Likewise.
29637         * sunrpc/svc_raw.c: Likewise.
29638         * sunrpc/svc_run.c: Likewise.
29639         * sunrpc/svc_tcp.c: Likewise.
29640         * sunrpc/svc_udp.c: Likewise.
29641         * sunrpc/svc_unix.c: Likewise.
29642         * sunrpc/svcauth_des.c: Likewise.
29643         * sunrpc/xcrypt.c: Likewise.
29644         * sunrpc/xdr.c: Likewise.
29645         * sunrpc/xdr_array.c: Likewise.
29646         * sunrpc/xdr_float.c: Likewise.
29647         * sunrpc/xdr_intXX_t.c: Likewise.
29648         * sunrpc/xdr_mem.c: Likewise.
29649         * sunrpc/xdr_rec.c: Likewise.
29650         * sunrpc/xdr_ref.c: Likewise.
29651         * sunrpc/xdr_sizeof.c: Likewise.
29652         * sunrpc/xdr_stdio.c: Likewise.
29654 2012-05-10  Roland McGrath  <roland@hack.frob.com>
29656         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29657         change.  Update copyright years.
29659 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
29661         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29663 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
29664             Joseph Myers  <joseph@codesourcery.com>
29665             Paul Pluzhnikov  <ppluzhnikov@google.com>
29667         [BZ #14012]
29668         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29669         requiring rpcgen.
29670         [cross-compiling] (extra-libs): Likewise.
29671         [cross-compiling] (extra-libs-others): Likewise.
29672         [cross-compiling] (librpcsvc-routines): Likewise.
29673         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29674         [cross-compiling] (omit-deps): Likewise.
29675         (sunrpc-CPPFLAGS): New variable.
29676         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29677         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29678         (cross-rpcgen-objs): New variable.
29679         (extra-objs): Append $(cross-rpcgen-objs).
29680         ($(cross-rpcgen-objs)): New rule.
29681         ($(objpfx)cross-rpcgen): Likewise.
29682         (rpcgen-cmd): Define to use $(built-program-file).  Expand
29683         comment.
29684         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29685         ($(objpfx)x%.stmp): Likewise.
29686         * sunrpc/proto.h [IS_IN_build] (_): Define.
29687         [IS_IN_build] (_libc_intl_domainname): Likewise.
29689 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
29691         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29692         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29693         and R_X86_64_TPOFF64.
29695 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
29697         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29698         sysdeps/unix/sysv/syscalls.list.
29699         (stime): Likewise.
29700         (utime): Likewise.
29701         * sysdeps/unix/sysv/syscalls.list: Remove file.
29703 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
29705         [BZ #3440]
29706         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29707         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29708         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29709         (__LC_IDENTIFICATION): Make these macros useful in #if
29710         expressions, as required by C99.
29712 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
29714         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29715         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
29716         after this.
29718 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
29720         * stdlib/longlong.h: Updated from GCC.
29722 2012-05-09  Andreas Jaeger  <aj@suse.de>
29724         * nscd/nscd.c (run_modes): Make named enum, reorder so that
29725         default is first entry.
29726         (run_mode): Set type.
29727         (main): Remove informal message about syslog.
29728         (options): Fix typo.
29730         [BZ #14053]
29731         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
29732         to asm.
29733         (lrint): Likewise.
29734         (llrintf): Likewise.
29735         (llrint): Likewise.
29736         (rint): Likewise.
29737         (rintf): Likewise.
29738         (nearbyint): Likewise.
29739         (nearbyintf): Likewise.
29741 2012-05-09  Andreas Jaeger  <aj@suse.de>
29742             Pedro Alves  <palves@redhat.com>
29744         * nscd/nscd.c (run_mode): Use enum.
29745         (main): Cleanup coding style issue.
29747 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
29748             Andreas Jaeger  <aj@suse.de>
29750         * nscd/nscd.c (go_background): Replaced with...
29751         (run_mode): ... this.
29752         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
29753         (options): Add -F --foreground.
29754         (main): Implement it.
29755         (parse_opt): Parse it.
29757 2012-05-09  Andreas Jaeger  <aj@suse.de>
29759         [BZ #14083]
29760         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29761         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29762         -Wconversion warning.
29763         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29764         Likewise.
29766 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
29768         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
29769         == 0.
29770         (LC_ALL): Use macro-int-constant.
29771         (LC_COLLATE): Likewise.
29772         (LC_CTYPE): Likewise.
29773         (LC_MESSAGES): Likewise.
29774         (LC_MONETARY): Likewise.
29775         (LC_NUMERIC): Likewise.
29776         (LC_TIME): Likewise.
29777         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29778         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29779         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29780         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29781         Specify type.
29782         [C99-based standards] (float_t): Expect type.
29783         [C99-based standards] (double_t): Expect type.
29784         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
29785         type.
29786         [C99-based standards] (HUGE_VALL): Likewise.
29787         [C99-based standards] (INFINITY): Likewise.
29788         [C99-based standards] (NAN): Likewise.
29789         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29790         [C99-based standards] (FP_NAN): Likewise.
29791         [C99-based standards] (FP_NORMAL): Likewise.
29792         [C99-based standards] (FP_SUBNORMAL): Likewise.
29793         [C99-based standards] (FP_ZERO): Likewise.
29794         [C99-based standards] (FP_FAST_FMA): Use
29795         optional-macro-int-constant.  Specify type.  Require == 1.
29796         [C99-based standards] (FP_FAST_FMAF): Likewise.
29797         [C99-based standards] (FP_FAST_FMAL): Likewise.
29798         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29799         [C99-based standards] (FP_ILOGBNAN): Likewise.
29800         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29801         Specify type.
29802         [C99-based standards] (MATH_ERREXCEPT): Likewise.
29803         [C99-based standards] (math_errhandling): Specify type.
29804         [ISO99 || ISO11] (signgam): Do not allow.
29805         [non-C99-based standards] (copysignf): Do not allow.
29806         [non-C99-based standards] (exp2f): Likewise.
29807         [non-C99-based standards] (log2f): Likewise.
29808         [non-C99-based standards] (modff): Allow.
29809         [non-C99-based standards] (erff): Do not allow.
29810         [non-C99-based standards] (erfcf): Likewise.
29811         [non-C99-based standards] (gammaf): Likewise.
29812         [non-C99-based standards] (hypotf): Likewise.
29813         [non-C99-based standards] (j0f): Likewise.
29814         [non-C99-based standards] (j1f): Likewise.
29815         [non-C99-based standards] (jnf): Likewise.
29816         [non-C99-based standards] (lgammaf): Likewise.
29817         [non-C99-based standards] (tgammaf): Likewise.
29818         [non-C99-based standards] (y0f): Likewise.
29819         [non-C99-based standards] (y1f): Likewise.
29820         [non-C99-based standards] (ynf): Likewise.
29821         [non-C99-based standards] (isnanf): Likewise.
29822         [non-C99-based standards] (acoshf): Likewise.
29823         [non-C99-based standards] (asinhf): Likewise.
29824         [non-C99-based standards] (atanhf): Likewise.
29825         [non-C99-based standards] (cbrtf): Likewise.
29826         [non-C99-based standards] (expm1f): Likewise.
29827         [non-C99-based standards] (ilogbf): Likewise.
29828         [non-C99-based standards] (log1pf): Likewise.
29829         [non-C99-based standards] (logbf): Likewise.
29830         [non-C99-based standards] (nextafterf): Likewise.
29831         [non-C99-based standards] (remainderf): Likewise.
29832         [non-C99-based standards] (rintf): Likewise.
29833         [non-C99-based standards] (scalbf): Likewise.
29834         [non-C99-based standards] (copysignl): Likewise.
29835         [non-C99-based standards] (exp2l): Likewise.
29836         [non-C99-based standards] (log2l): Likewise.
29837         [non-C99-based standards] (modfl): Allow.
29838         [non-C99-based standards] (erfl): Do not allow.
29839         [non-C99-based standards] (erfcl): Likewise.
29840         [non-C99-based standards] (gammal): Likewise.
29841         [non-C99-based standards] (hypotl): Likewise.
29842         [non-C99-based standards] (j0l): Likewise.
29843         [non-C99-based standards] (j1l): Likewise.
29844         [non-C99-based standards] (jnl): Likewise.
29845         [non-C99-based standards] (lgammal): Likewise.
29846         [non-C99-based standards] (tgammal): Likewise.
29847         [non-C99-based standards] (y0l): Likewise.
29848         [non-C99-based standards] (y1l): Likewise.
29849         [non-C99-based standards] (ynl): Likewise.
29850         [non-C99-based standards] (isnanl): Likewise.
29851         [non-C99-based standards] (acoshl): Likewise.
29852         [non-C99-based standards] (asinhl): Likewise.
29853         [non-C99-based standards] (atanhl): Likewise.
29854         [non-C99-based standards] (cbrtl): Likewise.
29855         [non-C99-based standards] (expm1l): Likewise.
29856         [non-C99-based standards] (ilogbl): Likewise.
29857         [non-C99-based standards] (log1pl): Likewise.
29858         [non-C99-based standards] (logbl): Likewise.
29859         [non-C99-based standards] (nextafterl): Likewise.
29860         [non-C99-based standards] (remainderl): Likewise.
29861         [non-C99-based standards] (rintl): Likewise.
29862         [non-C99-based standards] (scalbl): Likewise.
29863         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29864         [non-C99-based standards] (FP_*): Do not allow.
29865         [C99-based standards] (FP_*): Change to
29866         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29867         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29868         allow.
29869         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29870         (SIG_ERR): Likewise.
29871         [X/Open-based standards] (SIG_HOLD): Likewise.
29872         (SIG_IGN): Likewise.
29873         (SIGABRT): Use macro-int-constant.  Specify type.  Require
29874         positive value.
29875         (SIGFPE): Likewise.
29876         (SIGILL): Likewise.
29877         (SIGINT): Likewise.
29878         (SIGSEGV): Likewise.
29879         (SIGTER): Likewise.
29880         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29881         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29882         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29883         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29884         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29885         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29886         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29887         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29888         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29889         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29890         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29891         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29892         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29893         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29894         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29895         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29896         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29897         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29898         [X/Open-based standards] (SIGTRAP): Likewise.
29899         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29900         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29901         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29902         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29903         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29904         allow.
29906 2012-05-08  Ian Wienand  <ianw@vmware.com>
29908         [BZ #14080]
29909         * time/tzset.c (__tzset_parse_tz): Update default rules for
29910         daylight time changes in the Energy Policy Act of 2005.
29912 2012-05-09  Andreas Jaeger  <aj@suse.de>
29914         [BZ #13983]
29915         * elf/ldconfig.c (parse_conf): Change string to make clear that
29916         ldconfig only issued a warning if ld.so.conf does not exist.
29918 2012-05-08  David S. Miller  <davem@davemloft.net>
29920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29921         movxtod instead of popping the value on the stack.
29923         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29925 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
29927         * config.h.in: Add HAVE_ARM_PCS_VFP.
29929 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
29931         [BZ #13979]
29932         * include/features.h: Warn if user requests __FORTIFY_SOURCE
29933         checking but the checks are disabled for any reason.
29935 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
29937         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29938         and ELF64_R_TYPE with ELFW(R_TYPE).
29940 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
29942         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29943         (ulimit): Likewise.
29945         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29946         (settimeofday): Likewise.
29948 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
29950         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
29951         a struct th_u2 inside the union, and move tu_block/tu_code into
29952         a new th_u3 union of tu_block/tu_code inside of that.  Move
29953         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
29954         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
29955         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29956         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29957         (th_stuff): Change to th_u1.tu_stuff.
29958         (th_data): Define.
29959         (th_msg): Change to th_u1.th_u2.tu_data.
29961 2012-05-07  David S. Miller  <davem@davemloft.net>
29963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29965         [BZ #14074]
29966         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29967         (SETUP_PIC_REG): Use it.
29968         (SETUP_PIC_REG_LEAF): Use it.
29970 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
29972         [BZ #13885]
29973         [BZ #13923]
29974         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29975         USE_AS_EXPM1L.
29976         (EXPL_FINITE): Likewise.
29977         (FLDLOG): Likewise.
29978         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29979         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29980         e_expl.S.
29981         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29982         USE_AS_EXPM1L.
29983         (EXPL_FINITE): Likewise.
29984         (FLDLOG): Likewise.
29985         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29986         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29987         e_expl.S.
29988         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
29989         test of -max_value argument for long double.
29990         * sysdeps/i386/fpu/libm-test-ulps: Update.
29991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29993 2012-05-06  David S. Miller  <davem@davemloft.net>
29995         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29996         quad soft-float symbols whose references which are compiler
29997         generated.
29998         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30000 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
30002         [BZ #13884]
30003         [BZ #13914]
30004         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30005         USE_AS_EXP10L.
30006         (EXPL_FINITE): Likewise.
30007         (FLDLOG): Likewise.
30008         (c0): Likewise.
30009         (c1): Likewise.
30010         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
30011         Adjust comments for base varying.
30012         (__expl_finite): Change alias to EXPL_FINITE.
30013         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30014         e_expl.S.
30015         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30016         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30017         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30018         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30019         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30020         USE_AS_EXP10L.
30021         (EXPL_FINITE): Likewise.
30022         (FLDLOG): Likewise.
30023         (c0): Likewise.
30024         (c1): Likewise.
30025         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
30026         Adjust comments for base varying.
30027         (__expl_finite): Change alias to EXPL_FINITE.
30028         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
30029         tests for bugs.
30030         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30032         [BZ #14064]
30033         * math/libm-test.inc (check_float_internal): Correct ulp
30034         calculation for subnormal expected results.
30036 2012-05-06  Andreas Jaeger  <aj@suse.de>
30038         * Makeconfig (+math-flags): New, set to -frounding-math.
30039         (+cflags): Add +math-flags so that all of glibc gets compiled with
30040         it.
30042         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30044 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
30046         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30047         Disable one test.
30049         [BZ #13787]
30050         [BZ #13922]
30051         [BZ #14036]
30052         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30053         (__ieee754_expl): Allow for and saturate large arguments.
30054         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30055         (u_threshold): Likewise.
30056         (__exp): Call __ieee754_exp before checking for overflow and
30057         underflow.
30058         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30059         (u_threshold): Likewise.
30060         (__expf): Call __ieee754_expf before checking for overflow and
30061         underflow.
30062         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30063         (u_threshold): Likewise.
30064         (__expl): Call __ieee754_expl before checking for overflow and
30065         underflow.
30066         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30067         (__ieee754_expl): Allow for and saturate large arguments.
30068         * math/libm-test.inc (exp_test): Add another test.  Do not allow
30069         missing overflow exception on overflow.
30070         (expm1_test): Do not allow missing overflow exception on overflow.
30072         * sysdeps/i386/fpu/e_expl.c: Move to ...
30073         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
30074         rather than using inline asm.
30075         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30076         * sysdeps/x86_64/fpu/e_expl.S: Copy from
30077         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30079         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30080         (nice): Likewise.
30081         (poll): Likewise.
30082         (signal): Likewise.
30083         (time): Likewise.
30084         (times): Likewise.
30086 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
30088         * sysdeps/unix/syscalls.list (adjtime): Add entry from
30089         sysdeps/unix/common/syscalls.list.
30090         (fchmod): Likewise.
30091         (fchown): Likewise.
30092         (ftruncate): Likewise.
30093         (getrusage): Likewise.
30094         (gettimeofday): Likewise.
30095         (setpgid): Likewise.
30096         (setregid): Likewise.
30097         (setreuid): Likewise.
30098         (sigaction): Likewise.
30099         (truncate): Likewise.
30100         (vhangup): Likewise.
30101         * sysdeps/unix/common/syscalls.list: Remove file.
30102         * sysdeps/unix/bsd/Implies: Don't include unix/common.
30103         * sysdeps/unix/sysv/linux/Implies: Likewise.
30105 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
30107         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30108         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30109         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30110         Moved to ...
30111         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30112         Here.
30113         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30114         to ...
30115         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30116         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30117         to ...
30118         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30119         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30120         to ...
30121         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30122         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30123         to ...
30124         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30125         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30126         to ...
30127         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30128         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30129         to ...
30130         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30131         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30132         to ...
30133         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30134         Here.
30135         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30136         to ...
30137         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30138         Here.
30139         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30140         to ...
30141         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30142         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30143         Moved to ...
30144         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30145         Here.
30146         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30147         to ...
30148         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30150 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
30152         * sysdeps/unix/common/bits/dirent.h: Remove file.
30153         * sysdeps/unix/common/bits/fcntl.h: Likewise.
30155         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30156         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30157         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30158         * sysdeps/unix/bsd/isatty.c: Likewise.
30159         * sysdeps/unix/bsd/tcdrain.c: Likewise.
30160         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30161         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30163 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30165         [BZ #13563]
30166         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30167         long double comparison inaccuracies.
30168         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30169         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30171 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
30173         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30174         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30176 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
30178         [BZ #14049]
30179         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30180         nonzero digits before rounding a hex value.
30181         * stdlib/tst-strtod.c (tests): Add another test.
30183 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30185         * sysdeps/s390/fpu/libm-test-ulps: Update.
30187 2012-05-03  Andreas Jaeger  <aj@suse.de>
30189         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30190         does not get optimized out.
30191         (malloc_opt_barrier): New.
30193 2012-05-03  Andreas Jaeger  <aj@suse.de>
30194             Roland McGrath  <roland@hack.frob.com>
30196         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30197         intermediate file deletion.
30198         (generated): Add .symlist files.
30200 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
30202         [BZ #13775]
30203         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30204         Redirect under this condition.
30205         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30206         [__USE_GNU] (__dprintf_chk): Not under this condition.
30207         [__USE_GNU] (__vdprintf_chk): Likewise.
30208         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30209         under this condition.
30210         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30211         [__USE_XOPEN2K8] (dprintf): Define under this condition.
30212         [__USE_XOPEN2K8] (vdprintf): Likewise.
30213         [__USE_GNU] (__dprintf_chk): Not under this condition.
30214         [__USE_GNU] (__vdprintf_chk): Likewise.
30215         [__USE_GNU] (dprintf): Likewise.
30216         [__USE_GNU] (vdprintf): Likewise.
30218 2012-05-03  Roland McGrath  <roland@hack.frob.com>
30220         * elf/Makefile (common-generated): Set this instead of generated for
30221         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
30222         $(all-built-dso)-derived lists.
30224 2012-05-03  Andreas Jaeger  <aj@suse.de>
30226         * sysdeps/i386/fpu/libm-test-ulps: Update.
30228         * FAQ: Removed.
30229         * FAQ.in: Likewise.
30230         * scripts/gen-FAQ.pl: Likewise.
30231         * manual/install.texi (Installation): Point to online location of
30232         FAQ.
30233         * Makefile (files-for-dist): Remove FAQ.
30234         (FAQ): Remove.
30236 2012-05-02  Allan McRae  <allan@archlinux.org>
30238         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30239         (LDFLAGS-reldepmod5.so): Likewise.
30240         (LDFLAGS-reldep6mod1.so): Likewise.
30241         (LDFLAGS-reldep6mod4.so): Likewise.
30242         (LDFLAGS-reldep8mod3.so): Likewise.
30243         (LDFLAGS-unload4mod1.so): Likewise.
30244         (LDFLAGS-unload4mod2.so): Likewise.
30245         (LDFLAGS-tst-initorder): Likewise.
30246         (LDFLAGS-tst-initordera2.so): Likewise.
30247         (LDFLAGS-tst-initordera3.so): Likewise.
30248         (LDFLAGS-tst-initordera4.so): Likewise.
30249         (LDFLAGS-tst-initorderb2.so): Likewise.
30250         (LDFLAGS-noload): Likewise.
30251         (LDFLAGS-next): Likewise.
30252         (LDFLAGS-order2mod1.so): Likewise.
30253         (LDFLAGS-order2mod2.so): Likewise.
30254         (LDFLAGS-tst-initorder2): Likewise.
30255         (LDFLAGS-tst-initorder2a.so): Likewise.
30256         (LDFLAGS-tst-initorder2b.so): Likewise.
30257         (LDFLAGS-tst-initorder2c.so): Likewise.
30258         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30260 2012-05-02  David S. Miller  <davem@davemloft.net>
30262         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30264 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
30266         [BZ #14055]
30267         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30269 2012-05-02  Andreas Jaeger  <aj@suse.de>
30271         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30272         since we manipulate rounding mode.
30273         (CPPFLAGS-test-idouble.c): Likewise.
30274         (CPPFLAGS-test-ifloat.c): Likewise.
30275         (CFLAGS-test-ldouble.c): Likewise.
30276         (CFLAGS-test-double.c): Likewise.
30277         (CFLAGS-test-float.c): Likewise.
30278         (CFLAGS-test-misc.c): Likewise.
30279         (CFLAGS-test-test-fenv.c): Likewise.
30281 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30283         [BZ #2550]
30284         [BZ #2570]
30285         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30286         comparisons to determine direction to adjust input.
30288 2012-05-01  Roland McGrath  <roland@hack.frob.com>
30290         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30291         output to the target.
30293         * scripts/localplt.awk: New file.
30294         * elf/Makefile ($(objpfx)check-localplt): Target removed.
30295         (check-localplt-CFLAGS): Variable removed.
30296         ($(all-built-dso:=.jmprel)): New static pattern rule.
30297         (generated): Add those targets.
30298         (localplt-built-dso): New variable.
30299         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30301         * elf/check-localplt.c: File removed.
30303         * scripts/check-execstack.awk: New file.
30304         * elf/Makefile ($(objpfx)check-execstack): Target removed.
30305         (check-execstack-CFLAGS): Variable removed.
30306         ($(objpfx)check-execstack.h): Target removed.
30307         ($(objpfx)execstack-default): New target.
30308         (generated): Add that instead of check-execstack.h.
30309         ($(all-built-dso:=.phdr)): New static pattern rule.
30310         (generated): Add those targets.
30311         * elf/check-execstack.c: File removed.
30313         * scripts/check-textrel.awk: New file.
30314         * elf/Makefile ($(objpfx)check-textrel): Target removed.
30315         (check-textrel-CFLAGS): Variable removed.
30316         (all-built-dso): Use := to define.o
30317         ($(all-built-dso:=.dyn)): New static pattern rule.
30318         (generated): Add those targets.
30319         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30320         * config.make.in (READELF): New substituted variable.
30321         * elf/check-textrel.c: File removed.
30323 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
30325         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30326         allow.
30327         * conform/data/ctype.h-data [C99-based standards] (isblank):
30328         Expect function.
30329         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30330         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30331         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30332         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30333         Specify type.  Require positive value.
30334         (EILSEQ): Likewise.
30335         (ERANGE): Likewise.
30336         [ISO || POSIX] (EILSEQ): Do not expect.
30337         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30338         Specify type.  Require positive value.
30339         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30340         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30341         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30342         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30343         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30344         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30345         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30346         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30347         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30348         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30349         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30350         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30351         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30352         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30353         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30354         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30355         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30356         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30357         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30358         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30359         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30360         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30361         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30362         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30363         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30364         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30365         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30366         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30367         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30368         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30369         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30370         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30371         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30372         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30373         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30374         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30375         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30376         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30377         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30378         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30379         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30380         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30381         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30382         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30383         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30384         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30385         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30386         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30387         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30388         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30389         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30390         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30391         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30392         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30393         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30394         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30395         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30396         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30397         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30398         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30399         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30400         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30401         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30402         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30403         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30404         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30405         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30406         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30407         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30408         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30409         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30410         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30411         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30412         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30413         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30414         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30415         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30416         Require >= 2.
30417         (FLT_ROUNDS): Expect as macro, not constant.
30418         (FLT_MANT_DIG): Use macro-int-constant.
30419         (DBL_MANT_DIG): Likewise.
30420         (LDBL_MANT_DIG): Likewise.
30421         (FLT_DIG): Likewise.
30422         (DBL_DIG): Likewise.
30423         (LDBL_DIG): Likewise.
30424         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
30425         (DBL_MIN_EXP): Likewise.
30426         (LDBL_MIN_EXP): Likewise.
30427         (FLT_MAX_EXP): Use macro-int-constant.
30428         (DBL_MAX_EXP): Likewise.
30429         (LDBL_MAX_EXP): Likewise.
30430         (FLT_MAX_10_EXP): Likewise.
30431         (DBL_MAX_10_EXP): Likewise.
30432         (LDBL_MAX_10_EXP): Likewise.
30433         (FLT_MAX): Use macro-constant.
30434         (DBL_MAX): Likewise.
30435         (LDBL_MAX): Likewise.
30436         (FLT_EPSILON): Use macro-constant.  Give upper bound.
30437         (DBL_EPSILON): Likewise.
30438         (LDBL_EPSILON): Likewise.
30439         (FLT_MIN): Likewise.
30440         (DBL_MIN): Likewise.
30441         (LDBL_MIN): Likewise.
30442         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30443         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30444         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30445         [ISO11] (FLT_HAS_SUBNORM): Likewise.
30446         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30447         [ISO11] (DBL_DECIMAL_DIG): Likewise.
30448         [ISO11] (FLT_DECIMAL_DIG): Likewise.
30449         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30450         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30451         [ISO11] (FLT_TRUE_MIN): Likewise.
30452         [ISO11] (LDBL_TRUE_MIN): Likewise.
30453         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30454         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30455         (SCHAR_MIN): Use macro-int-constant.  Specify type.
30456         (SCHAR_MAX): Likewise.
30457         (UCHAR_MAX): Likewise.
30458         (CHAR_MIN): Likewise.
30459         (CHAR_MAX): Likewise.
30460         (MB_LEN_MAX): Use macro-int-constant.
30461         (SHRT_MIN): Use macro-int-constant.  Specify type.
30462         (SHRT_MAX): Likewise.
30463         (USHRT_MAX): Likewise.
30464         (INT_MAX): Likewise.
30465         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
30466         bound negative.
30467         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
30468         bound with "U".
30469         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
30470         bound with "L".
30471         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
30472         bound negative.  Suffix upper bound with "L".
30473         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
30474         bound with "UL".
30475         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30476         Specify type.
30477         [C99-based standards] (LLONG_MAX): Likewise.
30478         [C99-based standards] (ULLONG_MAX): Likewise.
30479         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
30480         == 0.
30481         [ISO11] (max_align_t): Require type.
30482         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30484         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30485         from $CFLAGS, without defining away __attribute__ calls.
30486         (checknamespace): Use $CFLAGS_namespace.
30488         * conform/conformtest.pl (@keywords): Only include C99 keywords
30489         for standards based on C99 or C11.
30491         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30492         Disable tests.
30493         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30494         UNIX98]: Likewise.
30496         * conform/conformtest.pl: Handle "macro-int-constant" and test for
30497         usability of symbols in #if.
30499         * conform/conformtest.pl: If macro or constant types start
30500         "promoted:", expect the symbol to be of the following type
30501         promoted by the integer promotions.
30503         * conform/conformtest.pl: Parse all "constant" and "macro" lines
30504         in one place.  Also handle "macro-constant".
30506         * conform/conformtest.pl: Only accept expected macro values with
30507         "==".  Parse all "macro" lines in one place.
30508         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30510         * conform/conformtest.pl: Handle braced types on "constant" lines
30511         instead of handling "typed-constant".
30512         * conform/data/signal.h-data: Use "constant" instead of
30513         "typed-constant".
30515         * conform/conformtest.pl: Handle "optional-" at start of lines in
30516         one place rather than duplicating several cases.  Handle each
30517         format of "macro" line with initial "optional-".
30519         * conform/conformtest.pl: Only accept expected constant or
30520         optional-constant values with "==".  Parse all "constant" lines in
30521         one place.  Parse all "optional-constant" lines in one place.
30522         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30523         * conform/data/fmtmsg.h-data: Likewise.
30524         * conform/data/netinet/in.h-data: Likewise.
30525         * conform/data/tar.h-data: Likewise.
30526         * conform/data/limits.h-data: Use "==" form on "constant" and
30527         "optional-constant" lines.
30529         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30530         Use -std=c99 for XOPEN2K.
30531         (@knownproblems): Remove.
30532         (newtoken): Don't check %isknown.
30534         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30535         Do not expect macro.
30536         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30537         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30538         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30539         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30540         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30541         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30542         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30543         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30544         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30545         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30546         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30547         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30548         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30549         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30550         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30551         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30552         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30553         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30554         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30555         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30556         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30557         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30558         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30559         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30560         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30561         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30562         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30563         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30564         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30565         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30566         [XPG3] (acosh): Likewise.
30567         [XPG3] (asinh): Likewise.
30568         [XPG3] (atanh): Likewise.
30569         [XPG3] (cbrt): Likewise.
30570         [XPG3] (expm1): Likewise.
30571         [XPG3] (ilogb): Likewise.
30572         [XPG3] (log1p): Likewise.
30573         [XPG3] (logb): Likewise.
30574         [XPG3] (nextafter): Likewise.
30575         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30576         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30577         [XPG3] (remainder): Likewise.
30578         [XPG3] (rint): Likewise.
30579         [XPG3 || XPG4 || UNIX98] (round): Likewise.
30580         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30581         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30582         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30583         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30584         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30585         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30586         [UNIX98 || XOPEN2K] (scalb): Expect.
30587         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30588         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30589         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30590         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30591         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30592         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30593         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30594         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30595         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30596         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30597         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30598         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30599         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30600         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30601         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30602         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30603         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30604         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30605         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30606         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30607         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30608         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30609         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30610         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30611         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30612         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30613         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30614         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30615         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30616         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30617         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30618         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30619         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30620         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30621         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30622         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30623         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30624         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30625         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30626         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30627         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30628         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30629         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30630         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30631         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30632         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30633         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30634         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30635         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30636         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30637         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30638         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30639         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30640         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30641         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30642         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30643         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30644         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30645         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30646         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30647         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30648         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30649         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30650         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30651         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30652         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30653         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30654         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30655         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30656         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30657         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30658         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30659         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30660         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30661         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30662         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30663         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30664         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30665         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30666         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30667         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30668         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30669         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30670         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30671         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30672         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30673         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30674         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30675         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30676         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30677         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30678         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30679         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30680         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30681         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30682         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30683         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30684         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30685         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30686         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30687         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30688         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30689         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30690         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30691         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30692         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30693         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30694         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30695         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30696         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30697         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30698         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30699         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30700         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30701         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30702         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30703         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30704         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30705         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30706         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30707         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30708         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30709         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30710         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30711         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30712         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30713         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30714         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30715         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30716         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30717         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30718         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30719         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30720         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30721         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30722         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30723         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30725         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30726         _XOPEN_SOURCE_EXTENDED for XPG4.
30728         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30730         * Makeconfig (localtime): Remove variable.
30731         (inst_localtime-file): Likewise.
30733 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30736         Update.
30737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30738         Update.
30739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30740         Update.
30741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30742         Update.
30743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30744         Update.
30745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30746         Update.
30747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30748         Update.
30749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30750         Update.
30751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30752         Update.
30754 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
30756         [BZ #2550]
30757         [BZ #2570]
30758         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30759         comparisons to determine direction to adjust input.
30760         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30761         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30762         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30763         Likewise.
30764         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30765         Likewise.
30766         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30767         Likewise.
30768         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30769         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30770         Likewise.
30771         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30772         Likewise.
30773         * math/libm-test.inc (nexttoward_test): Add more tests.
30775 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30777         [BZ #14040]
30778         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30779         in version GLIBC_2.1, not GLIBC_2.0.
30780         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30781         Likewise.
30783 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
30785         [BZ #13942]
30786         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30787         (1 - x) * (1 + x).
30788         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30789         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30790         * math/libm-test.inc (acos_test): Add more tests.
30791         (asin_test): Likewise.
30792         * sysdeps/i386/fpu/libm-test-ulps: Update.
30793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30795         [BZ #14034]
30796         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30797         of square root.
30798         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30799         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30800         * math/libm-test.inc (acos_test_tonearest): New function.
30801         (acos_test_towardzero): Likewise.
30802         (acos_test_downward): Likewise.
30803         (acos_test_upward): Likewise.
30804         (asin_test_tonearest): Likewise.
30805         (asin_test_towardzero): Likewise.
30806         (asin_test_downward): Likewise.
30807         (asin_test_upward): Likewise.
30808         (main): Call the new functions.
30809         * sysdeps/i386/fpu/libm-test-ulps: Update.
30810         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30812         [BZ #13884]
30813         [BZ #13924]
30814         * math/e_exp10.c: Include <float.h>.
30815         (__ieee754_exp10): Handle underflow here rather than multiplying
30816         large negative argument by M_LN10.
30817         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30818         of __ieee754_expf.
30819         * math/e_exp10l.c: Include <float.h>.
30820         (__ieee754_exp10l): Handle underflow here rather than multiplying
30821         large negative argument by M_LN10l.
30822         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
30823         spurious overflow exception on underflow.
30825 2012-04-29  Marek Polacek  <polacek@redhat.com>
30827         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30828         (__fortify_function): New macro.
30829         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30830         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30831         __extern_always_inline.
30832         * libio/bits/stdio2.h: Likewise.
30833         * libio/bits/stdio.h: Likewise.
30834         * string/string.h: Likewise.
30835         * string/bits/string3.h: Likewise.
30836         * include/stdio.h: Likewise.
30837         * stdlib/bits/stdlib.h: Likewise.
30838         * stdlib/stdlib.h: Likewise.
30839         * rt/bits/mqueue2.h: Likewise.
30840         * rt/mqueue.h: Likewise.
30841         * posix/bits/unistd.h: Likewise.
30842         * posix/unistd.h: Likewise.
30843         * io/bits/poll2.h: Likewise.
30844         * io/bits/fcntl2.h: Likewise.
30845         * io/fcntl.h: Likewise.
30846         * io/sys/poll.h: Likewise.
30847         * misc/bits/syslog.h: Likewise.
30848         * misc/bits/syslog-ldbl.h: Likewise.
30849         * misc/sys/syslog.h: Likewise.
30850         * socket/bits/socket2.h: Likewise.
30851         * socket/sys/socket.h: Likewise.
30852         * debug/tst-chk1.c: Likewise.
30853         * wcsmbs/bits/wchar2.h: Likewise.
30854         * wcsmbs/bits/wchar-ldbl.h: Likewise.
30855         * wcsmbs/wchar.h: Likewise.
30857 2012-04-29  Andreas Jaeger  <aj@suse.de>
30859         * Makerules (tests): Remove enable-check-abi protection.
30860         (check-abi-warn): Remove.
30861         (check-abi-%): Remove check-abi-warn usage.
30863         * configure.in: Remove check-abi configure option.
30864         * configure: Regenerated.
30865         * config.make.in (enable-check-abi): Remove.
30867 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
30869         [BZ #14033]
30870         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30871         double functions to double *_finite functions.
30873         [BZ #13941]
30874         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30875         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30876         LDBL_MIN_EXP.
30877         * stdio-common/Makefile (tests): Add tst-sprintf3.
30878         * stdio-common/tst-sprintf3.c: New file.
30880         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30881         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30883 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
30885         * conform/conformtest.pl: Remove duplicate typed-constant
30886         handling.
30888 2012-04-28  David S. Miller  <davem@davemloft.net>
30890         * Makerules (%.abilist): Add vpath on sysdep_dirs.
30891         (check-abi-%): Remove AWK script prerequisite and explicit
30892         abilist directory.
30893         (check-abi): Rewrite to just diff the symlist with the abilist.
30894         (config-tls, config-abi-config): Delete, no longer used.
30895         (update-abi-%): Remove AWK script and explicit abilist directory.
30896         (update-abi): Rewrite to simply compare and conditionally copy the
30897         symlist and the sysdep abilist file.  Remove update-abi-config
30898         checks.
30899         * abilist/ld.abilist: Remove.
30900         * abilist/libBrokenLocale.abilist: Remove.
30901         * abilist/libanl.abilist: Remove.
30902         * abilist/libcrypt.abilist: Remove.
30903         * abilist/libdl.abilist: Remove.
30904         * abilist/librt.abilist: Remove.
30905         * abilist/libthread_db.abilist: Remove.
30906         * abilist/libutil.abilist: Remove.
30907         * scripts/extract-abilist.awk: Remove.
30908         * scripts/merge-abilist.awk: Remove.
30909         * sysdeps/generic/libcidn.abilist: New file.
30910         * sysdeps/generic/libnss_compat.abilist: New file.
30911         * sysdeps/generic/libnss_db.abilist: New file.
30912         * sysdeps/generic/libnss_dns.abilist: New file.
30913         * sysdeps/generic/libnss_files.abilist: New file.
30914         * sysdeps/generic/libnss_hesiod.abilist: New file.
30915         * sysdeps/generic/libnss_nis.abilist: New file.
30916         * sysdeps/generic/libnss_nisplus.abilist: New file.
30917         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30918         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30919         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30920         file.
30921         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30922         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30923         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30924         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30925         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30926         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30927         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30928         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30929         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30930         file.
30931         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30932         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30933         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30934         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30935         file.
30936         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30937         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30938         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30939         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30940         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30941         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30942         file.
30943         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30944         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30945         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30946         file.
30947         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30948         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30949         New file.
30950         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30951         New file.
30952         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30953         New file.
30954         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30955         New file.
30956         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30957         New file.
30958         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30959         New file.
30960         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30961         New file.
30962         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30963         New file.
30964         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30965         New file.
30966         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30967         New file.
30968         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30969         New file.
30970         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30971         New file.
30972         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30973         New file.
30974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30975         file.
30976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30977         New file.
30978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30979         New file.
30980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30981         file.
30982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30983         New file.
30984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30985         New file.
30986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30987         file.
30988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30989         New file.
30990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30991         New file.
30992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30993         New file.
30994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30995         New file.
30996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30997         New file.
30998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30999         New file.
31000         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31001         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31002         file.
31003         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31004         New file.
31005         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31006         file.
31007         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31008         file.
31009         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31010         file.
31011         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31012         file.
31013         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31014         file.
31015         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31016         New file.
31017         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31018         file.
31019         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31020         file.
31021         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31022         New file.
31023         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31024         file.
31025         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31026         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31027         file.
31028         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31029         New file.
31030         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31031         file.
31032         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31033         file.
31034         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31035         file.
31036         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31037         file.
31038         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31039         file.
31040         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31041         New file.
31042         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31043         file.
31044         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31045         file.
31046         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31047         New file.
31048         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31049         file.
31050         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31051         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31052         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31053         file.
31054         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31055         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31056         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31057         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31058         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31059         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31060         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31061         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31062         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31063         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31065         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31066         file.
31067         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31068         New file.
31069         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31070         file.
31071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31072         file.
31073         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31074         file.
31075         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31076         file.
31077         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31078         file.
31079         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31080         New file.
31081         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31082         New file.
31083         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31084         file.
31085         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31086         New file.
31087         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31088         file.
31089         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31090         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31091         file.
31092         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31093         New file.
31094         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31095         file.
31096         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31097         file.
31098         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31099         file.
31100         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31101         file.
31102         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31103         file.
31104         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31105         New file.
31106         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31107         New file.
31108         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31109         file.
31110         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31111         New file.
31112         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31113         file.
31115 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
31117         * conform/conformtest.pl: Fix typo in handling typed-constant from
31118         allow-header.
31120 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
31122         * README: Cut down references to pre-2.6 Linux kernels and
31123         Linuxthreads.  Update lists of configurations in libc and ports
31124         and sort alphabetically.  Say "or newer" with Linux kernel version
31125         requirements.
31127         * config.h.in [IS_IN_build]: Allow compiling without optimization.
31129 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31131         [BZ #887]
31132         * math/libm-test.inc (logb_test_downward): New test to expose
31133         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31134         rounding mode.
31136 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
31138         [BZ #14027]
31139         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31140         to be done.
31141         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31142         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31144 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
31146         * sysdeps/unix/i386/brk.S: Remove file.
31147         * sysdeps/unix/i386/dl-brk.S: Likewise.
31148         * sysdeps/unix/i386/pipe.S: Likewise.
31149         * sysdeps/unix/i386/sigreturn.S: Likewise.
31150         * sysdeps/unix/i386/syscall.S: Likewise.
31151         * sysdeps/unix/i386/vfork.S: Likewise.
31152         * sysdeps/unix/i386/wait.S: Likewise.
31154         * sysdeps/unix/common/tcsendbrk.c: Move to ...
31155         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31157         * configure.in (arm*-none*): Do not allow without
31158         --enable-hacker-mode.
31159         (netbsd*): Remove case setting base_os.
31160         (386bsd*): Likewise.
31161         (freebsd*): Likewise.
31162         (bsdi*): Likewise.
31163         (osf*): Likewise.
31164         (sunos*): Likewise.
31165         (ultrix*): Likewise.
31166         (newsos*): Likewise.
31167         (dynix*): Likewise.
31168         (*bsd*): Likewise.
31169         (sysv*): Likewise.
31170         (isc*): Likewise.
31171         (esix*): Likewise.
31172         (sco*): Likewise.
31173         (minix*): Likewise.
31174         (irix4*): Likewise.
31175         (irix6*): Likewise.
31176         (solaris[2-9]*): Likewise.
31177         (none): Likewise.
31178         * configure: Regenerated.
31180 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31182         [BZ #11521]
31183         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31184         overflow or cancellation in calculating denominator.
31185         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31186         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31187         down expression to avoid unexpected rounding in newer GCCs.
31188         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31190 2012-04-26  David S. Miller  <davem@davemloft.net>
31192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31193         long-double compat symbols.
31194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31199         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31200         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31201         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31202         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31203         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31204         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31205         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31206         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31208 2012-04-25  David S. Miller  <davem@davemloft.net>
31210         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31211         HWCAP_* values only after the memory barriers have been defined.
31212         (atomic_full_barrier): Define.
31213         (atomic_read_barrier): Define.
31214         (atomic_write_barrier): Define.
31216 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31218         * shlib-versions: Add libgcc_s version information.
31219         * sysdeps/generic/libgcc_s.h: Remove.
31220         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31221         libgcc_s.h.
31222         * sysdeps/gnu/unwind-resume.c: Likewise.
31223         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31225 2012-04-25  David S. Miller  <davem@davemloft.net>
31227         * sysdeps/unix/sparc/brk.S: Delete.
31228         * sysdeps/unix/sparc/dl-brk.S: Delete.
31229         * sysdeps/unix/sparc/pipe.S: Delete.
31230         * sysdeps/unix/sparc/sysdep.S: Delete.
31231         * sysdeps/unix/sparc/sysdep.h: Delete.
31232         * sysdeps/unix/sparc/vfork.S: Delete.
31233         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31234         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31235         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31236         ret_ERRVAL, r0, r1, MOVE): Define.
31237         (JUMPTARGET): Remove.
31238         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31239         sysdeps/unix/sparc/sysdep.h
31240         (ENTRY, END): Remove.
31241         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31243 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
31245         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31246         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31247         -DIS_IN_build.
31249         * timezone/README: Update upstream location and email address for
31250         tzcode and tzdata.
31251         * timezone/zdump.c: Update from tzcode 2012b.
31252         * timezone/zic.c: Likewise.
31254         * configure.in (libc_cv_as_needed): Remove test.
31255         * configure: Regenerated.
31256         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31257         conditional definition.
31258         [$(have-as-needed) != yes] (no-as-needed): Likewise.
31259         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31260         * config.make.in (have-as-needed): Remove variable.
31262 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31263             Paul Pluzhnikov  <ppluzhnikov@google.com>
31265         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31266         strings correctly.
31268 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
31270         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31271         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31272         * sysdeps/sh/strlen.S: Likewise.
31274 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
31276         * sysdeps/unix/fork.S: Remove file.
31277         * sysdeps/unix/i386/fork.S: Likewise.
31278         * sysdeps/unix/sparc/fork.S: Likewise.
31280         * sysdeps/unix/system.c: Remove file.
31281         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31283         * sysdeps/unix/getegid.S: Remove file.
31284         * sysdeps/unix/geteuid.S: Likewise.
31286 2012-04-24  Roland McGrath  <roland@hack.frob.com>
31288         * scripts/check-localplt.awk: New file.
31289         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31290         of diff.
31291         * scripts/data/localplt-generic.data: Add a comment.
31293         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31294         NODE when __dir_mkfile failed.
31295         * sysdeps/mach/hurd/symlinkat.c: Likewise.
31296         Reported by Ludovic Courtès <ludo@gnu.org>.
31298 2012-04-24  Andreas Jaeger  <aj@suse.de>
31300         * Makerules (common-clean): Also remove gen-as-const-headers
31301         files.
31303 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
31305         * Makerules (native-compile): Do not change working directory for
31306         build.  Use $(OUTPUT_OPTION) in command.
31307         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31309 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31311         [BZ #13886]
31312         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31313         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31314         * math/libm-test.inc (floor_test): Add more tests.
31315         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31317 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
31319         * sysdeps/unix/getdents.c: Remove file.
31320         * sysdeps/unix/sysv/getdents.c: Likewise.
31321         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31323         * sysdeps/unix/syscalls.list (madvise): Add syscall from
31324         sysdeps/unix/mman/syscalls.list.
31325         (mmap): Likewise.
31326         (mprotect): Likewise.
31327         (msync): Likewise.
31328         (munmap): Likewise.
31329         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31330         * sysdeps/unix/mman/syscalls.list: Remove.
31331         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31333         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31334         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31335         * configure: Regenerated.
31336         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31337         $(libgcc_s_suffix).
31338         * config.make.in (libgcc_s_suffix): Remove variable.
31340 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
31342         * sysdeps/unix/sysv/gethostname.c: Move to ...
31343         * sysdeps/posix/gethostname.c: ... here.
31345         * sysdeps/unix/execve.S: Remove file.
31347         * sysdeps/unix/_exit.S: Remove file.
31349 2012-04-23  Andreas Jaeger  <aj@suse.de>
31351         [BZ #13739]
31352         * manual/Makefile: Remove make dist support, there's no
31353         need for a stand-alone documentation tar ball.
31354         (TEXI2DVI): Define always, it's not in Makeconfig.
31355         (dist): Removed.
31356         (tar-it): Removed.
31357         (edition): Removed.
31358         (glibc-doc-$(edition).tar): Removed
31359         (%.Z): Removed.
31360         (%.gz): Removed.
31361         (%.uu): Removed.
31362         (ETAGS): Remove, it's in Makeconfig.
31363         (move-if-change): Remove, it's in Makeconfig.
31365 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
31367         [BZ #13970]
31368         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31369         (strtod, strtof, strtold, strtol, strtoul, strtoq)
31370         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31371         (strtod_l, strtof_l, strtold_l): Remove __wur.
31372         It is not necessarily an error to ignore strtol's return value.
31373         One can reliably look at the stored endptr to decide whether
31374         the number had valid syntax.
31376 2012-04-21  Andreas Jaeger  <aj@suse.de>
31378         [BZ #13739]
31379         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31381 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
31383         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31384         * sysdeps/unix/sysv/Versions: Remove file.
31386 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
31388         [BZ #13927]
31389         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31391 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
31393         [BZ #7064]
31394         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31395         version from __vm86.
31397 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
31399         * sysdeps/unix/common/lxstat.c: Remove file.
31400         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31402         * sysdeps/unix/sysv/Makefile: Remove file.
31404         * sysdeps/unix/sysv/direct.h: Remove file.
31406         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31407         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31408         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31409         * sysdeps/unix/sysv/bits/signum.h: Likewise.
31410         * sysdeps/unix/sysv/bits/stat.h: Likewise.
31411         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31412         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31414         * sysdeps/unix/sysv/setrlimit.c: Remove file.
31416         * sysdeps/unix/xmknod.c: Remove file.
31417         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31419         * sysdeps/unix/sysv/settimeofday.c: Remove file.
31421         * sysdeps/unix/sysv/i386/time.S: Remove file.
31423         * sysdeps/unix/fxstat.c: Remove file.
31424         * sysdeps/unix/xstat.c: Likewise.
31425         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31427         * sysdeps/unix/sysv/sigaction.c: Remove file.
31429         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31430         (sysdep_headers): Remove variable.
31431         [termio.h not in sysdep_headers] (generated): Likewise.
31432         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31433         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31434         * sysdeps/unix/sysv/tcdrain.c: Likewise.
31435         * sysdeps/unix/sysv/tcflow.c: Likewise.
31436         * sysdeps/unix/sysv/tcflush.c: Likewise.
31437         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31438         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31439         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31440         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31441         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31443         * sysdeps/unix/siglist.c: Remove file.
31445         * sysdeps/unix/getppid.S: Remove file.
31447         * sysdeps/unix/mkdir.c: Remove file.
31448         * sysdeps/unix/rmdir.c: Likewise.
31450 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
31452         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31453         ERR_MAX value.
31454         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31455         errlist-compat value.
31457 2012-04-18  David S. Miller  <davem@davemloft.net>
31459         * sysdeps/generic/memcopy.h (reg_char): Delete.
31460         * debug/strcat_chk.c: Use char, not reg_char.
31461         * debug/strcpy_chk.c: Likewise.
31462         * debug/strncat_chk.c: Likewise.
31463         * debug/strncpy_chk.c: Likewise.
31464         * string/memchr.c: Likewise.
31465         * string/memrchr.c: Likewise.
31466         * string/rawmemchr.c: Likewise.
31467         * string/strcat.c: Likewise.
31468         * string/strchr.c: Likewise.
31469         * string/strchrnul.c: Likewise.
31470         * string/strcmp.c: Likewise.
31471         * string/strcpy.c: Likewise.
31472         * string/strncat.c: Likewise.
31473         * string/strncmp.c: Likewise.
31474         * string/strncpy.c: Likewise.
31476 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
31478         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31479         __builtin_memcopy is called when src and dest ranges are known to not
31480         overlap.
31482 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
31484         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31485         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31486         fwd_align_merge macro call.
31487         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31488         bwd_align_merge macro call.
31489         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31491 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
31493         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31494         bwd_align_merge macros.
31495         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31496         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31497         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31499 2012-04-18  David S. Miller  <davem@davemloft.net>
31501         * sysdeps/sparc/sparc64/memcopy.h: Delete.
31503 2012-04-18  Andreas Jaeger  <aj@suse.de>
31505         [BZ# 6794]
31506         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31507         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31508         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31510         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31511         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31512         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31514         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31515         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31516         Adjust for changed ldbl-128 files.
31518         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31519         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31520         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31522 2012-04-17  David S. Miller  <davem@davemloft.net>
31524         * sysdeps/sparc/sparc32/memcopy.h: Delete.
31526 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
31528         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31529         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31530         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31531         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31532         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31533         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31535 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31537         [BZ #6794]
31538         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31539         * math/libm-test.inc: Add ilogb errno and exception tests.
31540         * math/w_ilogb.c: New file: ilogb wrapper.
31541         * math/w_ilogbf.c: New file: ilogbf wrapper.
31542         * math/w_ilogbl.c: New file: ilogbl wrapper.
31543         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31544         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31545         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31546         exception being thrown with 0.0 as argument.
31547         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31548         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31549         exception being thrown with 0.0 as argument.
31550         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31551         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31552         exception being thrown with 0.0 as argument.
31553         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31554         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31555         exception being thrown with 0.0 as argument.
31556         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31557         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31558         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31559         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31560         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31561         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31562         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31563         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31564         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31566 2012-04-17  Petr Baudis  <pasky@ucw.cz>
31568         * include/sys/uio.h: Change __vector to __iovec to avoid clash
31569         with altivec.
31571 2012-04-16  Marek Polacek  <polacek@redhat.com>
31573         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31575 2012-04-16  Marek Polacek  <polacek@redhat.com>
31577         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31578         operands of fdivp instruction.
31580 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
31582         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31583         * elf/tst-auditmod3b.c: Likewise.
31584         * elf/tst-auditmod4b.c: Likewise.
31585         * elf/tst-auditmod5b.c: Likewise.
31586         * elf/tst-auditmod6b.c: Likewise.
31587         * elf/tst-auditmod6c.c: Likewise.
31588         * elf/tst-auditmod7b.c: Likewise.
31589         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31590         * sysdeps/x86_64/preconfigure.in: Likewise.
31591         * sysdeps/x86_64/preconfigure: Regenerated.
31593 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
31595         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31596         __ILP32__.
31598 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
31600         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31601         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31603 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
31605         [BZ #13973]
31606         * locale/iso-639.def: Fix gl language name. Spotted by
31607         Yaron Shahrabani.
31609 2012-04-12  Roland McGrath  <roland@hack.frob.com>
31611         [BZ #2074]
31612         * libio/libio.h (__io_write_fn): Update comment.
31614 2012-04-12  Petr Baudis  <pasky@ucw.cz>
31616         [BZ #2074]
31617         * stdio.texi (Hook Functions): The user provided writer function
31618         is not allowed to return -1.
31620 2012-04-11  David S. Miller  <davem@davemloft.net>
31622         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31624 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
31626         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31627         Add a leading slash to rtkaio.
31629 2012-04-11  Jim Meyering  <meyering@redhat.com>
31631         [BZ #11959]
31632         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31633         It is not necessarily an error to ignore fwrite's return
31634         value.  One can reliably use ferror to test for errors after
31635         the fact.
31637 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
31639         * bits/types.h (__snseconds_t): New type.
31640         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31642         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31643         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31644         (__SNSECONDS_T_TYPE): Likewise.
31645         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31646         (__SNSECONDS_T_TYPE): Likewise.
31647         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31648         (__SNSECONDS_T_TYPE): Likewise.
31650 2012-04-10  Andreas Jaeger  <aj@suse.de>
31652         [BZ #2636]
31653         * manual/time.texi (Processor Time): Return type of times is
31654         elapsed real time since an arbitrary point in the past.
31655         (CPU Time): Move CLK_TCK from here...
31656         (Processor Time): ...to here.  Correct description.
31657         * manual/conf.texi (Constants for Sysconf): Correct description of
31658         _SC_CLK_TCK.
31660 2012-04-10  David S. Miller  <davem@davemloft.net>
31662         [BZ #13967]
31663         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31664         where the is a gap between DT_REL(A) and DT_JMPREL.
31666 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
31668         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31669         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31670         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31672 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31674         * elf/dl-support.c (_dl_inhibit_cache): New variable.
31675         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31676         (dl_main): Handle --inhibit-cache.
31677         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31678         _dl_inhibit_cache.
31679         * elf/dl-load.c (_dl_map_object): Use it.
31680         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31682 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
31684         [BZ #13872]
31685         * sysdeps/i386/fpu/e_powl.S (p78): New object.
31686         (__ieee754_powl): Saturate large exponents rather than testing for
31687         overflow of y*log2(x).
31688         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31689         * math/libm-test.inc (pow_test): Do not permit spurious overflow
31690         exceptions.
31692         [BZ #11521]
31693         * math/s_ctan.c: Include <float.h>.
31694         (__ctan): Avoid internal overflow or cancellation in calculating
31695         denominator.
31696         * math/s_ctanf.c: Likewise.
31697         * math/s_ctanl.c: Likewise.
31698         * math/s_ctanh.c: Likewise.
31699         * math/s_ctanhf.c: Likewise.
31700         * math/s_ctanhl.c: Likewise.
31701         * math/libm-test.inc (ctan_test): Add more tests.
31702         (ctanh_test): Likewise.
31703         * sysdeps/i386/fpu/libm-test-ulps: Update.
31704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31706 2012-04-09  Andreas Jaeger  <aj@suse.de>
31708         [BZ #6894]
31709         * manual/filesys.texi (Directory Entries): Mention that d_namlen
31710         is an optional BSD extension.
31712         [BZ #10254]
31713         * manual/stdio.texi (Opening Streams): Document additional fopen
31714         parameters.
31716 2012-04-09  Roland McGrath  <roland@hack.frob.com>
31718         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31719         %eax without telling the compiler.
31721 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
31723         [BZ # 13963]
31724         * manual/install.texi: Use sourceware.org.
31726 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
31728         [BZ #13873]
31729         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31730         (__ieee754_pow): Generate overflow and underflow using huge*huge
31731         and tiny*tiny rather than just returning constant infinity or zero
31732         for large exponents.
31733         * math/libm-test.inc (pow_test): Require overflow exceptions for
31734         applicable cases of large exponents.
31736         [BZ #706]
31737         * sysdeps/i386/fpu/e_pow.S (p10): New object.
31738         (__ieee754_pow): Use iterative multiplication algorithm only for
31739         integer exponents with absolute value below 1024.  Check for odd
31740         integer exponents when using algorithm for real exponents.
31741         * math/libm-test.inc (pow_test): Add more tests.
31742         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31744 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
31746         [BZ #13705]
31747         * math/libm-test.inc (exp_test): Do not allow overflow exception
31748         on underflow test.
31750 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
31752         [BZ #13705]
31753         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31754         instead of __kernel_standard_f.
31756 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
31758         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31759         * sysdeps/x86_64/memset_chk.S: Likewise.
31761 2012-04-08  Andreas Jaeger  <aj@suse.de>
31763         [BZ #10153]
31764         * manual/startup.texi (Environment Access): Describe return value
31765         for putenv and setenv.
31767         [BZ #6895]
31768         * manual/filesys.texi (Directory Entries): Add description for
31769         DT_LNK.
31771         [BZ #6890]
31772         * manual/filesys.texi (Directory Entries): Clarify that it's file
31773         system not operating system in the description of DT_UNKNOWN.
31775         [BZ #6578]
31776         * manual/syslog.texi (closelog): Fix reference, it's openlog.
31778 2012-04-08  Stephen Compall  <s11@member.fsf.org>
31780         [BZ #6649]
31781         * manual/llio.texi (Opening and Closing Files): Add cross
31782         reference to explain mode argument.
31784 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
31786         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31787         * sysdeps/x86_64/memset_chk.S: Likewise.
31789 2012-04-07  David S. Miller  <davem@davemloft.net>
31791         * elf/elf.h (R_SPARC_WDISP10): Define.
31792         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31793         R_SPARC_SIZE32.
31794         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31795         R_SPARC_SIZE64 and R_SPARC_H34.
31797 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
31799         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31800         conditions and remove no longer applicable assertion.
31802 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
31804         * bits/byteswap.h: Include <features.h>.
31805         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31806         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31808 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
31810         * bits/byteswap.h (__bswap_16): Removed.
31811         Include <bits/byteswap-16.h> to get __bswap_16.
31812         * sysdeps/i386/bits/byteswap.h: Likewise.
31813         * sysdeps/s390/bits/byteswap.h: Likewise.
31814         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31815         * bits/byteswap-16.h: New file.
31816         * sysdeps/i386/bits/byteswap-16.h: Likewise.
31817         * sysdeps/s390/bits/byteswap-16.h: Likewise.
31818         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31819         * string/Makefile (headers): Add bits/byteswap-16.h.
31821 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31823         [BZ #13895]
31824         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31825         extra indirection.
31826         * nss/Makefile (tests-static, tests): Add tst-nss-static.
31827         * nss/tst-nss-static.c: New.
31829 2012-04-06  Robert Millan  <rmh@gnu.org>
31831         [BZ #6486]
31832         * manual/llio.texi (File Position Primitive): lseek
31833         refers to WHENCE when it really means OFFSET.
31835 2012-04-06  Andreas Jaeger  <aj@suse.de>
31837         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31838         strncmp declarations.
31840         * abilist/libc.abilist: Add __poll and __ppoll.
31842 2012-04-05  David S. Miller  <davem@davemloft.net>
31844         * scripts/check-local-headers.sh: Accept a host triplet in the
31845         path matched by the exclude regexp.
31847         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31848         definition.
31849         * sysdeps/powerpc/powerpc32/dl-machine.h
31850         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31851         * sysdeps/s390/s390-32/dl-machine.h
31852         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31853         * sysdeps/sparc/sparc32/dl-machine.h
31854         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31855         * sysdeps/sparc/sparc64/dl-machine.h
31856         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31858         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31859         lazy binding.
31860         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
31861         undefined symbol errors.
31863         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
31864         DT_NEEDED entries.
31866 2012-04-05  Michael Matz  <matz@suse.de>
31868         [BZ #13592]
31869         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31871 2012-04-05  Andreas Jaeger  <aj@suse.de>
31873         [BZ #13908]
31874         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31875         comment.
31877 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31879         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31880         which ROUND is no valid rounding mode.
31882 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31884         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31885         read again.
31886         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31888 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31890         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31891         an exception using FPU order intentionally.
31893 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31895         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31896         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31897         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31898         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31900 2012-04-05  Simon Josefsson  <simon@josefsson.org>
31902         [BZ #12340]
31903         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31904         EINVAL when BUFLEN is too smal.
31906 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
31908         [BZ #13553]
31909         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31910         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31912 2012-04-03  Andreas Jaeger  <aj@suse.de>
31914         [BZ #13938]
31915         * manual/setjmp.texi (System V contexts): Fix sentence.
31917         [BZ #13926]
31918         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31919         New macro for this case.
31920         [!__GNUC__] (__bswap_64): New inline function for this case.
31921         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31922         * bits/byteswap.h: Likewise.
31923         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31924         ull, guard with __GLIBC_HAVE_LONG_LONG.
31926         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31927         __GLIBC_HAVE_LONG_LONG.
31929         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31930         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31932 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31934         [BZ #13691]
31935         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31936         inptr and inend, rather than using last_ch.
31938 2012-04-02  David S. Miller  <davem@davemloft.net>
31940         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31941         * stdio-common/printf-parse.h (read_int): Change return type to
31942         'int', return -1 on INT_MAX overflow.
31943         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31944         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
31945         overflows INT_MAX.  Check for overflow of in-format-string precision
31946         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
31947         SIZE_MAX not INT_MAX for integer overflow test.
31948         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31949         skip the construct in the format string but do not record anything.
31950         * stdio-common/bug22.c: Adjust to test both width/prevision
31951         INT_MAX overflow as well as total length INT_MAX overflow.  Check
31952         explicitly for proper errno values.
31954 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
31956         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31957         CHAR_MAX.
31958         * string/test-strcmp.c [! WIDE]: Likewise.
31959         * time/tst-mktime2.c: Likewise for INT_MAX.
31960         * string/test-string.h: #include <sys/param.h> for MIN.
31962         * csu/init-first.c (__libc_init_first): Call __ctype_init.
31963         * sysdeps/i386/init-first.c (init): Likewise.
31964         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31965         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31966         * sysdeps/sh/init-first.c (init): Likewise.
31968 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
31970         * po/ru.po: Update from translation team.
31971         * po/vi.po: Likewise.
31973 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31975         * resolv/nss_dns/dns-host.c: Merge copyright years.
31977 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31979         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31980         Optimize memcpy with prefetch if
31981         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
31982         src, dst pointers have unequal 16 byte alignments.
31984 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31986         [BZ #13928]
31987         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31988         from a CNAME entry and return the minimum ttl for the query.
31989         (gaih_getanswer_slice): Likewise.
31991 2012-03-30  Jeff Law  <law@redhat.com>
31993         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31994         due to long keys.
31995         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31996         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31998         * resolv/nss_dns/dns-host.c: Update copyright year.
32000 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
32002         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32003         requests to save a system call.  Fix check that all bytes are sent.
32005         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32006         comments for sendmmsg.
32008 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32010         [BZ #13691]
32011         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32012         with only 1 character between 0x0041 and 0x01b0.
32013         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32014         * wcsmbs/tst-mbsnrtowcs.c: New file.
32016 2012-03-29  David S. Miller  <davem@davemloft.net>
32018         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32019         small copies by hand.
32021 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32023         [BZ #13761]
32024         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
32025         _nss_compat_initgroups_dyn): Fall back to malloc/free
32026         for large group memberships.
32028 2012-03-28  David S. Miller  <davem@davemloft.net>
32030         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32031         that branches into memcpy.
32032         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32033         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32034         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32035         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32036         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32037         bits.
32038         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32039         implementation too.
32040         * sysdeps/sparc/mempcpy.S: New file.
32042         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32043         the IFUNC routine in the libc case.
32044         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32046         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32047         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32048         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32049         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32050         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32051         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32052         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32053         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32055         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32056         loop to 256 bytes instead of 64 bytes and fix test signedness.
32058         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32059         * sysdeps/sparc/sparc32/Makefile: rather than here...
32060         * sysdeps/sparc/sparc64/Makefile: and here.
32062 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
32064         * malloc/mallocbug.c: Avoid warnings about unused variables.
32066 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32068         [BZ #13760]
32069         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32070         in the right place. Discard and retry query if response is
32071         larger than input buffer size.
32073 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
32075         [BZ #369]
32076         [BZ #2678]
32077         [BZ #3866]
32078         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32079         x for large integer exponent.
32080         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32081         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
32082         sign of result as needed afterwards.
32083         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32084         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32085         result for underflowing pow the same as for overflow.
32086         (__kernel_standard_l): Handle powl overflow and underflow here
32087         rather than calling __kernel_standard.
32088         * math/libm-test.inc (pow_test): Add more tests.
32090         [BZ #3868]
32091         [BZ #13879]
32092         [BZ #13910]
32093         [BZ #13911]
32094         [BZ #13912]
32095         [BZ #13913]
32096         [BZ #13915]
32097         [BZ #13916]
32098         [BZ #13917]
32099         [BZ #13918]
32100         [BZ #13919]
32101         [BZ #13920]
32102         [BZ #13921]
32103         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32104         * sysdeps/ieee754/k_standard.c: Include <float.h>.
32105         (__kernel_standard_l): New function.
32106         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32107         __kernel_standard.
32108         * math/w_acosl.c (__acosl): Likewise.
32109         * math/w_asinl.c (__asinl): Likewise.
32110         * math/w_atan2l.c (__atan2l): Likewise.
32111         * math/w_atanhl.c (__atanhl): Likewise.
32112         * math/w_coshl.c (__coshl): Likewise.
32113         * math/w_exp10l.c (__exp10l): Likewise.
32114         * math/w_exp2l.c (__exp2l): Likewise.
32115         * math/w_fmodl.c (__fmodl): Likewise.
32116         * math/w_hypotl.c (__hypotl): Likewise.
32117         * math/w_j0l.c (__j0l, __y0l): Likewise.
32118         * math/w_j1l.c (__j1l, __y1l): Likewise.
32119         * math/w_jnl.c (__jnl, __ynl): Likewise.
32120         * math/w_lgammal.c (__lgammal): Likewise.
32121         * math/w_log10l.c (__log10l): Likewise.
32122         * math/w_log2l.c (__log2l): Likewise.
32123         * math/w_logl.c (__logl): Likewise.
32124         * math/w_powl.c (__powl): Likewise.
32125         * math/w_remainderl.c (__remainderl): Likewise.
32126         * math/w_scalbl.c (sysv_scalbl): Likewise.
32127         * math/w_sinhl.c (__sinhl): Likewise.
32128         * math/w_sqrtl.c (__sqrtl): Likewise.
32129         * math/w_tgammal.c (__tgammal): Likewise.
32130         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32131         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32132         * math/libm-test.inc (acos_test): Add more tests.
32133         (acosh_test): Likewise.
32134         (asin_test): Likewise.
32135         (atanh_test): Likewise.
32136         (exp_test): Likewise.
32137         (exp10_test): Likewise.
32138         (exp2_test): Likewise.
32139         (expm1_test): Likewise.
32140         (lgamma_test): Likewise.
32141         (log_test): Likewise.
32142         (log10_test): Likewise.
32143         (log1p_test): Likewise.
32144         (log2_test): Likewise.
32145         (pow_test): Do not allow some spurious overflow exceptions.
32146         (sqrt_test): Add more tests.
32147         (tgamma_test): Likewise.
32148         (y0_test): Likewise.
32149         (y1_test): Likewise.
32150         (yn_test): Likewise.
32152 2012-03-27  Anton Blanchard  <anton@samba.org>
32154         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32155         MAP_HUGETLB.
32156         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32157         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32158         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32160 2012-03-27  David S. Miller  <davem@davemloft.net>
32162         * conform/Makefile: Run run-conformtest.sh using $(BASH).
32164         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32165         have-as-vis3 check.
32167 2012-03-27  Andreas Jaeger  <aj@suse.de>
32169         * sysdeps/x86_64/elf/configure.in: Moved to ...
32170         * sysdeps/x86_64/configure.in: ... here.
32171         * sysdeps/x86_64/elf/start.S: Moved to ...
32172         * sysdeps/x86_64/start.S: ... here.
32173         * sysdeps/x86_64/elf/configure: Delete.
32175         * sysdeps/x86_64/configure.in: Merge contents from
32176         sysdeps/i386/configure.in (without i686 check).
32178         * sysdeps/i386/elf/Versions: Merge into ...
32179         * sysdeps/i386/Versions: ... this.
32180         * sysdeps/i386/elf/Versions: Delete file.
32181         * sysdeps/i386/elf/start.S: Moved to ...
32182         * sysdeps/i386/start.S: ...here.
32183         * sysdeps/i386/elf/configure.in: Merge into...
32184         * sysdeps/i386/configure.in: ...here.
32185         * sysdeps/i386/elf/configure.in: Delete file.
32186         * sysdeps/i386/elf/configure: Delete file.
32188         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32189         * debug/backtracesyms.c: ... here.
32190         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32191         * debug/backtracesymsfd.c: ... here.
32192         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32193         * sysdeps/generic/ifunc-sel.h: ... here.
32195         * sysdeps/unix/i386/start.c: Delete file.
32196         * sysdeps/unix/sparc/start.c: Delete file.
32197         * sysdeps/unix/start.c: Delete file.
32199         * sysdeps/sh/elf/configure.in: Moved to ...
32200         * sysdeps/sh/configure.in: ... here.
32201         * sysdeps/sh/elf/start.S: Moved to ...
32202         * sysdeps/sh/start.S: ... here.
32203         * sysdeps/sh/elf/configure: Delete file.
32205         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32206         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32207         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32208         * sysdeps/powerpc/powerpc64/entry.h: ... here.
32209         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32210         * sysdeps/powerpc/powerpc64/start.S: here.
32211         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32212         * sysdeps/powerpc/powerpc64/Makefile: ... this.
32213         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32214         * sysdeps/powerpc/powerpc64/configure.in: ... this.
32215         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32217         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32218         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32219         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32220         * sysdeps/powerpc/powerpc32/start.S: ... here.
32221         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32222         * sysdeps/powerpc/powerpc32/configure.in: ... this.
32223         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32225         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32226         * sysdeps/powerpc/ifunc-sel.h: ... here.
32227         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32228         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32230         * sysdeps/sparc/elf/configure.in: Moved to ...
32231         * sysdeps/sparc/configure.in: ... here.
32232         * sysdeps/sparc/elf/configure: Delete file.
32233         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32234         * sysdeps/sparc/sparc32/start.S: ... here.
32235         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32236         * sysdeps/sparc/sparc64/start.S: ... here.
32237         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32238         * sysdeps/sparc/sparc32/Makefile: ... this.
32239         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32240         * sysdeps/sparc/sparc64/Makefile: ... this.
32242         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32243         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32244         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32245         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32246         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32247         * sysdeps/s390/s390-32/setjmp.S: ... here.
32248         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32249         * sysdeps/s390/s390-32/configure.in: ... here.
32250         * sysdeps/s390/s390-32/elf/configure: Delete file.
32251         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32252         * sysdeps/s390/s390-32/start.S: ... here.
32254         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32255         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32256         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32257         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32258         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32259         * sysdeps/s390/s390-64/setjmp.S: ... here.
32260         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32261         * sysdeps/s390/s390-64/configure.in: ... here
32262         * sysdeps/s390/s390-64/elf/configure: Delete file.
32263         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32264         * sysdeps/s390/s390-64/start.S: ... here.
32265         * sysdeps/s390/s390-64/elf/configure: Delete.
32267         * configure.in: Remove support for elf directories in sysdeps.
32269         * configure: Regenerated.
32270         * sysdeps/i386/configure: Regenerated.
32271         * sysdeps/powerpc/powerpc32/configure: Regenerated.
32272         * sysdeps/powerpc/powerpc64/configure: Regenerated.
32273         * sysdeps/s390/s390-32/configure: Regenerated.
32274         * sysdeps/s390/s390-64/configure: Regenerated.
32275         * sysdeps/sh/configure: Regenerated.
32276         * sysdeps/sparc/configure: Regenerated.
32277         * sysdeps/x86_64/configure: Regenerated.
32279 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
32281         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32283         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32284         denormal result into account.
32286 2012-03-25  Roland McGrath  <roland@hack.frob.com>
32288         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32289         Reported by Allan McRae <allan@archlinux.org>.
32291 2012-03-23  Jeff Law  <law@redhat.com>
32293         * nss/getnssent.c (__nss_getent): Fix typo.
32295 2012-03-23  David S. Miller  <davem@davemloft.net>
32297         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32299 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
32301         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32302         to pad to uint64_t for each field.
32303         (dl_tls_index): Replace unsigned long with uint64_t.
32305 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
32306         Paul Pluzhnikov  <ppluzhnikov@google.com>
32308         [BZ #6528]
32309         * grp/Makefile (otherlibs): Don't set it.
32310         * inet/Makefile (otherlibs): Likewise.
32311         * login/Makefile (otherlibs): Likewise.
32312         * nscd/Makefile (otherlibs): Likewise.
32313         * posix/Makefile (otherlibs): Likewise.
32314         * pwd/Makefile (otherlibs): Likewise.
32315         * rt/Makefile (otherlibs): Likewise.
32316         * sunrpc/Makefile (otherlibs): Likewise.
32317         * nss/Makefile (otherlibs): Likewise.
32318         Add libnss_files to routines and static-only-routines.
32319         ($(objpfx)getent): Remove rule.
32320         * resolv/Makefile: Add libnss_dns and libresolv to routines and
32321         static-only-routines.
32323 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
32325         [BZ #13892]
32326         * math/s_cexp.c: Include <float.h>.
32327         (__cexp): Handle exp result overflowing not necessarily
32328         overflowing both real and imaginary parts of result.
32329         * math/s_cexpf.c: Likewise.
32330         * math/s_cexpl.c: Likewise.
32331         * math/libm-test.inc (cexp_test): Add more tests.
32332         * sysdeps/i386/fpu/libm-test-ulps: Update.
32333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32335 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
32337         * include/link.h (ELFW): New macro.
32338         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32339         Replace ELF64_R_TYPE with ELFW(R_TYPE).
32341 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
32343         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32344         with uint64_t.
32346 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
32348         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32349         declaration.
32350         (struct La_x32_retval): Likewise.
32352 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
32354         * sysdeps/x86_64/preconfigure.in: New file.
32355         * sysdeps/x86_64/preconfigure: New generated file.
32357 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
32359         [BZ #13824]
32360         * math/e_exp2l.c: Include <float.h>.
32361         (__ieee754_exp2l): Handle overflow and underflow cases
32362         separately.  Only pass fractional part of argument to
32363         __ieee754_expl.
32364         * math/libm-test.inc (exp2_test): Add more tests.
32366         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32367         negating x to take absolute value.
32368         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32369         Likewise.
32370         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32371         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32372         Likewise.
32373         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32374         computing low part if x was negated.
32375         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32377 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
32379         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32380         la_x32_gnu_pltexit.
32381         (pltexit): Cast int_retval to ptrdiff_t.
32382         * elf/tst-auditmod3b.c: Likewise.
32383         * elf/tst-auditmod4b.c: Likewise.
32384         * elf/tst-auditmod5b.c: Likewise.
32385         * elf/tst-auditmod6b.c: Likewise.
32386         * elf/tst-auditmod6c.c: Likewise.
32387         * elf/tst-auditmod7b.c: Likewise.
32389         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32390         and x32_gnu_pltexit.
32392         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32393         __ELF_NATIVE_CLASS.
32394         (La_x32_regs): New macro.
32395         (La_x32_retval): Likewise.
32396         (la_x32_gnu_pltenter): New function prototype.
32397         (la_x32_gnu_pltexit): Likewise.
32399 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
32401         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32402         exponent.
32404         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32406         * configure.in (libc_cv_cc_nofma): Check for option to disable
32407         generation of FMA instructions.
32408         * configure: Regenerate.
32409         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32410         * sysdeps/ieee754/dbl-64/Makefile: New file.
32411         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32412         Remove brandred-fma4.
32413         (CFLAGS-brandred-fma4.c): Remove.
32414         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32415         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32416         define.
32417         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32418         define.
32420 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
32422         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32423         LLONG_MAX != LONG_MAX.
32424         (_itoa_word): Use _ITOA_WORD_TYPE on value.
32425         (_fitoa_word): Likewise.
32426         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32427         LLONG_MAX != LONG_MAX.
32428         * stdio-common/_itowa.h: Include <_itoa.h>.
32429         (_itowa_word): Use _ITOA_WORD_TYPE on value.
32430         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
32431         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
32432         only if not defined.
32433         (_ITOA_WORD_TYPE): Likewise.
32434         (_itoa_word): Use _ITOA_WORD_TYPE on value.
32435         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32437 2012-03-21  David S. Miller  <davem@davemloft.net>
32439         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32441 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
32443         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32444         of x86_64 when setting libc_cv_slibdir, libdir and
32445         libc_cv_localedir.
32446         * sysdeps/unix/sysv/linux/configure: Regenerated.
32448 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
32450         * manual/lang.texi (Old Varargs): Remove section.
32451         (How Variadic): Update menu.
32452         (va_start): Do not mention varargs.h.
32454 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
32455             Joseph Myers  <joseph@codesourcery.com>
32457         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32458         link test.
32459         * configure: Regenerated.
32461 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
32463         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32464         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32465         conformtest.pl
32467 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
32469         * NOTES: Remove.
32470         * Makefile (files-for-dist): Remove NOTES.
32471         (NOTES): Remove rule.
32472         * README: Don't refer to NOTES.
32473         * manual/creature.texi: Don't include macros.texi.
32474         * manual/intro.texi (creature.texi): Remove comment referring to
32475         NOTES.
32477         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32478         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32479         * configure: Regenerated.
32480         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32481         LIBC_TRY_CC_OPTION.
32482         (libc_cv_as_i686): Likewise.
32483         (libc_cv_cc_avx): Likewise.
32484         (libc_cv_cc_sse2avx): Likewise.
32485         (libc_cv_cc_fma4): Likewise.
32486         (libc_cv_cc_novzeroupper): Likewise.
32487         * sysdeps/i386/configure: Regenerated.
32489         [BZ #13883]
32490         * sysdeps/i386/fpu/s_cexp.S: Remove.
32491         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32492         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32493         * math/libm-test.inc (cexp_test): Add more tests.
32494         * sysdeps/i386/fpu/libm-test-ulps: Update.
32495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32497 2012-03-21  Allan McRae  <allan@archlinux.org>
32499         * timezone/Makefile: Do not install iso3166.tab and zone.tab
32501 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
32503         [BZ #13871]
32504         * math/w_exp2.c: Do not include <float.h>.
32505         (o_threshold, u_threshold): Remove.
32506         (__exp2): Calculate result before checking finiteness and calling
32507         __kernel_standard.
32508         * math/w_exp2f.c: Likewise.
32509         * math/w_exp2l.c: Likewise.
32510         * math/libm-test.inc (exp2_test): Require overflow exception for
32511         1e6 input.
32513         [BZ #3866]
32514         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32515         range of signed 64-bit integers before using fistpll.  Remove
32516         checks for whether integers fit in mantissa bits.
32517         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32518         the range of signed 32-bit integers before using fistpl.  Remove
32519         checks for whether integers fit in mantissa bits.
32520         * sysdeps/i386/fpu/e_powl.S (p64): New object.
32521         (__ieee754_powl): Test for y outside the range of signed 64-bit
32522         integers before using fistpll.  Reduce 64-bit values to 63-bit
32523         ones as needed.
32524         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32525         divide-by-zero is raised for zero to large negative powers.
32526         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32527         (__ieee754_powl): Test for y outside the range of signed 64-bit
32528         integers before using fistpll.  Reduce 64-bit values to 63-bit
32529         ones as needed.
32530         * math/libm-test.inc (pow_test): Add more tests.
32532 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32534         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32535         <stdio-common/_itoa.h>.
32536         * debug/segfault.c: Likewise.
32537         * elf/dl-cache.c: Likewise.
32538         * elf/dl-minimal.c: Likewise.
32539         * elf/dl-misc.c: Likewise.
32540         * elf/dl-sysdep.c: Likewise.
32541         * elf/dl-version.c: Likewise.
32542         * elf/rtld.c: Likewise.
32543         * hurd/hurdsock.c: Likewise.
32544         * hurd/lookup-retry.c: Likewise.
32545         * malloc/malloc.c: Likewise.
32546         * malloc/mtrace.c: Likewise.
32547         * nscd/nscd_getgr_r.c: Likewise.
32548         * nscd/nscd_getpw_r.c: Likewise.
32549         * nscd/nscd_getserv_r.c: Likewise.
32550         * posix/getopt_init.c: Likewise.
32551         * posix/wordexp.c: Likewise.
32552         * stdio-common/_itoa.c: Likewise.
32553         * stdio-common/printf_fphex.c: Likewise.
32554         * stdio-common/vfprintf.c: Likewise.
32555         * string/_strerror.c: Likewise.
32556         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32557         * sysdeps/i386/i686/hp-timing.h: Likewise.
32558         * sysdeps/mach/_strerror.c: Likewise.
32559         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32560         * sysdeps/mach/hurd/sethostid.c: Likewise.
32561         * sysdeps/mach/hurd/xmknodat.c: Likewise.
32562         * sysdeps/mach/xpg-strerror.c: Likewise.
32563         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32564         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32565         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32566         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32567         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32568         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32569         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32570         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32571         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32572         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32573         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32574         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32575         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32576         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32577         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32578         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32579         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32580         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32581         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32582         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32583         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32585         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32587         * stdio-common/_itoa.h: Moved to ...
32588         * sysdeps/generic/_itoa.h: Here.
32590         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32592         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32593         instead of "_itoa.h" and "_itowa.h".
32594         * stdio-common/vfprintf.: Likewise.
32596 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32598         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32599         <bits/wordsize.h>.
32600         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32601         (__signbit): Likwise.
32602         (llrintf): Likwise.
32603         (llrint): Likwise.
32605 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32607         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32608         __WORDSIZE != 64.
32610 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
32612         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32613         OVERFLOW_EXCEPTION_OK.
32614         * math/libm-test.inc ("Philosophy"): Update comment about
32615         exception testing.
32616         (OVERFLOW_EXCEPTION): Define.
32617         (OVERFLOW_EXCEPTION_OK): Likewise.
32618         (INVALID_EXCEPTION_OK): Renumber.
32619         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32620         (IGNORE_ZERO_INF_SIGN): Likewise.
32621         (test_exceptions): Handle FE_OVERFLOW.
32622         (exp10_test): Expect overflow exceptions.
32623         (exp2_test): Likewise.
32624         (expm1_test): Likewise.
32625         (nextafter_test): Likewise.
32626         (pow_test): Likewise.
32627         (scalbn_test): Likewise.
32628         (scalbln_test): Likewise.
32630 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32632         * sysdeps/x86_64/bits/atomic.h
32633         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32634         64bit integer.
32635         (atomic_exchange_acq): Likewise.
32636         (__arch_exchange_and_add_body): Likewise.
32637         (__arch_add_body): Likewise.
32638         (atomic_add_negative): Likewise.
32639         (atomic_add_zero): Likewise.
32641 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32643         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32644         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32646 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32648         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32649         Check __x86_64__ instead of __WORDSIZE.
32651 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32653         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32655 2012-03-19  David S. Miller  <davem@davemloft.net>
32657         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32659         * sysdeps/sparc/fpu/fenv_private.h: New file.
32660         * sysdeps/sparc/fpu/math_private.h: Use it.
32661         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32662         Remove.
32663         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32664         (libc_feholdexcept_setroundl): Remove.
32665         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32666         Remove.
32667         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32668         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32670 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32672         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32673         int64_t instead of long int.
32674         (INSERT_WORDS64): Likwise.
32676 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32678         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32679         _Unwind_GetCFA return to _Unwind_Ptr first.
32681 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
32683         [BZ #13629]
32684         * math/s_clog.c: Include <float.h>.
32685         (__clog): Scale large or subnormal inputs.
32686         * math/s_clogf.c: Likewise.
32687         * math/s_clogl.c: Likewise.
32688         * math/s_clog10.c: Include <float.h>.
32689         (M_LOG10_2): Define.
32690         (__clog10): Scale large or subnormal inputs.
32691         * math/s_clog10f.c: Likewise.
32692         * math/s_clog10l.c: Likewise.
32693         * math/libm-test.inc (clog_test): Add more tests.
32694         (clog10_test): Likewise.
32695         * sysdeps/i386/fpu/libm-test-ulps: Update.
32696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32698         [BZ #11451]
32699         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32700         x and y.
32701         * math/libm-test.inc (atan2_test): Add another test.
32703         * Makerules (common-objdir-compile): Remove.
32704         * sysdeps/unix/Makefile (config-generated): Do not add
32705         $(unix-generated) to variable.
32706         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32707         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32708         Remove rule.
32709         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32710         Likewise.
32711         [generic bits/local_lim.h] (before-compile): Do not append to
32712         variable.
32713         [generic bits/local_lim.h] (common-generated): Likewise.
32714         [generic sys/param.h] (before-compile): Do not append to variable.
32715         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32716         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32717         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32718         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32719         include.
32720         [generic sys/param.h] (sys/param.h-includes): Remove variable.
32721         [generic sys/param.h] (sys/param.h-includes): Remove rule.
32722         [generic sys/param.h] ($(addprefix
32723         $(common-objpfx),$(sys/param.h-includes))): Likewise.
32724         [generic sys/param.h] (common-generated): Do not append to
32725         variable.
32726         [generic sys/param.h] (sysdep_headers): Likewise.
32727         [generic bits/errno.h] (before-compile): Do not append to
32728         variable.
32729         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32730         rule.
32731         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32732         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32733         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32734         [generic bits/errno.h] (common-generated): Do not append to
32735         variable.
32736         [generic bits/ioctls.h] (before-compile): Do not append to
32737         variable.
32738         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32739         rule.
32740         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32741         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32742         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32743         rule.
32744         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32745         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32746         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32747         [generic bits/ioctls.h] (common-generated): Do not append to
32748         variable.
32749         [generic sys/syscall.h] (syscall.h): Remove variable.
32750         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32751         rule.
32752         [generic sys/syscall.h] (before-compile): Do not append to
32753         variable.
32754         [generic sys/syscall.h] (common-generated): Likewise.
32755         * sysdeps/unix/errnos-tmpl.c: Remove file.
32756         * sysdeps/unix/errnos.awk: Likewise.
32757         * sysdeps/unix/ioctls-tmpl.c: Likewise.
32758         * sysdeps/unix/ioctls.awk: Likewise.
32759         * sysdeps/unix/mk-local_lim.c: Likewise.
32760         * sysdeps/unix/snarf-ioctls: Likewise.
32762 2012-03-19  Richard Henderson  <rth@twiddle.net>
32764         * sysdeps/i386/fpu/fenv_private.h: New file.
32765         * sysdeps/i386/fpu/math_private.h: Use it.
32766         (math_opt_barrier, math_force_eval): Remove.
32767         (libc_feholdexcept_setround_53bit): Remove.
32768         (libc_feupdateenv_53bit): Remove.
32769         * sysdeps/x86_64/fpu/math_private.h: Likewise.
32770         (math_opt_barrier, math_force_eval): Remove.
32771         (libc_feholdexcept): Remove.
32772         (libc_feholdexcept_setround): Remove.
32773         (libc_fetestexcept, libc_fesetenv): Remove.
32774         (libc_feupdateenv_test): Remove.
32775         (libc_feupdateenv, libc_feholdsetround): Remove.
32776         (libc_feresetround): Remove.
32778         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32779         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32781         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32782         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32783         (libc_feupdateenv_testl): New.
32784         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32785         (libc_feupdateenv_testf): New.
32786         (libc_feupdateenv): Use libc_feupdateenv_test.
32787         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32788         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32790         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32791         (libc_feholdsetroundf, libc_feholdsetroundl): New.
32792         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32793         (libc_feresetround_noex): New.
32794         (libc_feresetround_noexf): New.
32795         (libc_feresetround_noexl): New.
32796         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32797         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32798         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32799         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32800         SET_RESTORE_ROUND.
32801         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32802         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32803         (__cos): Likewise.
32804         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32805         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32806         SET_RESTORE_ROUND_NOEX.
32807         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32808         SET_RESTORE_ROUND_NOEXF.
32809         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32810         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32811         (libc_feholdsetroundf): New.
32812         (libc_feresetround, libc_feresetroundf): New.
32814         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32815         (libc_feholdexcept_setround_53bit): Convert from macro to function.
32816         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
32818         * sysdeps/generic/math_private.h: Include <fenv.h>.
32819         (default_libc_feholdexcept): New.
32820         (default_libc_feholdexcept_setround): New.
32821         (default_libc_fesetenv, default_libc_feupdateenv): New.
32822         (libc_feholdexcept): Only define if undefined.
32823         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32824         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32825         (libc_feholdexcept_setroundl): Likewise.
32826         (libc_feholdexcept_setround_53bit): Likewise.
32827         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32828         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32829         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32830         (libc_feupdateenv_53bit): Likewise.
32831         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32832         (libc_feholdexcept): Convert from macro to inline function.
32833         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32834         (libc_fesetenv, libc_feupdateenv): Likewise.
32836         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32837         not previously defined.
32838         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32839         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32840         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32841         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32842         * sysdeps/ieee754/flt-32/math_private.h: New file.
32843         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32844         math_private.h below SET_FLOAT_WORD.
32845         (__isnan, __isinf_ns, __finite): Remove.
32846         (__isnanf, __isinf_nsf, __finitef): Remove.
32848 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
32850         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32852 2012-03-17  David S. Miller  <davem@davemloft.net>
32854         [BZ #6471]
32855         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32856         for 2.16.
32858 2012-03-16  David S. Miller  <davem@davemloft.net>
32860         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32861         warnings.
32863         [BZ #6471]
32864         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32865         properly.
32866         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32867         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32868         sysdep_routines when subdir is sysvipc.
32869         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32870         __getshmlba helper.
32872         * sysdeps/sparc/fpu/libm-test/ulps: Update.
32874 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32876         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32877         [__LP64__].
32879 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32881         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32882         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32883         (__lround): Renamed to ...
32884         (__llround): This.  Replace long int with long long int.
32885         Define lround functions as aliases of llround functions.
32886         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32888 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32890         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32891         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
32892         adresses to uintptr_t.  Replace "long int" and "unsigned long
32893         int" with "greg_t" on va_arg.
32895 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32897         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32898         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32900         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32901         Move e_machine check before EI_CLASS check.  Handle x32
32902         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32903         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32904         SKIP_EM_IA_64 and include
32905         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32907         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32908         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32909         (add_system_dir): New macro.
32911         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32912         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32914 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
32916         [BZ #2551]
32917         [BZ #2552]
32918         [BZ #2553]
32919         [BZ #2554]
32920         [BZ #2562]
32921         [BZ #2563]
32922         [BZ #2565]
32923         [BZ #2566]
32924         [BZ #2576]
32925         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32926         (y0): Likewise.
32927         * math/w_j0f.c (j0f): Likewise.
32928         (y0f): Likewise.
32929         * math/w_j0l.c (__j0l): Likewise.
32930         (__y0l): Likewise.
32931         * math/w_j1.c (j1): Likewise.
32932         (y1): Likewise.
32933         * math/w_j1f.c (j1f): Likewise.
32934         (y1f): Likewise.
32935         * math/w_j1l.c (__j1l): Likewise.
32936         (__y1l): Likewise.
32937         * math/w_jn.c (jn): Likewise.
32938         (yn): Likewise.
32939         * math/w_jnf.c (jnf): Likewise.
32940         (ynf): Likewise.
32941         * math/w_jnl.c (__jnl): Likewise.
32942         (__ynl): Likewise.
32943         * math/libm-test.inc (j0_test): Add more tests.
32944         (j1_test): Likewise.
32945         (jn_test): Likewise.  Add trailing semicolon to existing test.
32946         (y0_test): Likewise.
32947         (y1_test): Likewise.
32948         * sysdeps/i386/fpu/libm-test-ulps: Update.
32949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32951         [BZ #13851]
32952         [BZ #13854]
32953         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32954         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32955         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32956         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32957         (__tanl): Set errno for infinite argument.
32958         * sysdeps/i386/fpu/mptan.c: Remove.
32959         * sysdeps/i386/fpu/s_tan.S: Likewise.
32960         * sysdeps/i386/fpu/s_tanl.S: Likewise.
32961         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32962         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32963         * math/libm-test.inc (tan_test): Add more tests and enable more
32964         tests for double and long double.
32965         * sysdeps/i386/fpu/libm-test-ulps: Update.
32966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32968 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
32970         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32971         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32973 2012-03-16  Roland McGrath  <roland@hack.frob.com>
32975         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32976         * configure.in: Use it for both main tree and add-ons.
32977         * configure: Regenerated.
32979 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32981         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32983 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
32985         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32986         in comment.
32988         [BZ #13851]
32989         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32990         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32991         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32992         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32993         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32994         infinite argument.
32995         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32996         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32997         != 0 for prec == 2.
32998         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32999         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33000         * sysdeps/i386/fpu/s_cosl.S: Likewise.
33001         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33002         * sysdeps/i386/fpu/s_sinl.S: Likewise.
33003         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33004         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33005         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33006         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33007         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33008         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33009         * math/libm-test.inc (cos_test): Add more tests and enable more
33010         tests for long double.
33011         (sin_test): Likewise.
33012         (sincos_test): Likewise.
33013         * sysdeps/i386/fpu/libm-test-ulps: Update.
33014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33016 2012-03-16  David S. Miller  <davem@davemloft.net>
33018         * sysdeps/sparc/fpu/math_private.h: New file.
33020 2012-03-15  David S. Miller  <davem@davemloft.net>
33022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33023         file.
33024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33026         file.
33027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33028         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33029         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33030         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33031         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33032         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33033         sysdep routines.
33034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33036         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33037         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33039         * sysdeps/sparc/sparc-ifunc.h: New file.
33040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33041         sparc-ifunc.h
33042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33044         Likewise.
33045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33046         Likewise.
33047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33051         Likewise.
33052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33057         Likewise.
33058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33059         Likewise.
33060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33064         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33065         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33066         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33067         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33068         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33069         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33070         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33071         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33072         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33073         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33074         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33075         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33076         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33077         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33078         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33079         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33080         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33081         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33082         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33083         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33085 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
33087         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33088         scaling.
33089         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33091 2012-03-15  Andreas Jaeger  <aj@suse.de>
33093         [BZ #13852]
33094         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33095         ieee754/flt-32 implementation for sin, cos and sincos.
33096         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33097         * sysdeps/i386/fpu/s_cosf.S: Likewise.
33098         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33099         * sysdeps/i386/fpu/s_sinf.S: Likewise.
33100         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33101         ieee754/flt-32 implementation for tan.
33103         * math/libm-test.inc (cos_test): Enable some large input tests for
33104         float as well
33105         (sin_test): Likewise.
33106         (sincos_test): Likewise.
33107         (tan_test): Add tests for large input.
33109         * sysdeps/i386/fpu/libm-test-ulps: Update.
33111 2012-03-15  Andreas Jaeger  <aj@suse.de>
33113         [BZ #13658]
33114         * math/libm-test.inc (cos_test): Add more test cases.
33115         (sin_test): Likewise.
33116         (sincos_test): Likewise.
33118 2012-03-15  Andreas Jaeger  <aj@suse.de>
33120         [BZ #13837]
33121         * math/libm-test.inc (cos_test): Add a test case for large input
33122         value.
33123         (sin_test): Likewise.
33124         (sincos_test): Likewise.
33126 2012-03-15  Andreas Jaeger  <aj@suse.de>,
33127         Joseph Myers  <joseph@codesourcery.com>
33129         [BZ #13658]
33130         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33131         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33132         * sysdeps/i386/fpu/branred.c: Likewise.
33133         * sysdeps/i386/fpu/dosincos.c: Likewise.
33134         * sysdeps/i386/fpu/mpa.c: Likewise.
33135         * sysdeps/i386/fpu/s_cos.S: Likewise.
33136         * sysdeps/i386/fpu/s_sin.S: Likewise.
33137         * sysdeps/i386/fpu/s_sincos.S: Likewise.
33138         * sysdeps/i386/fpu/sincos32.c: Likewise.
33140         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33141         Define.
33142         (libc_feupdateenv_53bit): Define.
33143         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33144         Define.
33145         (libc_feupdateenv_53bit): Define.
33147         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33148         53 bit (without extend i386 double precision).
33150         * math/libm-test.inc (sincos_test): Add tests for large input.
33151         (sin): Likewise.
33152         (cos): Likewise.
33154         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33156 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
33158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33160 2012-03-15  David S. Miller  <davem@davemloft.net>
33162         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33163         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33164         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33165         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33166         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33167         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33168         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33169         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33170         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33171         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33172         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33173         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33174         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33175         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33176         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33178         file.
33179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33181         file.
33182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33184         file.
33185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33187         file.
33188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33189         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33190         fmin/fmax sysdep routines.
33191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33193 2012-03-14  David S. Miller  <davem@davemloft.net>
33195         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33196         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33197         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33198         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33199         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33200         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33201         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33202         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33203         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33204         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33205         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33206         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33207         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33208         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33209         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33210         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33211         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33212         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33213         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33214         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33215         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33216         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33217         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33218         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33219         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33220         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33221         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33222         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33223         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33224         routines.
33225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33226         file.
33227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33229         file.
33230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33232         file.
33233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33235         file.
33236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33238         file.
33239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33241         file.
33242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33243         file.
33244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33245         file.
33246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33247         file.
33248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33249         New file.
33250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33251         file.
33252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33253         file.
33254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33256         file.
33257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33259         file.
33260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33262         file.
33263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33265         VIS3 routines.
33267         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33268         New file.
33270         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33272         * sysdeps/sparc/configure.in: New file.
33273         * sysdeps/sparc/configure: Generate.
33274         * configure.in (libc_cv_sparc_as_vis3): Substitute.
33275         * configure: Regenerate.
33276         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33277         * config.make.in (have-as-vis3): New.
33278         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33279         available use -Av9d instead of -Av9a.
33280         * sysdeps/sparc/sparc64/Makefile: Likewise.
33281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33283         New file.
33284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33285         file.
33286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33287         New file.
33288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33289         file.
33290         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33291         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33292         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33293         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33294         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33296         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33297         fzeros/fnegs to load 0x80000000 into a float register instead of
33298         using the stack.
33299         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33301 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
33303         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33304         bits/syscall.h.
33305         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33306         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33307         ($(inst_includedir)/bits/syscall.h): Remove rule.
33308         ($(objpfx)bits/syscall.d): Include instead of
33309         $(objpfx)syscall-list.d.
33310         (generated): Change syscall-list.h and syscall-list.d to
33311         bits/syscall.h and bits/syscall.d.
33313 2012-03-14  Roland McGrath  <roland@hack.frob.com>
33315         [BZ #13846]
33316         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33318 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
33320         [BZ #13841]
33321         * math/s_csqrt.c: Include <float.h>.
33322         (__csqrt): Scale large or subnormal inputs.
33323         * math/s_csqrtf.c: Likewise.
33324         * math/s_csqrtl.c: Likewise.
33325         * math/libm-test.inc (csqrt_test): Add more tests.
33326         * sysdeps/i386/fpu/libm-test-ulps: Update.
33327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33329         [BZ #13840]
33330         * math/libm-test.inc (hypot_test): Add more tests.
33332 2012-03-13  David S. Miller  <davem@davemloft.net>
33334         [BZ #13840]
33335         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33336         double-precision for the calculation instead of scaling.
33338 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
33340         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33341         manipulate bits before adding and subtracting TWO52[sx].
33342         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33343         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33344         Likewise.
33345         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33347 2012-03-13  David S. Miller  <davem@davemloft.net>
33349         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33350         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33351         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33352         rtld-global-offsets.h
33353         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33355         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33356         large parameters.
33358         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33360         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33361         'err' in the ifdef scope in which it is actually used.
33363         * nss/nss_db/db-init.c: Include string.h
33365 2012-03-12  David S. Miller  <davem@davemloft.net>
33367         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33368         masking out of the most significant byte of random value used.
33369         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33370         Fix coding style in previous change.
33372         * sysdeps/unix/sysv/linux/kernel-features.h
33373         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33374         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33375         expression.
33376         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33377         later.
33379 2012-03-11  David S. Miller  <davem@davemloft.net>
33381         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33382         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33383         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33384         for 'resultvar' otherwise things get truncated on 64-bit.
33386         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33387         Fix masking out of the most significant byte of random value used.
33389         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33391 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
33393         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33395 2012-03-09  David S. Miller  <davem@davemloft.net>
33397         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33398         variables with appropriate CPP guards.
33399         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33400         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
33401         on resulting framesize and the management of the outregs buffer for pltexit.
33402         Preserve floating point return values across _dl_call_pltexit call.
33403         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33404         framesize and the management of the outregs buffer for pltexit.
33405         Preserve floating point return values across _dl_call_pltexit
33406         call.
33407         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33408         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33409         (print_exit): Fix format string for return register value.
33411 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
33413         * sunrpc/Makefile (others): Add rpcgen.
33414         ($(objpfx)rpcgen): Remove special build rule and dependency on
33415         libc.
33416         * sunrpc/rpcgen.c: New file.
33418 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
33420         [BZ #13673]
33421         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33422         * stdio-common/bug-vfprintf-nargs.c: Likewise.
33423         * sysdeps/i386/crti.S: Likewise.
33424         * sysdeps/i386/crtn.S: Likewise.
33425         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33426         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33427         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33428         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33429         * sysdeps/sh/crti.S: Likewise.
33430         * sysdeps/sh/crtn.S: Likewise.
33431         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33433         [BZ #13673]
33434         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33435         with URL.
33436         * locale/programs/locfile-kw.gperf: Likewise.
33437         * locale/programs/charmap-kw.h: Regenerated.
33438         * locale/programs/locfile-kw.h: Likewise.
33440         [BZ #13673]
33441         * intl/plural.y: Replace FSF snail mail address with URL.
33442         * intl/plural.c: Regenerated.
33444 2012-03-09  Richard Henderson  <rth@twiddle.net>
33446         * include/math_private.h: Remove file.
33447         * math/math_private.h: Move file ...
33448         * sysdeps/generic/math_private.h: ... here.
33450         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33451         * sysdeps/powerpc/fpu/math_private.h: Likewise.
33452         * sysdeps/x86_64/fpu/math_private.h: Likewise.
33454         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33455         and <math_private.h>.
33456         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33457         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33458         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33459         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33460         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33461         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33462         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33463         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33464         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33465         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33466         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33467         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33468         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33469         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33470         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33471         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33472         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33473         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33474         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33475         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33476         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33477         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33478         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33479         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33480         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33481         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33482         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33483         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33484         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33485         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33486         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33487         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33488         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33489         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33490         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33491         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33492         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33493         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33494         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33495         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33496         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33497         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33498         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33499         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33500         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33501         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33502         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33503         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33504         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33505         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33506         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33507         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33508         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33509         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33510         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33511         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33512         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33513         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33514         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33515         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33516         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33517         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33518         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33519         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33520         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33521         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33522         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33523         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33524         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33525         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33526         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33527         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33528         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33529         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33530         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33531         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33532         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33533         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33534         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33535         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33536         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33537         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33538         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33539         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33540         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33541         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33542         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33543         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33544         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33545         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33546         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33547         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33548         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33549         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33550         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33551         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33552         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33553         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33554         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33555         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33556         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33557         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33558         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33559         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33560         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33561         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33562         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33563         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33564         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33565         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33566         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33567         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33568         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33569         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33570         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33571         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33572         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33573         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33574         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33575         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33576         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33577         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33578         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33579         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33580         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33581         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33582         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33583         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33584         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33585         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33586         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33587         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33588         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33589         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33590         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33591         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33592         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33593         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33594         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33595         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33596         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33597         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33598         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33599         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33600         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33601         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33602         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33603         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33604         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33605         * sysdeps/ieee754/k_standard.c: Likewise.
33606         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33607         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33608         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33609         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33610         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33611         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33612         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33613         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33614         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33615         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33616         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33617         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33618         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33619         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33620         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33621         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33622         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33623         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33624         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33625         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33626         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33627         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33628         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33629         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33630         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33631         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33632         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33633         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33634         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33635         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33636         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33637         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33638         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33639         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33640         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33641         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33642         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33643         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33644         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33645         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33646         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33647         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33648         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33649         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33650         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33651         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33652         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33653         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33654         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33655         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33656         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33657         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33658         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33659         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33660         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33661         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33662         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33663         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33664         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33665         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33666         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33667         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33668         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33669         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33670         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33671         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33672         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33673         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33674         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33675         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33676         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33677         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33678         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33679         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33680         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33681         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33682         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33683         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33684         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33685         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33686         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33687         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33688         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33689         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33690         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33691         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33692         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33693         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33694         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33695         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33696         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33697         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33698         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33699         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33700         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33701         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33702         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33703         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33704         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33705         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33706         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33707         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33708         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33709         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33710         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33711         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33712         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33713         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33714         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33715         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33716         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33717         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33718         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33719         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33720         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33721         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33722         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33723         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33724         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33725         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33726         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33727         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33728         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33729         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33730         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33731         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33732         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33733         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33734         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33735         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33736         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33737         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33738         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33739         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33740         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33741         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33742         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33743         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33744         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33745         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33746         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33747         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33748         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33749         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33750         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33751         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33752         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33753         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33754         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33755         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33756         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33757         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33758         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33759         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33760         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33761         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33762         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33763         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33764         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33765         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33766         * sysdeps/ieee754/s_lib_version.c: Likewise.
33767         * sysdeps/ieee754/s_matherr.c: Likewise.
33768         * sysdeps/ieee754/s_signgam.c: Likewise.
33769         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33770         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33771         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33772         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33773         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33774         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33775         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33776         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33777         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33778         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33779         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33780         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33781         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33782         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33783         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33784         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33785         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33786         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33787         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33788         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33789         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33791 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
33793         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33794         * sunrpc/rpc_main.c: Likewise.
33795         * sunrpc/rpc_svcout.c: Likewise.
33797 2012-03-09  David S. Miller  <davem@davemloft.net>
33799         * include/math_private.h: New file.
33801 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
33803         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33804         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33805         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33806         from <bits/socket_type.h>.
33807         (enum __socket_type): Don't define here.
33808         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33809         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33810         bits/socket_type.h.
33812         [BZ #13566]
33813         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33814         checking __USE_GNU.
33816         * Makerules ($(inst_includedir)/%.h): New rule.
33817         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33818         (install-others): Remove variable setting.
33819         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33821 2012-03-08  Richard Henderson  <rth@twiddle.net>
33823         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33824         from macro to inline function; merge with the
33825         !__LIBC_INTERNAL_MATH_INLINES version.
33826         (__ieee754_sqrtf): Likewise.
33828         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33829         to inline function.
33830         (__rintf, __floor, __floorf): Likewise.
33832         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33833         macro to inline function.
33834         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33836         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33837         not <math/math_private.h>.
33839 2012-03-08  David S. Miller  <davem@davemloft.net>
33841         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33842         copyright year.
33843         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33845 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
33847         * resolv/gai_misc.c (handle_requests): Fix struct timespec
33848         normalization.
33849         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33850         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33852 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
33854         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
33855         be defined individually, they must be defined as a block.  Define
33856         S for printing a string instead of hidint the different by using a
33857         macro for adding the 'l'.
33858         * stdio-common/tst-fphex-wide.c: Adjust.
33860 2012-03-07  Marek Polacek  <polacek@redhat.com>
33862         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33864 2012-03-08  Marek Polacek  <polacek@redhat.com>
33866         [BZ #13806]
33867         * stdio-common/Makefile (tests): Add tst-fphex-wide.
33868         * stdio-common/tst-fphex.c: Define a few macros to make the
33869         test reusable.  Use them.
33870         * stdio-common/tst-fphex-wide.c: New file.
33872 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
33874         [BZ #6911]
33875         * manual/macros.texi (gnusystems): New macro.
33876         (nongnusystems): Likewise.
33877         (gnulinuxhurdsystems): Likewise.
33878         (gnuhurdsystems): Likewise..
33879         (gnulinuxsystems): Likewise.
33880         * manual/charset.texi: Use new macros or @theglibc{} to refer to
33881         variants of the GNU system, not "GNU system".
33882         * manual/conf.texi: Likewise.
33883         * manual/errno.texi: Likewise.  Update example of errno macro
33884         expansion.
33885         * manual/filesys.texi: Likewise.
33886         (getumask): Document as specific to GNU/Hurd.
33887         * manual/install.texi: Likewise.  Reword some references to
33888         GNU/Linux.
33889         * manual/intro.texi: Likewise.
33890         * manual/io.texi: Likewise.
33891         (File Name Portability): Detail which constraints are inapplicable
33892         to all GNU systems and which are only inapplicable to GNU/Hurd.
33893         * manual/job.texi: Likewise.
33894         * manual/llio.texi: Likewise.
33895         (O_NOCTTY): Document as present on GNU/Linux.
33896         * manual/maint.texi: Likewise.
33897         * manual/memory.texi: Likewise.
33898         * manual/pattern.texi: Likewise.
33899         * manual/pipe.texi: Likewise.
33900         * manual/process.texi: Likewise.
33901         * manual/resource.texi: Likewise.
33902         (RUSAGE_CHILDREN): Remove statement about specifying a particular
33903         child on GNU/Hurd.
33904         * manual/setjmp.texi: Likewise.
33905         * manual/signal.texi: Likewise.
33906         * manual/startup.texi: Likewise.
33907         * manual/stdio.texi: Likewise.
33908         * manual/terminal.texi: Likewise.
33909         (ONLCR): Document as POSIX.
33910         (OXTABS): Document availability on GNU/Linux as XTABS.
33911         (ONOEOT): Document availability separately from other bits.
33912         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33913         * manual/time.texi: Likewise.
33914         * manual/users.texi: Likewise.
33915         * INSTALL: Regenerated.
33916         * sysdeps/gnu/errlist.c: Regenerated.
33918         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33919         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33920         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
33921         puts.
33922         * configure: Regenerated.
33924 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
33926         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33927         default includes instead of AC_HEADER_CHECK.
33928         * sysdeps/i386/configure: Regenerated.
33930         [BZ #10716]
33931         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33932         * math/s_cacoshf.c (__cacoshf): Likewise.
33933         * math/s_cacoshl.c (__cacoshl): Likewise.
33934         * math/s_casinh.c (__casinh): Set signs of result from argument.
33935         * math/s_casinhf.c (__casinhf): Likewise.
33936         * math/s_casinhl.c (__casinhl): Likewise.
33937         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33938         (casinh_test): Add more tests.
33939         * sysdeps/i386/fpu/libm-test-ulps: Update.
33940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33942 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
33944         * po/zh_TW.po: Update from translation team.
33946         * login/Makefile (distribute): Remove variable.
33947         * catgets/Makefile: Likewise.
33948         * mach/Makefile: Likewise.
33949         * malloc/Makefile: Likewise.
33950         * misc/Makefile: Likewise.
33951         * iconv/Makefile: Likewise.
33952         * nscd/Makefile: Likewise.
33953         * hurd/Makefile: Likewise.
33954         * manual/Makefile: Likewise.
33955         * locale/Makefile: Likewise.
33956         * intl/Makefile: Likewise.
33957         * conform/Makefile: Likewise.
33958         * nss/Makefile: Likewise.
33959         * time/Makefile: Likewise.
33960         * soft-fp/Makefile: Likewise.
33961         * dirent/Makefile: Likewise.
33962         * gmon/Makefile: Likewise.
33963         * po/Makefile: Likewise.
33964         * rt/Makefile: Likewise.
33965         * socket/Makefile: Likewise.
33966         * math/Makefile: Likewise.
33967         * signal/Makefile: Likewise.
33968         * debug/Makefile: Likewise.
33969         * elf/Makefile: Likewise.
33970         * timezone/Makefile: Likewise.
33971         * stdlib/Makefile: Likewise.
33972         * iconvdata/Makefile: Likewise.
33973         * sunrpc/Makefile: Likewise.
33974         * io/Makefile: Likewise.
33975         * argp/Makefile: Likewise.
33976         * inet/Makefile: Likewise.
33977         * hesiod/Makefile: Likewise.
33978         * grp/Makefile: Likewise.
33979         * csu/Makefile: Likewise.
33980         * wctype/Makefile: Likewise.
33981         * crypt/Makefile: Likewise.
33982         * libio/Makefile: Likewise.
33983         * string/Makefile: Likewise.
33984         * nis/Makefile: Likewise.
33985         * resolv/Makefile: Likewise.
33986         * stdio-common/Makefile: Likewise.
33987         * wcsmbs/Makefile: Likewise.
33988         * dlfcn/Makefile: Likewise.
33989         * posix/Makefile: Likewise.
33991         [BZ #6959]
33992         * timezone/Makefile: Don't install timezone files, just the programs
33993         and scripts.
33995 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
33997         * nss/databases.def: Add missing gshadow entry.
33999         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
34001 2012-03-06  Marek Polacek  <polacek@redhat.com>
34003         [BZ #13726]
34004         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34005         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34006         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34007         * stdio-common/tst-long-dbl-fphex.c: New file.
34009 2012-03-06  David S. Miller  <davem@davemloft.net>
34011         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34012         (set_obp_int): New function.
34013         (get_obp_int): New function.
34014         (__get_clockfreq_via_dev_openprom): Likewise.
34015         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34016         Avoid unused variable warnings on 'val' and use builtin_expect.
34017         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34018         __builtin_expect.
34019         (INLINE_CLONE_SYSCALL): Likewise.
34021 2012-03-05  David S. Miller  <davem@davemloft.net>
34023         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34025 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
34027         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34029         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34030         only for |x| >= 40.
34031         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34033 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
34035         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34036         Replace gettimeofday with __vdso_gettimeofday.
34038         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34039         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34040         __vdso_clock_gettime and __vdso_getcpu.
34042         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34043         time with __vdso_time.
34045 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
34047         * manual/lang.texi (size_t): Note types to which size_t may be
34048         equivalent with the GNU C Library, but do not describe when
34049         differences between them are significant.
34051 2012-03-05  Andreas Jaeger  <aj@suse.de>
34053         * sysdeps/i386/fpu/libm-test-ulps: Update.
34055 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
34057         [BZ #3976]
34058         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34059         (__ieee754_pow): Save and restore rounding mode and use
34060         round-to-nearest for main computations.
34061         * math/libm-test.inc (pow_test_tonearest): New function.
34062         (pow_test_towardzero): Likewise.
34063         (pow_test_downward): Likewise.
34064         (pow_test_upward): Likewise.
34065         (main): Call the new functions.
34066         * sysdeps/i386/fpu/libm-test-ulps: Update.
34067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34069         [BZ #3976]
34070         * math/libm-test.inc (cosh_test_tonearest): New function.
34071         (cosh_test_towardzero): Likewise.
34072         (cosh_test_downward): Likewise.
34073         (cosh_test_upward): Likewise.
34074         (sinh_test_tonearest): Likewise.
34075         (sinh_test_towardzero): Likewise.
34076         (sinh_test_downward): Likewise.
34077         (sinh_test_upward): Likewise.
34078         (main): Call the new functions.
34079         * sysdeps/i386/fpu/libm-test-ulps: Update.
34080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34082 2012-03-05  Tom de Vries  <tom@codesourcery.com>
34084         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34085         default stack guard is set in last bytes.
34086         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34088 2012-03-05  Kees Cook  <keescook@chromium.org>
34090         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34092         [BZ #13656]
34093         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34094         possibly allocate from heap instead of stack.
34095         * stdio-common/bug-vfprintf-nargs.c: New file.
34096         * stdio-common/Makefile (tests): Add nargs overflow test.
34098 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
34100         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34102 2012-03-03  Marek Polacek  <polacek@redhat.com>
34104         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34105         * math/math_private.h: Likewise.
34106         * stdlib/tst-strtod.c: Likewise.
34107         * sysdeps/i386/i486/bits/atomic.h: Likewise.
34108         * sysdeps/x86_64/bits/atomic.h: Likewise.
34110 2012-03-02  David S. Miller  <davem@davemloft.net>
34112         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34113         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34114         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34115         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34116         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34117         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34118         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34119         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34121 2012-03-02  Roland McGrath  <roland@hack.frob.com>
34123         [BZ #13792]
34124         * manual/examples/README: New file, says the example source files
34125         can be used under GPL>=2.
34126         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34127         line containing just "*/".
34128         * manual/examples/add.c: Add copyright header (GPL>=2).
34129         * manual/examples/argp-ex1.c: Likewise.
34130         * manual/examples/argp-ex2.c: Likewise.
34131         * manual/examples/argp-ex3.c: Likewise.
34132         * manual/examples/argp-ex4.c: Likewise.
34133         * manual/examples/atexit.c: Likewise.
34134         * manual/examples/db.c: Likewise.
34135         * manual/examples/dir.c: Likewise.
34136         * manual/examples/dir2.c: Likewise.
34137         * manual/examples/execinfo.c: Likewise.
34138         * manual/examples/filecli.c: Likewise.
34139         * manual/examples/filesrv.c: Likewise.
34140         * manual/examples/fmtmsgexpl.c: Likewise.
34141         * manual/examples/genpass.c: Likewise.
34142         * manual/examples/inetcli.c: Likewise.
34143         * manual/examples/inetsrv.c: Likewise.
34144         * manual/examples/isockad.c: Likewise.
34145         * manual/examples/longopt.c: Likewise.
34146         * manual/examples/memopen.c: Likewise.
34147         * manual/examples/memstrm.c: Likewise.
34148         * manual/examples/mkfsock.c: Likewise.
34149         * manual/examples/mkisock.c: Likewise.
34150         * manual/examples/mygetpass.c: Likewise.
34151         * manual/examples/pipe.c: Likewise.
34152         * manual/examples/popen.c: Likewise.
34153         * manual/examples/rprintf.c: Likewise.
34154         * manual/examples/search.c: Likewise.
34155         * manual/examples/select.c: Likewise.
34156         * manual/examples/setjmp.c: Likewise.
34157         * manual/examples/sigh1.c: Likewise.
34158         * manual/examples/sigusr.c: Likewise.
34159         * manual/examples/stpcpy.c: Likewise.
34160         * manual/examples/strdupa.c: Likewise.
34161         * manual/examples/strftim.c: Likewise.
34162         * manual/examples/strncat.c: Likewise.
34163         * manual/examples/subopt.c: Likewise.
34164         * manual/examples/swapcontext.c: Likewise.
34165         * manual/examples/termios.c: Likewise.
34166         * manual/examples/testopt.c: Likewise.
34167         * manual/examples/testpass.c: Likewise.
34168         * manual/examples/timeval_subtract.c: Likewise.
34170         [BZ #13792]
34171         * manual/time.texi (Elapsed Time): Move timeval_subtract example
34172         function to ...
34173         * manual/timeval_subtract.c.texi: ... here, new file.
34175 2012-03-02  David S. Miller  <davem@davemloft.net>
34177         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34179 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
34181         [BZ #3976]
34182         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34183         (__sin): Save and restore rounding mode and use round-to-nearest
34184         for all computations.
34185         (__cos): Save and restore rounding mode and use round-to-nearest
34186         for all computations.
34187         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34188         <fenv.h>.
34189         (tan): Save and restore rounding mode and use round-to-nearest for
34190         all computations.
34191         * math/libm-test.inc (cos_test_tonearest): New function.
34192         (cos_test_towardzero): Likewise.
34193         (cos_test_downward): Likewise.
34194         (cos_test_upward): Likewise.
34195         (sin_test_tonearest): Likewise.
34196         (sin_test_towardzero): Likewise.
34197         (sin_test_downward): Likewise.
34198         (sin_test_upward): Likewise.
34199         (tan_test_tonearest): Likewise.
34200         (tan_test_towardzero): Likewise.
34201         (tan_test_downward): Likewise.
34202         (tan_test_upward): Likewise.
34203         (main): Call the new functions.
34204         * sysdeps/i386/fpu/libm-test-ulps: Update.
34205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34207         [BZ #10135]
34208         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34209         small n, then large n, before computing and testing k+n.
34210         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34211         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34212         Likewise.
34213         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34214         Likewise.
34215         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34216         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34217         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34218         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34219         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34220         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34221         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34222         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34223         * math/libm-test.inc (scalbn_test): Add more tests.
34224         (scalbln_test): Likewise.
34226         * manual/filesys.texi (mode_t): Describe constraints on size and
34227         signedness, not exact equivalence to a particular type.
34228         (ino_t): Likewise.
34229         (ino64_t): Likewise.
34230         (dev_t): Likewise.
34231         (nlink_t): Likewise.
34232         (blkcnt_t): Likewise.
34233         (blkcnt64_t): Likewise.
34234         * manual/llio.texi (off_t): Likewise.
34236         [BZ #3976]
34237         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34238         (__ieee754_exp): Save and restore rounding mode and use
34239         round-to-nearest for all computations.
34240         * math/libm-test.inc (exp_test_tonearest): New function.
34241         (exp_test_towardzero): Likewise.
34242         (exp_test_downward): Likewise.
34243         (exp_test_upward): Likewise.
34244         (main): Call the new functions.
34245         * sysdeps/i386/fpu/libm-test-ulps: Update.
34246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34248 2012-03-01  Chris Demetriou  <cgd@google.com>
34250         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34251         have predictable order.
34253 2012-03-01  David S. Miller  <davem@davemloft.net>
34255         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34257         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34258         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34259         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34260         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34262         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34263         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34264         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34265         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34266         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34267         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34268         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34269         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34270         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34272         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34274         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34275         * sysdeps/sparc/fpu/libm-test-ulps: to here.
34276         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34278         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34279         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34280         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34281         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34282         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34283         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34284         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34285         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34286         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34287         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34288         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34289         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34290         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34291         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34292         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34293         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34294         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34295         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34296         * sysdeps/sparc/elf/configure: Regenerated.
34298 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
34300         * configure.in (AS, LD): Require binutils 2.20 or later.
34301         * configure: Regenerated.
34302         * manual/install.texi (Tools for Compilation): Give binutils 2.20
34303         as required minimum version.
34304         * INSTALL: Regenerated.
34306         [BZ #2541]
34307         [BZ #4108]
34308         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34309         before squaring exponent.
34310         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34311         bottom long double and 27 bits of top long double before squaring
34312         exponent.
34313         * math/libm-test.inc (erfc_test): Add more tests.
34314         * sysdeps/i386/fpu/libm-test-ulps: Update.
34315         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34318 2012-03-01  Kai Tietz  <ktietz@redhat.com>
34320         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34321         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34322         containing bit-fields.
34323         * soft-fp/extended.h (_FP_UNION_E): Likewise.
34324         * soft-fp/single.h (_FP_UNION_S): Likewise.
34325         * soft-fp/double.h (_FP_UNION_D): Likewise.
34327 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
34329         [BZ #13786]
34330         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34331         not include ../strcmp.S.
34332         [USE_AS_STRNCASECMP_L]: Likewise.
34333         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34334         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34335         * sysdeps/i386/i686/multiarch/strncase_l-c.c
34336         (__strncasecmp_l_ia32): Define as alias to
34337         __strncasecmp_l_nonascii.
34339         [BZ #5794]
34340         * math/libm-test.inc (expm1_test): Add test for bug 5794.
34341         * sysdeps/i386/fpu/libm-test-ulps: Update.
34342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34344         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34347 2012-02-29  Jeff Law  <law@redhat.com>
34349         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34350         out of bounds read.
34352 2012-02-29  Marek Polacek  <polacek@redhat.com>
34354         [BZ #13706]
34355         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34356         * elf/Makefile: Add rules to run tst-unused-dep.out.
34358 2012-02-28  David S. Miller  <davem@davemloft.net>
34360         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34361         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34362         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34363         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34364         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34365         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34367 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
34369         * math/libm-test.inc (llround_test): Move one test from
34370         lround_test.  Use TEST_f_L in moved test.
34371         (lround_test): Move misplaced test to llround_test.  Add testcase
34372         from bug 2561.
34374 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
34376         * sysdeps/x86_64/fpu/e_expf.S: New file.
34377         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34379 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
34381         [BZ #13637]
34382         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34383         of remain_len that may cause incomplete multi-byte character and
34384         false match.
34385         * posix/bug-regex33.c: New file.
34386         * posix/Makefile (tests): Add bug-regex33.
34388 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
34390         * manual/macros.texi: New file.
34391         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34392         * manual/libc.texinfo: Include macros.texi.
34393         * manual/creatute.texi: Likewise.
34394         * manual/install.texi: Likewise.
34395         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34396         @glibcadj{} in references to the GNU C Library.
34397         * manual/charset.texi: Likewise.
34398         * manual/conf.texi: Likewise.
34399         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
34400         when not using those macros.
34401         * manual/creature.texi: Likewise.
34402         * manual/crypt.texi: Likewise.
34403         * manual/errno.texi: Likewise.
34404         * manual/filesys.texi: Likewise.
34405         * manual/header.texi: Likewise.
34406         * manual/install.texi: Likewise.
34407         * manual/intro.texi: Likewise.
34408         * manual/io.texi: Likewise.
34409         * manual/job.texi: Likewise.
34410         * manual/lang.texi: Likewise.
34411         * manual/libc.texiinfo: Likewise.
34412         * manual/llio.texi: Likewise.
34413         * manual/locale.texi: Likewise.
34414         * manual/maint.texi: Likewise.
34415         * manual/math.texi: Likewise.
34416         * manual/memory.texi: Likewise.
34417         * manual/message.texi: Likewise.
34418         * manual/nss.texi: Likewise.
34419         * manual/pattern.texi: Likewise.
34420         * manual/process.texi: Likewise.
34421         * manual/resource.texi: Likewise.
34422         * manual/search.texi: Likewise.
34423         * manual/setjmp.texi: Likewise.
34424         * manual/signal.texi: Likewise.
34425         * manual/socket.texi: Likewise.
34426         * manual/startup.texi: Likewise.
34427         * manual/stdio.texi: Likewise.
34428         * manual/string.texi: Likewise.
34429         * manual/sysinfo.texi: Likewise.
34430         * manual/syslog.texi: Likewise.
34431         * manual/terminal.texi: Likewise.
34432         * manual/time.texi: Likewise.
34433         * manual/users.texi: Likewise.
34434         * INSTALL: Regenerated.
34435         * NOTES: Regenerated.
34436         * sysdeps/gnu/errlist.c: Regenerated.
34438 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
34440         * include/dirent.h: Include <dirstream.h> before
34441         <dirent/dirent.h>.
34443 2012-02-28  David S. Miller  <davem@davemloft.net>
34445         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34446         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34447         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34448         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34450 2012-02-27  David S. Miller  <davem@davemloft.net>
34452         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34453         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34454         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34455         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34458         frame pointer instead of stack pointer relative arg slot.
34459         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34460         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34461         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34463 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
34465         [BZ #3992]
34466         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34468 2012-02-27  David S. Miller  <davem@davemloft.net>
34470         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34471         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34474         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34475         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34476         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34477         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34479 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
34481         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34482         later.  Allow versions 5-9.
34483         * configure: Regenerated.
34484         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34485         required minimum version and 4.6 as recommended version.  Do not
34486         mention bugs in GCC 2.7 and 2.8.
34487         * INSTALL: Regenerated.
34489 2012-02-27  David S. Miller  <davem@davemloft.net>
34491         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34492         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34493         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34495         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34496         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34497         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34498         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34500         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34501         manipulate bits before adding and subtracting TWO112[sx].
34502         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34504 2012-02-27  Roland McGrath  <roland@hack.frob.com>
34506         [BZ #13775]
34507         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34508         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34509         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34510         being in POSIX, because they are in 1003.1-2008.
34512         * rt/tst-aio.c: Include <fcntl.h>.
34513         * rt/tst-aio7.c: Likewise.
34514         * rt/tst-aio64.c: Likewise.
34516         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34518 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
34520         * manual/install.texi (--with-headers): Describe headers as
34521         interface headers, not private headers.
34522         (Specific advice for GNU/Linux systems): Describe use of headers
34523         from "make headers_install", not private headers from older
34524         kernels.
34525         * INSTALL: Regenerated.
34526         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34527         Change to 2.6.19.
34528         * sysdeps/unix/sysv/linux/configure: Regenerated.
34530         * manual/llio.texi (fclean): Remove documentation.
34532         * manual/Makefile (libc-texi-generated): New variable.  Include
34533         version.texi.
34534         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34535         $(libc-texi-generated), not duplicated list of files.
34536         (version.texi, stamp-version): New rules.
34537         (realclean): Remove $(libc-texi-generated), not individual files
34538         from that list.  Do not remove dir-add.texinfo.
34539         * manual/libc.texinfo: Comment out uses of edition numbers and
34540         references to printed manual.  Remove last-updated dates.
34541         (EDITION): Comment out.
34542         (ISBN): Likewise.
34543         (VERSION, UPDATED): Remove.
34544         (version.texi): Include.
34546 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
34548         * sysdeps/posix/spawni.c: Include <signal.h>.
34549         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34550         * sysdeps/pthread/aio_fsync.c: Likewise.
34552 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
34554         * conform/Makefile (tests): Run only when not cross-compiling and
34555         when fast-check is not defined.
34557         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34558         * conform/data/limits.h-data: Fixes for POSIX2008.
34559         * conform/run-conformtest.sh: Run all tests.
34560         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34561         headers.
34562         * include/bits/dlfcn.h: Likewise.
34563         * include/langinfo.h: Likewise.
34564         * include/monetary.h: Likewise.
34565         * include/sys/poll.h: Likewise.
34567         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34568         for __USE_GNU.
34569         * posix/spawn.h: Define __need_sigset_t.
34570         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34571         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34572         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
34573         to get sigevent_t only.
34574         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34575         only for __USE_GNU.
34576         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34577         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34578         process_vm_writev only for __USE_GNU.
34579         * termios/termios.h: Declare tcgetsid also for POSIX2008.
34581         * conform/Makefile: For now ignore errors from run-conformtest.
34582         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
34583         POSIX to avoid namespace pollution.  Don't prepend headers.
34584         * conform/data/aio.h-data: Fixes for POSIX testing.
34585         * conform/data/fcntl.h-data: Likewise.
34586         * conform/data/glob.h-data: Likewise.
34587         * conform/data/grp.h-data: Likewise.
34588         * conform/data/pthread.h-data: Likewise.
34589         * conform/data/pwd.h-data: Likewise.
34590         * conform/data/signal.h-data: Likewise.
34591         * conform/data/spawn.h-data: Likewise.
34592         * conform/data/stdio.h-data: Likewise.
34593         * conform/data/stdlib.h-data: Likewise.
34594         * conform/data/stropts.h-data: Likewise.
34595         * conform/data/sys/mman.h-data: Likewise.
34596         * conform/data/sys/stat.h-data: Likewise.
34597         * conform/data/sys/types.h-data: Likewise.
34598         * conform/data/sys/wait.h-data: Likewise.
34599         * conform/data/time.h-data: Likewise.
34600         * conform/data/unistd.h-data: Likewise.
34601         * conform/data/utime.h-data: Likewise.
34603         * io/sys/stat.h: fchmod was always in POSIX.
34604         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34605         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34606         * rt/aio.h: Define __need_timespec before including <time.h>.
34607         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34608         struct.  Add forward declaration of pthread_attr_t and use it in
34609         sigevent.
34610         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34611         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34612         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34613         always remove CLK_TCK definition.
34615 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
34617         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34619 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
34621         * conform/run-conformtest.sh: New file.
34622         * conform/Makefile: Run run-conformtest for tests.
34623         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
34624         support.
34626         * conform/data/uchar.h-data: New file.
34627         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34628         * conform/data/arpa/inet.h-data: Likewise.
34629         * conform/data/assert.h-data: Likewise.
34630         * conform/data/complex.h-data: Likewise.
34631         * conform/data/cpio.h-data: Likewise.
34632         * conform/data/ctype.h-data: Likewise.
34633         * conform/data/dirent.h-data: Likewise.
34634         * conform/data/dlfcn.h-data: Likewise.
34635         * conform/data/errno.h-data: Likewise.
34636         * conform/data/fcntl.h-data: Likewise.
34637         * conform/data/float.h-data: Likewise.
34638         * conform/data/fmtmsg.h-data: Likewise.
34639         * conform/data/fnmatch.h-data: Likewise.
34640         * conform/data/ftw.h-data: Likewise.
34641         * conform/data/glob.h-data: Likewise.
34642         * conform/data/grp.h-data: Likewise.
34643         * conform/data/iconv.h-data: Likewise.
34644         * conform/data/inttypes.h-data: Likewise.
34645         * conform/data/langinfo.h-data: Likewise.
34646         * conform/data/libgen.h-data: Likewise.
34647         * conform/data/limits.h-data: Likewise.
34648         * conform/data/locale.h-data: Likewise.
34649         * conform/data/math.h-data: Likewise.
34650         * conform/data/monetary.h-data: Likewise.
34651         * conform/data/mqueue.h-data: Likewise.
34652         * conform/data/ndbm.h-data: Likewise.
34653         * conform/data/net/if.h-data: Likewise.
34654         * conform/data/netdb.h-data: Likewise.
34655         * conform/data/netinet/in.h-data: Likewise.
34656         * conform/data/nl_types.h-data: Likewise.
34657         * conform/data/poll.h-data: Likewise.
34658         * conform/data/pthread.h-data: Likewise.
34659         * conform/data/pwd.h-data: Likewise.
34660         * conform/data/regex.h-data: Likewise.
34661         * conform/data/sched.h-data: Likewise.
34662         * conform/data/search.h-data: Likewise.
34663         * conform/data/semaphore.h-data: Likewise.
34664         * conform/data/setjmp.h-data: Likewise.
34665         * conform/data/signal.h-data: Likewise.
34666         * conform/data/spawn.h-data: Likewise.
34667         * conform/data/stdarg.h-data: Likewise.
34668         * conform/data/stdio.h-data: Likewise.
34669         * conform/data/stdlib.h-data: Likewise.
34670         * conform/data/string.h-data: Likewise.
34671         * conform/data/strings.h-data: Likewise.
34672         * conform/data/stropts.h-data: Likewise.
34673         * conform/data/sys/ipc.h-data: Likewise.
34674         * conform/data/sys/mman.h-data: Likewise.
34675         * conform/data/sys/msg.h-data: Likewise.
34676         * conform/data/sys/resource.h-data: Likewise.
34677         * conform/data/sys/select.h-data: Likewise.
34678         * conform/data/sys/sem.h-data: Likewise.
34679         * conform/data/sys/shm.h-data: Likewise.
34680         * conform/data/sys/socket.h-data: Likewise.
34681         * conform/data/sys/stat.h-data: Likewise.
34682         * conform/data/sys/statvfs.h-data: Likewise.
34683         * conform/data/sys/time.h-data: Likewise.
34684         * conform/data/sys/timeb.h-data: Likewise.
34685         * conform/data/sys/times.h-data: Likewise.
34686         * conform/data/sys/types.h-data: Likewise.
34687         * conform/data/sys/uio.h-data: Likewise.
34688         * conform/data/sys/un.h-data: Likewise.
34689         * conform/data/sys/utsname.h-data: Likewise.
34690         * conform/data/sys/wait.h-data: Likewise.
34691         * conform/data/syslog.h-data: Likewise.
34692         * conform/data/tar.h-data: Likewise.
34693         * conform/data/termios.h-data: Likewise.
34694         * conform/data/utime.h-data: Likewise.
34695         * conform/data/utmpx.h-data: Likewise.
34696         * conform/data/varargs.h-data: Likewise.
34697         * conform/data/wchar.h-data: Likewise.
34698         * conform/data/wctype.h-data: Likewise.
34699         * conform/data/wordexp.h-data: Likewise.
34701         * include/stropts.h: New file.
34702         * include/uchar.h: New file.
34703         * include/aio.h: Changes to allow conformtest.pl to use the headers.
34704         * include/assert.h: Likewise.
34705         * include/ctype.h: Likewise.
34706         * include/dirent.h: Likewise.
34707         * include/dlfcn.h: Likewise.
34708         * include/fcntl.h: Likewise.
34709         * include/fnmatch.h: Likewise.
34710         * include/glob.h: Likewise.
34711         * include/grp.h: Likewise.
34712         * include/libio.h: Likewise.
34713         * include/locale.h: Likewise.
34714         * include/math.h: Likewise.
34715         * include/net/if.h: Likewise.
34716         * include/netdb.h: Likewise.
34717         * include/netinet/in.h: Likewise.
34718         * include/pthread.h: Likewise.
34719         * include/pwd.h: Likewise.
34720         * include/regex.h: Likewise.
34721         * include/sched.h: Likewise.
34722         * include/search.h: Likewise.
34723         * include/setjmp.h: Likewise.
34724         * include/signal.h: Likewise.
34725         * include/stdio.h: Likewise.
34726         * include/stdlib.h: Likewise.
34727         * include/string.h: Likewise.
34728         * include/sys/cdefs.h: Likewise.
34729         * include/sys/mman.h: Likewise.
34730         * include/sys/msg.h: Likewise.
34731         * include/sys/resource.h: Likewise.
34732         * include/sys/select.h: Likewise.
34733         * include/sys/socket.h: Likewise.
34734         * include/sys/stat.h: Likewise.
34735         * include/sys/statvfs.h: Likewise.
34736         * include/sys/time.h: Likewise.
34737         * include/sys/times.h: Likewise.
34738         * include/sys/uio.h: Likewise.
34739         * include/sys/utsname.h: Likewise.
34740         * include/sys/wait.h: Likewise.
34741         * include/termios.h: Likewise.
34742         * include/time.h: Likewise.
34743         * include/ulimit.h: Likewise.
34744         * include/unistd.h: Likewise.
34745         * include/utime.h: Likewise.
34746         * include/wchar.h: Likewise.
34747         * include/wctype.h: Likewise.
34748         * include/wordexp.h: Likewise.
34750         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34752         * time/time.h: TIME_UTC must be a macro.
34753         Make timespec_get available for ISO C11 only as well.
34755 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
34757         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34758         Reported by Peng Haitao <penght@cn.fujitsu.com>.
34760 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
34762         * configure.in: Use -o not -a in test for unsupported multi-arch.
34764 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
34766         * manual/texinfo.tex: Update to version 2012-01-19.16.
34768 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
34770         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34772 2012-02-24  Roland McGrath  <roland@hack.frob.com>
34774         [BZ #13738]
34775         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34776         * manual/fdl-1.3.texi: New file.
34777         * manual/fdl-1.1.texi: File removed.
34779         [BZ #13738]
34780         * manual/libc.texinfo (FDL_VERSION): New @set.
34781         Use it for mention of FDL in cover text.
34782         (Documentation License): Use it in @include file name.
34784 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34785             Roland McGrath  <roland@hack.frob.com>
34787         [BZ #5461]
34788         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34789         not LONG_LONG_MAX and LONG_LONG_MIN.
34790         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34791         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
34792         name.
34793         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34795 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34797         [BZ #2547]
34798         [BZ #11365]
34799         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34800         manipulate bits before adding and subtracting TWO23[sx].
34801         * math/libm-test.inc (nearbyint_test): Add more tests.
34803 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34805         [BZ #2548]
34806         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34807         bits before adding and subtracting TWO23[sx].
34808         * math/libm-test.inc (rint_test): Add more tests.
34809         (rint_test_tonearest): Likewise.
34810         (rint_test_towardzero): Likewise.
34811         (rint_test_downward): Likewise.
34812         (rint_test_upward: Likewise.
34814 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34816         [BZ #10110]
34817         * include/stdc-predef.h: New file.  Extracted from features.h.
34818         * include/features.h: Include stdc-predef.h.
34819         * Makefile (headers): Add stdc-predef.h.
34820         * CONFORMANCE (Compiler limitations): Update.
34822 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34824         * manual/libc.texinfo (VERSION, UPDATED): Revert.
34826 2012-02-21  David S. Miller  <davem@davemloft.net>
34828         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34829         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34831 2012-02-20  David S. Miller  <davem@davemloft.net>
34833         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34834         using a normal save/restore sequence, rather than allocating a
34835         dummy stack frame just to store a frame pointer and restore.
34836         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34838 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
34840         * manual/install.texi: Fix stray word in line-wrapped comment.
34842 2012-02-20  David S. Miller  <davem@davemloft.net>
34844         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34845         both binutils and gcc support GOTDATA.
34847         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34848         "rd %pc" in the PIC register setup sequences.
34850         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34851         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34852         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34853         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34854         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34855         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34856         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34857         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34858         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34859         (SYSCALL_ERROR_HANDLER): Likewise.
34860         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34861         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34862         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34863         (SYSCALL_ERROR_HANDLER): Likewise.
34865         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34866         (HAVE_GCC_GOTDATA): New.
34867         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34868         relocation support in both binutils and gcc.
34869         * sysdeps/sparc/elf/configure: Regenerate.
34871         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34872         * sysdeps/sparc/sparc32/elf/configure: Delete.
34873         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34874         * sysdeps/sparc/sparc64/elf/configure: Delete.
34875         * sysdeps/sparc/elf/configure.in: New file.
34876         * sysdeps/sparc/elf/configure: Generate.
34878         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34879         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34880         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34881         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34882         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34884 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
34886         * manual/install.texi: Do not mention specific glibc version
34887         numbers.
34888         * manual/libc.texinfo (VERSION, UPDATED): Update.
34889         (@copying): Use @copyright{} and range of years.
34891 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
34893         [BZ #13695]
34894         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34895         [crti.S not in sysdirs] (generated): Do not append.
34896         [crti.S not in sysdirs] (omit-deps): Likewise.
34897         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34898         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34899         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34900         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34901         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34902         Likewise.
34903         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34904         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34905         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34906         * csu/defs.awk: Remove file.
34907         * sysdeps/generic/initfini.c: Likewise.
34908         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34909         variable.
34910         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34911         Likewise.
34913 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
34915         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34916         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34917         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34918         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34919         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34920         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34921         <bits/epoll.h>.
34922         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34923         (__EPOLL_PACKED): Define to empty if not defined by
34924         <bits/epoll.h>.
34925         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34926         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34927         bits/epoll.h.
34929 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
34931         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34932         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34933         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34934         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34935         <bits/timerfd.h>.
34936         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34937         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34938         bits/timerfd.h.
34940 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
34942         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34943         in C locale.
34944         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34945         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34946         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34949 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
34951         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34952         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34954 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
34956         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34957         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34958         defined.
34959         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34960         Likewise.
34961         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34962         entry for 2.16.
34964 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
34966         * math/w_acos.c: Use non-signaling floating-point comparisons.
34967         * math/w_acosf.c: Likewise.
34968         * math/w_acosh.c: Likewise.
34969         * math/w_acoshf.c: Likewise.
34970         * math/w_acoshl.c: Likewise.
34971         * math/w_acosl.c: Likewise.
34972         * math/w_asin.c: Likewise.
34973         * math/w_asinf.c: Likewise.
34974         * math/w_asinl.c: Likewise.
34975         * math/w_atanh.c: Likewise.
34976         * math/w_atanhf.c: Likewise.
34977         * math/w_atanhl.c: Likewise.
34978         * math/w_exp2.c: Likewise.
34979         * math/w_exp2f.c: Likewise.
34980         * math/w_exp2l.c: Likewise.
34981         * math/w_j0.c: Likewise.
34982         * math/w_j0f.c: Likewise.
34983         * math/w_j0l.c: Likewise.
34984         * math/w_j1.c: Likewise.
34985         * math/w_j1f.c: Likewise.
34986         * math/w_j1l.c: Likewise.
34987         * math/w_jn.c: Likewise.
34988         * math/w_jnf.c: Likewise.
34989         * math/w_log.c: Likewise.
34990         * math/w_log10.c: Likewise.
34991         * math/w_log10f.c: Likewise.
34992         * math/w_log10l.c: Likewise.
34993         * math/w_log2.c: Likewise.
34994         * math/w_log2f.c: Likewise.
34995         * math/w_log2l.c: Likewise.
34996         * math/w_logf.c: Likewise.
34997         * math/w_logl.c: Likewise.
34998         * math/w_sqrt.c: Likewise.
34999         * math/w_sqrtf.c: Likewise.
35000         * math/w_sqrtl.c: Likewise.
35001         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35002         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35003         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35004         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35005         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35007 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
35009         [BZ #9739]
35010         * manual/string.texi (strnlen): Use correct parameter name in
35011         equivalent expression.
35013 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
35015         [BZ #11174]
35016         * manual/users.texi (seteuid): Consistently use neweuid for
35017         argument name.
35019 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
35021         [BZ #13704]
35022         * manual/nss.texi (Services in the NSS configuration): Correct
35023         list of services in example configuration file.
35025 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
35027         [BZ #11322]
35028         * manual/arith.texi: Remove statements about negative zero
35029         behaving identically to zero.
35031 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
35033         [BZ #5993]
35034         * manual/install.texi: Do not document upgrading from libc5.
35036 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
35038         [BZ #4596]
35039         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35041 2012-02-18  David S. Miller  <davem@davemloft.net>
35043         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35044         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35045         %o7 across the call.
35046         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35047         instead.
35048         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35049         SETUP_PIC_REG_LEAF.
35050         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35051         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35052         * sysdeps/sparc/crtn.S: Likewise.
35054 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
35056         * aout/Makefile: Remove.
35058 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
35060         [BZ #13058]
35061         * manual/examples/argp-ex1.c (main): Format definition in GNU
35062         style.
35063         * manual/examples/argp-ex2.c (main): Likewise.
35064         * manual/examples/argp-ex3.c (main): Likewise.
35065         * manual/examples/argp-ex4.c (main): Likewise.
35066         * manual/examples/longopt.c (main): Use new-style prototype
35067         definition.
35068         * manual/examples/strncat.c (main): Specify return type and use
35069         (void) for arguments.
35070         * manual/examples/subopt.c (main): Use char **argv argument.
35072 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35074         [BZ #5077]
35075         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35076         rounding modes.
35078 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
35080         [BZ #6907]
35081         * manual/string.texi (strchr): Change when strchrnul is
35082         recommended.
35084 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
35086         [BZ #174]
35087         * manual/locale.texi (setlocale): Document LOCPATH.
35089 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35091         [BZ #10210]
35092         * manual/process.texi (execle): Move @dots{} before last argument.
35094 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
35096         [BZ #12047]
35097         * manual/charset.texi (Generic Charset Conversion): Fix typo
35098         (LC_TYPE -> LC_CTYPE).
35100 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
35102         [BZ #5805]
35103         * manual/arith.texi (scalbn): Use @var{} on parameter names.
35104         (scalbnf): Likewise.
35105         (scalbnl): Likewise.
35106         (scalbln): Likewise.
35107         (scalblnf): Likewise.
35108         (scalblnl): Likewise.
35109         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35110         (vwarnx): Likewise.
35111         (verr): Likewise.
35112         (verrx): Likewise.
35113         * manual/filesys.texi (telldir): Use braces around return type.
35114         * manual/llio.texi (mmap): Add space after comma.
35115         (mmap64): Likewise.
35116         * manual/math.texi (jn): Use @var{} on parameter names.
35117         (jnf): Likewise.
35118         (jnl): Likewise.
35119         (yn): Likewise.
35120         (ynf): Likewise.
35121         (ynl): Likewise.
35122         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35123         line.
35124         * manual/resource.texi (ulimit): Use @dots{} instead of literal
35125         "...".
35126         (sched_get_priority_min): Remove semicolon on @deftypefun line.
35127         (sched_get_priority_max): Likewise.
35128         * manual/signal.texi (sigvec): Add space after comma.
35129         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35130         names.
35131         (if_indextoname): Likewise.
35132         (if_freenameindex): Likewise.
35133         (sendto): Use ',' instead of '.' in prototype.
35134         * manual/startup.texi (syscall): Use @dots{} instead of literal
35135         "...".
35136         * manual/stdio.texi (__fpending): Separate initial words of
35137         paragraph from @deftypefun line.
35138         * manual/syslog.texi (syslog): Use @dots{} instead of literal
35139         "...".
35140         (vsyslog): Use @var{} on parameter names.
35141         * manual/terminal.texi (stty): Use @var{} on parameter names.
35142         * manual/users.texi (getutmp): Use @var{} on parameter names.
35143         (getutmpx): Likewise.
35145 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35147         [BZ #6884]
35148         * manual/stdio.texi (fopen): Fix typos in description of
35149         ",ccs=STRING".
35151 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
35153         [BZ #4026]
35154         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35155         get clock_id definition.
35157 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
35159         [BZ #4822]
35160         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35161         (madvise): Cast every argument to void on its own.
35163 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35165         [BZ #9902]
35166         * manual/startup.texi (Exit Status): Fix typo.
35168 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35170         [BZ #10140]
35171         * manual/examples/argp-ex1.c: Include <stdlib.h>.
35172         * manual/examples/argp-ex2.c: Likewise.
35173         * manual/examples/argp-ex3.c: Likewise.
35175 2012-02-16  Richard Henderson  <rth@redhat.com>
35177         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35178         * sysdeps/s390/s390-32/initfini.c: Remove.
35179         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35180         * sysdeps/s390/s390-64/initfini.c: Remove.
35182 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35184         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35185         compiler output for sysdeps/generic/initfini.c.
35186         * sysdeps/sh/elf/initfini.c: Remove file.
35188 2012-02-16  David S. Miller  <davem@davemloft.net>
35190         [BZ #11494]
35191         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35193         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35194         * sysdeps/sparc/crti.S: New file.
35195         * sysdeps/sparc/crtn.S: New file.
35196         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35197         * sysdeps/sparc/sparc64/Makefile: Likewise.
35199 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
35201         [BZ #3335]
35202         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35204 2012-02-15  Roland McGrath  <roland@hack.frob.com>
35206         [BZ #4822]
35207         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35209         * mach/devstream.c (cookie_io_functions_t): Macro removed.
35210         (write, read, close): Likewise.
35211         Patch by Aurelien Jarno <aurelien@aurel32.net>.
35213 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
35215         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35216         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35217         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35218         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35219         <bits/signalfd.h>.
35220         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35221         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35222         bits/signalfd.h.
35224 2012-02-14  Marek Polacek  <polacek@redhat.com>
35226         * sysdeps/x86_64/crti.S: New file.
35227         * sysdeps/x86_64/crtn.S: New file.
35228         * sysdeps/x86_64/elf/initfini.c: Remove file.
35230 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
35232         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35233         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35234         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35235         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35236         <bits/inotify.h>.
35237         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35238         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35239         bits/inotify.h.
35241 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
35243         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35244         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35245         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35246         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35247         <bits/eventfd.h>.
35248         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35249         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35250         bits/eventfd.h.
35252 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
35254         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35255         __feraiseexcept instead of feraiseexcept.
35257         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35258         nanosleep invocations.
35259         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35260         strings, and add error checking for a nanosleep invocations.
35262 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
35264         Replace FSF snail mail address with URLs, as per GNU coding standards.
35265         Most of the snail mail addresses were wrong anyway, and omitting
35266         them makes the source code easier to maintain.  Almost all of the
35267         changes are to license notices and to locale LC_IDENTIFICATION
35268         addresses, except for this one:
35269         * manual/libc.texinfo: In "Published by", give the FSF's URL,
35270         not its snail mail address.
35272 2012-02-09  Richard Henderson  <rth@twiddle.net>
35274         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35275         of kernel-features.h.
35277         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35279 2012-02-08  Marek Polacek  <polacek@redhat.com>
35281         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35282         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35283         * sysdeps/gnu/_G_config.h: Likewise.
35284         * sysdeps/generic/_G_config.h: Likewise.
35286 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
35288         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35289         tests.
35290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35292         * sysdeps/powerpc/powerpc32/crti.S: New file.
35293         * sysdeps/powerpc/powerpc32/crtn.S: New file.
35294         * sysdeps/powerpc/powerpc64/crti.S: New file.
35295         * sysdeps/powerpc/powerpc64/crtn.S: New file.
35297         * Makeconfig (have-initfini): Don't set.
35298         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35299         * configure.in (nopic_initfini): Don't substitute.
35300         * config.h.in (HAVE_INITFINI): Don't #undef.
35301         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35302         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35304 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
35306         Support crti.S and crtn.S provided directly by architectures.
35307         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35308         [crti.S in sysdirs] (omit-deps): Likewise.
35309         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35310         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35311         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35312         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35313         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35314         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35315         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35316         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35317         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35318         compiler output for sysdeps/generic/initfini.c.
35319         * sysdeps/i386/elf/Makefile: Remove file.
35320         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35322 2012-02-07  Marek Polacek  <polacek@redhat.com>
35324         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35325         * sysdeps/gnu/_G_config.h: Likewise.
35326         * sysdeps/mach/hurd/_G_config.h: Likewise.
35328 2012-02-07  Marek Polacek  <polacek@redhat.com>
35330         * math/Makefile (tests): Add tst-CMPLX2.
35331         * math/tst-CMPLX2.c: New file.
35333 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
35335         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35337         * math/libm-test.inc (jn_test): Add missing L suffix.
35339 2012-02-06  Marek Polacek  <polacek@redhat.com>
35341         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35342         * sysdeps/i386/fpu/e_powf.S: Likewise.
35343         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35344         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35345         * sysdeps/i386/fpu/e_acosh.S: Likewise.
35346         * sysdeps/i386/fpu/e_pow.S: Likewise.
35347         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35348         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35349         * sysdeps/i386/fpu/s_expm1.S: Likewise.
35350         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35351         * sysdeps/i386/fpu/e_log2.S: Likewise.
35352         * sysdeps/i386/fpu/e_log2l.S: Likewise.
35353         * sysdeps/i386/fpu/e_scalb.S: Likewise.
35354         * sysdeps/i386/fpu/e_powl.S: Likewise.
35355         * sysdeps/i386/fpu/s_log1p.S: Likewise.
35356         * sysdeps/i386/fpu/e_log10f.S: Likewise.
35357         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35358         * sysdeps/i386/fpu/e_logl.S: Likewise.
35359         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35360         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35361         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35362         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35363         * sysdeps/i386/fpu/e_log2f.S: Likewise.
35364         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35365         * sysdeps/i386/fpu/e_log.S: Likewise.
35366         * sysdeps/i386/fpu/s_cexp.S: Likewise.
35367         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35368         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35369         * sysdeps/i386/fpu/e_logf.S: Likewise.
35370         * sysdeps/i386/fpu/e_log10l.S: Likewise.
35371         * sysdeps/i386/fpu/e_atanh.S: Likewise.
35372         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35373         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35374         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35375         * sysdeps/i386/fpu/e_log10.S: Likewise.
35376         * sysdeps/i386/fpu/s_frexp.S: Likewise.
35377         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35378         * sysdeps/i386/fpu/s_asinh.S: Likewise.
35379         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35380         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35381         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35382         * sysdeps/i386/asm-syntax.h: Likewise.
35383         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35384         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35385         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35386         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35387         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35388         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35389         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35390         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35391         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35392         * sysdeps/powerpc/sysdep.h: Likewise.
35393         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35394         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35396 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
35398         [BZ #411]
35399         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35401 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
35403         * sysdeps/i386/sysdep.h: Include <features.h>.
35404         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35405         version.
35407 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
35409         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35410         Define.
35411         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35412         LOAD_PIC_REG_STR.
35414 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
35416         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35417         (SETUP_PIC_REG): Use GET_PC_THUNK.
35418         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35419         macro.
35421 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
35423         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35424         for non-PIC compilation.
35425         (SETUP_PIC_REG): Add .p2align directive.
35426         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35427         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35428         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35429         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35430         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35431         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35432         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35433         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35434         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35435         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35436         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35437         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35438         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35439         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35440         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35441         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35442         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35443         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35444         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35445         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35446         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35447         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35448         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35449         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35450         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35451         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35452         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35453         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35454         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35455         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35456         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35457         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35458         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35459         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35460         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35461         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35462         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35463         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35464         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35465         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35466         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35468 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
35470         * math/tst-CMPLX.c: Include <stdio.h>.
35472 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
35474         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35475         float.
35476         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35477         * sysdeps/sparc/bits/mathdef.h: Likewise.
35479 2012-01-31  Marek Polacek  <polacek@redhat.com>
35481         * libio/libio.h: Don't define _PARAMS.
35482         * locale/programs/config.h: Don't define PARAMS.
35483         * stdlib/strtol_l.c: Likewise.
35484         (__strtol_l): Remove PARAMS from the prototype.
35486 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
35488         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
35489         names.  Just use the correct names.  Remove unnecessary wrapper
35490         functions.
35491         * malloc/arena.c: Likewise.
35492         * malloc/hooks.c: Likewise.
35494         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35495         ARENA_TEST says not to.  Simplify test for creation of a new arena.
35496         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35498 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
35500         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35501         into tail calls.
35502         (update_get_addr): New function.
35503         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35504         GET_ADDR_MODULE parameter.
35506 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
35508         * crypt/cert.c: Remove __STDC__ conditionals.
35509         * crypt/crypt-entry.c: Likewise.
35510         * crypt/crypt_util.c: Likewise.
35511         * libio/filedoalloc.c: Likewise.
35512         * libio/fileops.c: Likewise.
35513         * libio/genops.c: Likewise.
35514         * libio/iofclose.c: Likewise.
35515         * libio/iofdopen.c: Likewise.
35516         * libio/iofopen.c: Likewise.
35517         * libio/iofopen64.c: Likewise.
35518         * libio/iogetdelim.c: Likewise.
35519         * libio/iopopen.c: Likewise.
35520         * libio/obprintf.c: Likewise.
35521         * libio/oldfileops.c: Likewise.
35522         * libio/oldiofclose.c: Likewise.
35523         * libio/oldiofdopen.c: Likewise.
35524         * libio/oldiofopen.c: Likewise.
35525         * libio/oldiopopen.c: Likewise.
35526         * libio/wfiledoalloc.c: Likewise.
35527         * libio/wgenops.c: Likewise.
35528         * locale/programs/xmalloc.c: Likewise.
35529         * misc/syslog.c: Likewise.
35530         * stdio-common/xbug.c: Likewise.
35531         * string/memchr.c: Likewise.
35532         * string/memcmp.c: Likewise.
35533         * string/memrchr.c: Likewise.
35534         * string/rawmemchr.c: Likewise.
35535         * sysdeps/posix/getcwd.c: Likewise.
35536         * time/strftime_l.c: Likewise.
35538 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
35540         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35541         * config.make.in (config-cflags-sse2avx): Define.
35542         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35543         Fix typo.
35545 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
35547         * scripts/config.guess: Update from upstream config git repository.
35548         * scripts/config.sub: Likewise.
35550 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
35552         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35553         (EM_NUM): Update.
35554         (R_TILEPRO_*, R_TILEGX_*): New macros.
35556         * scripts/firstversions.awk: Fix bug in version range handling.
35558         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35560         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35562         * include/sys/epoll.h: New file.
35563         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35564         libc_hidden_def.
35566 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
35568         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35569         Avoid unnecessary __WORDSIZE == 64 test.
35570         (fmaxf): Use VEX format if possible.
35571         (fmax): Likewise.
35572         (fminf): Likewise.
35573         (fmin): Likewise.
35575         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35576         * math/math_private.h: Remove libc_fegetround* and
35577         libc_fesetround*.
35578         * sysdeps/i386/configure.in: Check for -msse2avx.
35579         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35580         also if SSE2AVX is defined.
35581         Remove libc_fegetround* and libc_fesetround*.
35582         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35583         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
35584         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35585         of HAS_YMM_USABLE.
35586         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35587         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35588         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35589         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35590         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35592         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35594 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35596         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35597         size is not set.
35598         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35600 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
35602         [BZ #13618]
35603         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35604         relocation.
35605         * Makeconfig (libm): Define.
35606         * elf/Makefile: Add rules to build and run tst-relsort1.
35607         * elf/tst-relsort1.c: New file.
35608         * elf/tst-relsort1mod1.c: New file.
35609         * elf/tst-relsort1mod2.c: New file.
35611 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
35613         * math/s_ldexp.c: Remove __STDC__ conditionals.
35614         * math/s_ldexpf.c: Likewise.
35615         * math/s_ldexpl.c: Likewise.
35616         * math/s_nextafter.c: Likewise.
35617         * math/s_nexttowardf.c: Likewise.
35618         * math/s_significand.c: Likewise.
35619         * math/s_significandf.c: Likewise.
35620         * math/s_significandl.c: Likewise.
35621         * math/w_jnl.c: Likewise.
35622         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35623         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35624         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35625         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35626         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35627         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35628         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35629         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35630         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35631         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35632         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35633         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35634         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35635         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35636         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35637         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35638         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35639         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35640         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35641         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35642         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35643         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35644         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35645         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35646         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35647         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35648         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35649         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35650         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35651         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35652         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35653         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35654         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35655         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35656         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35657         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35658         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35659         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35660         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35661         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35662         * sysdeps/ieee754/k_standard.c: Likewise.
35663         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35664         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35665         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35666         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35667         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35668         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35669         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35670         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35671         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35672         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35673         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35674         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35675         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35676         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35677         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35678         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35679         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35680         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35681         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35682         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35683         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35684         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35685         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35686         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35687         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35688         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35689         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35690         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35691         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35692         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35693         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35694         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35695         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35696         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35697         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35698         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35699         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35700         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35701         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35702         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35703         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35704         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35705         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35706         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35707         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35708         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35709         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35710         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35711         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35712         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35713         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35714         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35715         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35716         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35717         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35718         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35719         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35720         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35721         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35722         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35723         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35724         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35725         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35726         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35727         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35728         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35729         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35730         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35731         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35732         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35733         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35734         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35735         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35736         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35737         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35738         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35739         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35740         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35741         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35742         * sysdeps/ieee754/s_matherr.c: Likewise.
35743         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35744         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35745         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35746         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35748 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
35750         * crypt/md5.h: Remove __STDC__ conditionals.
35751         * libio/libioP.h: Likewise.
35752         * locale/programs/config.h: Likewise.
35753         * sysdeps/generic/sysdep.h: Likewise.
35754         * sysdeps/i386/asm-syntax.h: Likewise.
35755         * sysdeps/s390/asm-syntax.h: Likewise.
35756         * sysdeps/unix/sysdep.h: Likewise.
35757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35760 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
35762         * libio/libio.h: Remove __STDC__ conditionals.
35763         * malloc/obstack.h: Likewise.
35764         * math/complex.h: Likewise.
35765         * math/math.h: Likewise.
35766         * sysdeps/generic/_G_config.h: Likewise.
35767         * sysdeps/gnu/_G_config.h: Likewise.
35768         * sysdeps/mach/hurd/_G_config.h: Likewise.
35769         * sysdeps/powerpc/bits/mathdef.h: Likewise.
35770         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35771         * sysdeps/sparc/bits/mathdef.h: Likewise.
35773 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
35775         [BZ #13583]
35776         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
35777         Clean up HAS_* macros.
35778         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
35779         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35780         possible.
35781         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35782         HAS_AVX.
35783         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35784         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35785         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35786         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35787         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35789 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
35791         * elf/tst-unique3.cc (gets): Remove declaration.
35792         * elf/tst-unique3lib.cc (gets): Likewise.
35793         * elf/tst-unique3lib2.cc (gets): Likewise.
35794         * elf/tst-unique4.cc (gets): Likewise.
35796 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
35798         * include/stdio.h: Add C++ protection.  Add gets declarations and
35799         definitions.
35800         * debug/tst-chk1.c: Don't declare gets here.
35801         * stdio-common/tst-gets.c: Likewise.
35803 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
35805         * posix/glob: Remove directory.
35807 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
35809         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35811 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
35813         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35814         of the non-standard EPFNOSUPPORT.
35816 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35818         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35819         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35820         ANYWHERE set to 1 only on KERN_NO_SPACE error.
35822 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
35824         * wcsmbs/uchar.h: Test __STDC_VERSION__.
35826 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
35828         * nscd/aicache.c (addhstaiX): Do not cache negative results of
35829         transient errors.
35830         * nscd/grpcache.c (cache_addgr): Likewise.
35831         * nscd/hstcache.c (cache_addhst): Likewise.
35832         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35833         * nscd/pwdcache.c (cache_addpw): Likewise.
35834         * nscd/servicescache.c (cache_addserv): Likewise.
35836 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
35838         * malloc/malloc.c: Various cleanups.
35839         * malloc/hooks.c: Likewise.
35841         * stdlib/Makefile (tests): Add bug-fmtmsg1.
35842         * stdlib/bug-fmtmsg1.c: New file.
35844         * stdlib/fmtmsg.c (init): Add missing unlock.
35845         Patch by Peng Haitao <penght@cn.fujitsu.com>.
35847 2012-01-12  Marek Polacek  <polacek@redhat.com>
35849         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35850         and _GNU_SOURCE.
35852 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
35854         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35855         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35856         macro to ensure uniqueness of label name.
35857         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35858         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35860 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
35862         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35864         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35865         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35866         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35867         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35869 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
35871         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35873         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35874         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35875         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35877         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35879         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
35880         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35881         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35882         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
35884         * math/bits/math-finite.h: Add ldexp support.
35886 2012-01-10  Marek Polacek  <polacek@redhat.com>
35888         * locale/programs/localedef.h (show_archive_content): Add noreturn
35889         attribute.
35891 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
35893         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35895 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
35897         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35899         * io/Makefile (headers): Add bits/poll2.h.
35901 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
35903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35904         typo #include statement.
35906 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
35908         * include/sys/cdefs.h: Define __attribute_alloc_size.
35909         * catgets/gencat.c: Add alloc_size attribute and apply consistently
35910         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35911         * elf/pldd.c: Likewise.
35912         * iconv/iconv_charmap.c: Likewise.
35913         * iconv/iconvconfig.c: Likewise.
35914         * iconv/strtab.c: Likewise.
35915         * locale/programs/locale.c: Likewise.
35916         * locale/programs/localedef.h: Likewise.
35917         * locale/programs/simple-hash.c: Likewise.
35918         * nscd/nscd.h: Likewise.
35919         * nss/makedb.c: Likewise.
35920         * sysdeps/generic/ldconfig.h: Likewise.
35921         * locale/programs/localedef.c: Remove xmalloc prototype.
35922         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35924 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35926         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35927         appropriate.
35929 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
35931         * math/Makefile (tests): Add tst-CMPLX.
35932         * math/tst-CMPLX.c: New file.
35934         * math/complex.h (CMPLXL): Fix typo.
35936         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35937         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35938         GLIBC_2.16.
35939         * debug/tst-chk1.c: Add poll and ppoll tests.
35940         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35941         * include/sys/poll.h: Add hidden proto for ppoll.
35942         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35943         * sysdeps/mach/hurd/ppoll.c: Likewise.
35944         * io/ppoll.c: Likewise.
35945         * debug/poll_chk.c: New file.
35946         * debug/ppoll_chk.c: New file.
35947         * include/bits/poll2.h: New file.
35948         * io/bits/poll2.h: New file.
35950         [BZ #1350]
35951         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35953         * configure.in: static is always set to yes.  Remove.
35954         * config.make.in: Don't set build-static.
35955         * Makeconfig: Remove use of build-static.
35956         * dlfcn/Makefile: Likewise.
35957         * elf/Makefile: Likewise.
35958         * math/Makefile: Likewise.
35959         * misc/Makefile: Likewise.
35960         * nptl/Makefile: Likewise.
35961         * sysdeps/mach/hurd/Makefile: Likewise.
35963         * configure.in: PWD_P is not used anymore.
35964         * config.make.in: Remove PWD_P entry.
35966         * configure.in: Remove last remnants of RANLIB.
35967         No need to check for signed size_t anymore.
35968         Don't set libc_commonpagesize and libc_relro_required here for Alpha
35969         and IA-64.
35970         Remove __builtin_expect test because we require at least gcc 3.4.
35971         * aclocal.m4: Likewise.
35973         * wcsmbs/mbrtoc16.c: Implement using towc function.
35974         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35975         * wcsmbs/wcsmbsload.c: Likewise.
35976         * iconv/gconv_simple.c: Likewise.
35977         * iconv/gconv_int.h: Likewise.
35978         * iconv/gconv_builtin.h: Likewise.
35979         * iconv/iconv_prog.c: Remove CHAR16 handling.
35981         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35983         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35985         * configure.in: Remove --with-elf and --enable-bounded options.
35986         Dont set base_machine for ia64.  More non-ELF conditions removed.
35987         Remove testing and setting of leading underscore information.
35988         * config.make.in (build-bounded): Set to no.
35989         * config.h.in: Remove NO_UNDERSCORES entry.
35990         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
35991         them.
35992         * csu/start.c: Remove !NO_UNDERSCORE code.
35993         * locale/localeinfo.h: Likewise.
35994         * sysdeps/generic/machine-gmon.h: Likewise.
35995         * sysdeps/generic/sysdep.h: Likewise.
35996         * sysdeps/i386/sysdep.h: Likewise.
35997         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35998         * sysdeps/mach/sysdep.h: Likewise.
35999         * sysdeps/s390/s390-32/sysdep.h: Likewise.
36000         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36001         * sysdeps/sh/sysdep.h: Likewise.
36002         * sysdeps/sparc/sparc32/alloca.S: Likewise.
36003         * sysdeps/unix/i386/sysdep.S: Likewise.
36004         * sysdeps/unix/sparc/start.c: Likewise.
36005         * sysdeps/unix/sparc/sysdep.S: Likewise.
36006         * sysdeps/unix/sparc/sysdep.h: Likewise.
36007         * sysdeps/unix/start.c: Likewise.
36008         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36009         * sysdeps/x86_64/sysdep.h: Likewise.
36011 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
36013         [BZ #13553]
36014         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36015         for non-gcc.
36016         * argp/argp-fmtstream.h: Use const instead __const.
36017         * argp/argp.h: Likewise.
36018         * assert/assert.h: Likewise.
36019         * bits/fenv.h: Likewise.
36020         * bits/sched.h: Likewise.
36021         * bits/sigset.h: Likewise.
36022         * bits/sigthread.h: Likewise.
36023         * catgets/nl_types.h: Likewise.
36024         * conform/data/pthread.h-data: Likewise.
36025         * crypt/crypt-private.h: Likewise.
36026         * crypt/crypt.h: Likewise.
36027         * crypt/crypt_util.c: Likewise.
36028         * ctype/ctype.h: Likewise.
36029         * debug/execinfo.h: Likewise.
36030         * debug/mbsnrtowcs_chk.c: Likewise.
36031         * debug/mbsrtowcs_chk.c: Likewise.
36032         * debug/wcsnrtombs_chk.c: Likewise.
36033         * debug/wcsrtombs_chk.c: Likewise.
36034         * debug/wcstombs_chk.c: Likewise.
36035         * dirent/dirent.h: Likewise.
36036         * dlfcn/dlfcn.h: Likewise.
36037         * elf/neededtest4.c: Likewise.
36038         * grp/grp.h: Likewise.
36039         * gshadow/gshadow.h: Likewise.
36040         * iconv/gconv.h: Likewise.
36041         * iconv/gconv_int.h: Likewise.
36042         * iconv/gconv_simple.c: Likewise.
36043         * iconv/iconv.h: Likewise.
36044         * iconv/loop.c: Likewise.
36045         * iconv/skeleton.c: Likewise.
36046         * include/aio.h: Likewise.
36047         * include/aliases.h: Likewise.
36048         * include/argz.h: Likewise.
36049         * include/arpa/inet.h: Likewise.
36050         * include/assert.h: Likewise.
36051         * include/dirent.h: Likewise.
36052         * include/dlfcn.h: Likewise.
36053         * include/execinfo.h: Likewise.
36054         * include/fcntl.h: Likewise.
36055         * include/fenv.h: Likewise.
36056         * include/glob.h: Likewise.
36057         * include/grp.h: Likewise.
36058         * include/libintl.h: Likewise.
36059         * include/mntent.h: Likewise.
36060         * include/netdb.h: Likewise.
36061         * include/pwd.h: Likewise.
36062         * include/rpc/netdb.h: Likewise.
36063         * include/sched.h: Likewise.
36064         * include/search.h: Likewise.
36065         * include/shadow.h: Likewise.
36066         * include/signal.h: Likewise.
36067         * include/stdio.h: Likewise.
36068         * include/stdlib.h: Likewise.
36069         * include/string.h: Likewise.
36070         * include/sys/socket.h: Likewise.
36071         * include/sys/stat.h: Likewise.
36072         * include/sys/statfs.h: Likewise.
36073         * include/sys/statvfs.h: Likewise.
36074         * include/sys/syslog.h: Likewise.
36075         * include/sys/time.h: Likewise.
36076         * include/sys/uio.h: Likewise.
36077         * include/time.h: Likewise.
36078         * include/unistd.h: Likewise.
36079         * include/utmp.h: Likewise.
36080         * include/wchar.h: Likewise.
36081         * include/wctype.h: Likewise.
36082         * inet/aliases.h: Likewise.
36083         * inet/arpa/inet.h: Likewise.
36084         * inet/netinet/ether.h: Likewise.
36085         * inet/netinet/in.h: Likewise.
36086         * intl/libintl.h: Likewise.
36087         * io/bits/fcntl2.h: Likewise.
36088         * io/fcntl.h: Likewise.
36089         * io/ftw.h: Likewise.
36090         * io/sys/poll.h: Likewise.
36091         * io/sys/stat.h: Likewise.
36092         * io/sys/statfs.h: Likewise.
36093         * io/sys/statvfs.h: Likewise.
36094         * io/utime.h: Likewise.
36095         * libio/bits/stdio.h: Likewise.
36096         * libio/bits/stdio2.h: Likewise.
36097         * libio/libio.h: Likewise.
36098         * libio/libioP.h: Likewise.
36099         * libio/stdio.h: Likewise.
36100         * locale/lc-ctype.c: Likewise.
36101         * locale/locale.h: Likewise.
36102         * login/utmp.h: Likewise.
36103         * malloc/arena.c: Likewise.
36104         * malloc/malloc.c: Likewise.
36105         * malloc/malloc.h: Likewise.
36106         * malloc/mcheck.c: Likewise.
36107         * malloc/mtrace.c: Likewise.
36108         * math/bits/mathcalls.h: Likewise.
36109         * math/fenv.h: Likewise.
36110         * math/math_private.h: Likewise.
36111         * misc/bits/error.h: Likewise.
36112         * misc/bits/syslog.h: Likewise.
36113         * misc/err.h: Likewise.
36114         * misc/error.h: Likewise.
36115         * misc/fstab.h: Likewise.
36116         * misc/mntent.h: Likewise.
36117         * misc/regexp.h: Likewise.
36118         * misc/search.h: Likewise.
36119         * misc/sgtty.h: Likewise.
36120         * misc/sys/mman.h: Likewise.
36121         * misc/sys/syslog.h: Likewise.
36122         * misc/sys/uio.h: Likewise.
36123         * misc/sys/xattr.h: Likewise.
36124         * misc/ttyent.h: Likewise.
36125         * nis/rpcsvc/ypclnt.h: Likewise.
36126         * nss/nss.h: Likewise.
36127         * posix/bits/unistd.h: Likewise.
36128         * posix/fnmatch.h: Likewise.
36129         * posix/glob.h: Likewise.
36130         * posix/sched.h: Likewise.
36131         * posix/spawn.h: Likewise.
36132         * posix/sys/wait.h: Likewise.
36133         * posix/unistd.h: Likewise.
36134         * posix/wordexp.h: Likewise.
36135         * pwd/pwd.h: Likewise.
36136         * resolv/netdb.h: Likewise.
36137         * resource/sys/resource.h: Likewise.
36138         * rt/aio.h: Likewise.
36139         * rt/bits/mqueue2.h: Likewise.
36140         * rt/mqueue.h: Likewise.
36141         * shadow/shadow.h: Likewise.
36142         * signal/signal.h: Likewise.
36143         * socket/send.c: Likewise.
36144         * socket/sendto.c: Likewise.
36145         * socket/sys/socket.h: Likewise.
36146         * stdio-common/printf.h: Likewise.
36147         * stdlib/bits/stdlib.h: Likewise.
36148         * stdlib/fmtmsg.h: Likewise.
36149         * stdlib/monetary.h: Likewise.
36150         * stdlib/stdlib.h: Likewise.
36151         * stdlib/ucontext.h: Likewise.
36152         * streams/stropts.h: Likewise.
36153         * string/argz.h: Likewise.
36154         * string/bits/string2.h: Likewise.
36155         * string/string.h: Likewise.
36156         * string/strings.h: Likewise.
36157         * sunrpc/rpc/auth.h: Likewise.
36158         * sunrpc/rpc/auth_des.h: Likewise.
36159         * sunrpc/rpc/clnt.h: Likewise.
36160         * sunrpc/rpc/netdb.h: Likewise.
36161         * sunrpc/rpc/pmap_clnt.h: Likewise.
36162         * sunrpc/rpc/xdr.h: Likewise.
36163         * sysdeps/generic/inttypes.h: Likewise.
36164         * sysdeps/generic/net/if.h: Likewise.
36165         * sysdeps/generic/sys/swap.h: Likewise.
36166         * sysdeps/gnu/net/if.h: Likewise.
36167         * sysdeps/gnu/utmpx.h: Likewise.
36168         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36169         * sysdeps/i386/i486/bits/string.h: Likewise.
36170         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36171         * sysdeps/s390/bits/string.h: Likewise.
36172         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36173         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36174         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36175         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36176         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36177         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36178         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36179         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36180         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36181         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36182         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36183         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36184         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36185         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36186         * sysdeps/unix/sysv/linux/readv.c: Likewise.
36187         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36188         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36189         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36190         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36191         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36192         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36193         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36194         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36195         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36196         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36197         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36198         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36199         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36200         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36201         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36202         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36203         * sysvipc/sys/ipc.h: Likewise.
36204         * sysvipc/sys/msg.h: Likewise.
36205         * sysvipc/sys/sem.h: Likewise.
36206         * sysvipc/sys/shm.h: Likewise.
36207         * termios/termios.h: Likewise.
36208         * time/sys/time.h: Likewise.
36209         * time/time.h: Likewise.
36210         * wcsmbs/bits/wchar2.h: Likewise.
36211         * wcsmbs/uchar.h: Likewise.
36212         * wcsmbs/wchar.h: Likewise.
36213         * wctype/wctype.h: Likewise.
36215         [BZ #13551]
36216         * Makeconfig: Remove all but ELF support including AIX support.
36217         * Makerules: Likewise.
36218         * config.h.in: Likewise.
36219         * config.make.in: Likewise.
36220         * configure: Likewise.
36221         * configure.in: Likewise.
36222         * csu/Makefile: Likewise.
36223         * csu/version.c: Likewise.
36224         * debug/Makefile: Likewise.
36225         * dlfcn/Makefile: Likewise.
36226         * elf/Makefile: Likewise.
36227         * extra-lib.mk: Likewise.
36228         * iconv/Makefile: Likewise.
36229         * include/libc-symbols.h: Likewise.
36230         * include/shlib-compat.h: Likewise.
36231         * resolv/Makefile: Likewise.
36232         * resolv/res_libc.c: Likewise.
36233         * rt/Makefile: Likewise.
36234         * sysdeps/i386/asm-syntax.h: Likewise.
36235         * sysdeps/i386/sysdep.h: Likewise.
36236         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36237         * sysdeps/mach/sysdep.h: Likewise.
36238         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36239         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36240         * sysdeps/s390/asm-syntax.h: Likewise.
36241         * sysdeps/s390/s390-32/sysdep.h: Likewise.
36242         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36243         * sysdeps/sh/sysdep.h: Likewise.
36244         * sysdeps/unix/sparc/sysdep.h: Likewise.
36245         * sysdeps/wordsize-32/divdi3.c: Likewise.
36246         * sysdeps/x86_64/sysdep.h: Likewise.
36248         * argp/Versions: Remove _argp_unlock_xxx.
36250         [BZ #13559]
36251         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
36252         * abilist/libBrokenLocale.abilist: Likewise.
36253         * abilist/libanl.abilist: Likewise.
36254         * abilist/libc.abilist: Likewise.
36255         * abilist/libcrypt.abilist: Likewise.
36256         * abilist/libdl.abilist: Likewise.
36257         * abilist/libm.abilist: Likewise.
36258         * abilist/libnsl.abilist: Likewise.
36259         * abilist/libpthread.abilist: Likewise.
36260         * abilist/libresolv.abilist: Likewise.
36261         * abilist/librt.abilist: Likewise.
36262         * abilist/libthread_db.abilist: Likewise.
36263         * abilist/libutil.abilist: Likewise.
36264         * abilist/libnss_db.abilist: New file.
36266         * scripts/abilist.awk: Add support for indirect functions.
36268         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36270         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36272         * shlib-versions: Remove entries for ports architectures.
36274         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
36275         files in ports.
36276         * elf/stackguard-macros.h: Remove support for IA-64.
36277         * elf/tst-auditmod1.c: Likewise.
36278         * sysdeps/generic/ldsodefs.h: Likewise.
36280         * sysdeps/unix/sysv/linux/configure.in: Ports should define
36281         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36282         configure files.
36284         [BZ #13552]
36285         * configure.in: Remove --enable-omitfp support.
36286         * FAQ.in: Adjust.
36287         * config.make.in: Likewise.
36288         * Makeconfig: Likewise.
36289         * manual/install.texi: Likewise.
36291         In case anyone cares, the IA-64 architecture could move to ports.
36292         * sysdeps/ia64/*: Removed.
36293         * sysdeps/unix/sysv/linux/ia64/*: Removed.
36294         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36296         [BZ #13555]
36297         * configure.in: Remove entries for unsupported architectures.
36299         [BZ #13533]
36300         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36301         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
36302         routines.
36303         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36304         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36305         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
36306         fall back to using wcrtomb.
36307         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36308         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
36309         renaming.
36310         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36311         * wcsmbs/tst-c16c32-1.c: New file.
36313         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36314         local variable.
36316         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36318         * elf/tst-unique3.cc: Add explicit declaration of gets.
36319         * elf/tst-unique3lib.cc: Likewise.
36320         * elf/tst-unique3lib2.cc: Likewise.
36321         * elf/tst-unique4.cc: Likewise.
36323         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36325 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
36327         [BZ #13566]
36328         * assert/assert.h (static_assert): Don't define for C++.
36329         * libio/stdio.h (gets): Do declare for C++ <= C++11.
36330         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36332 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
36334         * iconv/loop.c (single loop): Fix assertion in storing of
36335         remaining bytes.
36337         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36339 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
36341         * posix/getconf.c: Update copyright year.
36342         * nss/getent.c: Likewise.
36343         * nss/makedb.c: Likewise.
36344         * iconv/iconvconfig.c: Likewise.
36345         * iconv/iconv_prog.c: Likewise.
36346         * elf/ldconfig.c: Likewise.
36347         * elf/pldd.c: Likewise.
36348         * elf/sotruss.ksh: Likewise.
36349         * catgets/gencat.c: Likewise.
36350         * csu/version.c: Likewise.
36351         * elf/ldd.bash.in: Likewise.
36352         * elf/sprof.c (print_version): Likewise.
36353         * locale/programs/locale.c: Likewise.
36354         * locale/programs/localedef.c: Likewise.
36355         * login/programs/pt_chown.c: Likewise.
36356         * nscd/nscd.c (print_version): Likewise.
36357         * debug/xtrace.sh: Likewise.
36358         * malloc/memusage.sh: Likewise.
36359         * malloc/mtrace.pl: Likewise.
36360         * debug/catchsegv.sh: Likewise.
36362 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
36364         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36365         pure attribute.
36367 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
36369         [BZ #13533]
36370         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36371         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36372         transformations.
36373         * iconv/gconv_int.h: Likewise.
36374         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36375         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36376         from libc for GLIBC_2.16.
36377         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36378         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36379         * wcsmbs/uchar.h: Really define mbstate_t.
36380         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36381         * wcsmbs/c16rtomb.c: New file.
36382         * wcsmbs/mbrtoc16.c: New file.
36383         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36384         for C/POSIX locale.
36385         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36386         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36388         * wcsmbs/wchar.h: Add missing __restrict.
36390 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
36392         [BZ #13532]
36393         * time/Makefile (routines): Add timespec_get.
36394         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36395         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
36396         timespec for ISO C11.
36397         * time/timespec_get.c: New file.
36398         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36399         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36401         [BZ #13531]
36402         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36403         * stdlib/stdlib.h: Declare aligned_alloc.
36404         * Versions.def: Add GLIBC_2.16 for libc.
36405         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36407         [BZ 13527]
36408         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36409         ISO C11.
36411         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36412         code.
36414         [BZ #13528]
36415         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36417         [BZ #13529]
36418         * assert/assert.h (static_assert): Define.
36420         * version.h: Update for 2.16 development version.
36422         [BZ #13526]
36423         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36424         _ISOC11_SOURCE.
36426         * version.h (RELEASE): Bump for 2.15 release.
36427         * include/features.h (__GLIBC_MINOR__): Bump to 15.
36429         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36430         Patch by Marek Polacek <mpolacek@redhat.com>.
36432         * bits/byteswap.h: Protect long long constants with __extension__.
36433         * sysdeps/i386/bits/byteswap.h: Likewise.
36434         * sysdeps/ia64/bits/byteswap.h: Likewise.
36435         * sysdeps/s390/bits/byteswap.h: Likewise.
36436         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36438 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36440         [BZ #13540]
36441         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36442         destination buffer.
36443         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36445 2011-12-23  Marek Polacek  <polacek@redhat.com>
36447         * elf/dl-addr.c (determine_info): Add inline keyword.
36448         * elf/tst-auditmod4b.c (check_avx): Likewise.
36449         * elf/tst-auditmod6b.c (check_avx): Likewise.
36450         * elf/tst-auditmod6c.c (check_avx): Likewise.
36451         * elf/tst-auditmod7b.c (check_avx): Likewise.
36453 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
36455         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36456         !__SSE_MATH__.
36458 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36460         [BZ #13540]
36461         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36462         processing for last bytes.
36464 2011-08-06  Bruno Haible  <bruno@clisp.org>
36466         [BZ #13061]
36467         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36468         U+0385, not to U+1FEE.
36470         [BZ #13062]
36471         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36472         entry for U+00A5 U+0301.
36474 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
36476         [BZ #13166]
36477         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36478         buffer for the output is too small.
36480         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36481         optimization.
36483         [BZ #13185]
36484         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36485         SSE flags if possible.
36487 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36489         [BZ #13540]
36490         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36491         processing for last bytes.
36493 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
36495         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36496         (syscall-list-default-options, syscall-list-default-condition)
36497         (syscall-list-includes): Define.
36498         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36499         list of ABIs and options and #if conditions for each ABI.  Do not
36500         handle common syscalls between ABIs specially.
36501         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36502         Remove.
36503         (syscall-list-variants, syscall-list-32bit-options)
36504         (syscall-list-32bit-condition, syscall-list-64bit-options)
36505         (syscall-list-64bit-condition): Define.
36506         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36507         (syscall-list-variants, syscall-list-32bit-options)
36508         (syscall-list-32bit-condition, syscall-list-64bit-options)
36509         (syscall-list-64bit-condition): Define.
36510         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36511         Remove.
36512         (syscall-list-variants, syscall-list-32bit-options)
36513         (syscall-list-32bit-condition, syscall-list-64bit-options)
36514         (syscall-list-64bit-condition): Define.
36515         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36516         Remove.
36517         (syscall-list-variants, syscall-list-32bit-options)
36518         (syscall-list-32bit-condition, syscall-list-64bit-options)
36519         (syscall-list-64bit-condition): Define.
36521 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
36523         * locale/iso-639.def: Add brx entry.
36525         [BZ #13328]
36526         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36527         Proposed by Mariusz_Cukr <marcukr@op.pl>.
36529         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36530         __feraiseexcept_renamed.
36532 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
36534         [BZ #13538]
36535         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36536         EPOLLET with unsigned values.
36537         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36538         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36540         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36541         to large cancellation.
36542         * math/s_cacoshf.c: Likewise.
36543         * math/s_cacoshl.c: Likewise.
36545 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
36547         [BZ #13305]
36548         [BZ #12786]
36549         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36550         * math/s_cacoshf.c: Likewise.
36551         * math/s_cacoshl.c: Likewise.
36553 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
36555         [BZ #13439]
36556         * iconv/gconv.h: Define __GCONV_SWAP.
36557         * iconvdata/unicode.c: The swap bit must be stored in __flags.
36558         * iconvdata/utf-16.c: Likewise.
36559         * iconvdata/utf-32.c: Likewise.
36561 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
36563         [BZ #13524]
36564         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36565         numerator after shifting it by one limb.
36567 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
36569         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36570         under [__USE_EXTERN_INLINES].
36572 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
36574         [BZ #13446]
36575         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36577 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36579         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36580         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36581         optimized code.
36582         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36583         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36584         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36585         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36586         for strncasecmp/strncasecmp_l compilation.
36587         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36588         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36590 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
36592         [BZ #13484]
36593         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36594         of __asm__.
36596 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
36598         [BZ #13506]
36599         * time/tzfile.c (__tzfile_read): Check values from file header.
36601 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
36603         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36604         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36605         * powerpc/powerpc32/dl-start.S: Likewise.
36606         * powerpc/powerpc32/elf/start.S: Likewise.
36607         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36608         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36609         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36610         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36611         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36612         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36613         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36614         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36615         * powerpc/powerpc32/fpu/s_round.S: Likewise.
36616         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36617         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36618         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36619         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36620         * powerpc/powerpc32/memset.S: Likewise.
36621         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36622         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36623         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36624         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36625         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36626         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36627         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36628         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36629         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36630         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36631         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36632         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36633         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36635 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36637         * math/libm-test.inc: Added more nearbyint tests.
36638         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36639         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36640         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36641         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36643 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
36645         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36646         FD_CLOEXEC.
36648 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36650         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36651         Add wcscpy-ssse3 wcscpy-c.
36652         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36653         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36654         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36655         * sysdeps/x86_64/wcschr.S: New file.
36656         * sysdeps/x86_64/wcsrchr.S: New file.
36657         * string/test-strcmp.c: Remove checking of wcscmp function for
36658         wrong alignments.
36659         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36660         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36661         wcsrchr-sse2 wcsrchr-c.
36662         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36663         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36664         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36665         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36666         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36667         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36668         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36669         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36670         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36671         * wcsmbc/wcschr.c (WCSCHR): New macro.
36673 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36675         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36676         * wcsmbs/test-wcsrchr.c: New file.
36677         * string/test-strrchr.c: Add wcsrchr support.
36678         (WIDE): New macro.
36679         * wcsmbs/test-wcscpy.c: New file.
36680         * string/test-strcpy.c: Add wcscpy support.
36681         (WIDE): New macro.
36683 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
36685         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36686         the inner loop.
36688 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
36690         [BZ #13472]
36691         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36693 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
36695         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36696         Minor optimizations.
36698         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36699         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36700         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36702 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
36704         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36705         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36706         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36707         for gcc to avoid warnings.
36708         * inet/Makefile (tests): Add tst-checks.
36709         * inet/tst-checks.c: New file.
36711         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36712         warning.
36714         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36715         __wmemcmp_sse2.
36717         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36718         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36720         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36722 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
36724         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36725         problem.
36727         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36729 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
36731         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36732         conditional on GCC version.
36733         (__arch_compare_and_exchange_val_8_acq)
36734         (__arch_compare_and_exchange_val_16_acq)
36735         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36736         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36737         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36739 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
36741         * sysdeps/sh/backtrace.c: New file.
36743 2011-12-02  Andreas Schwab  <schwab@redhat.com>
36745         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
36746         parenthesis.
36748 2011-12-01  Andreas Schwab  <schwab@redhat.com>
36750         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36751         falling back to utime.
36753 2011-11-30  Andreas Schwab  <schwab@redhat.com>
36755         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36756         expectations for float.
36758 2011-11-29  Andreas Schwab  <schwab@redhat.com>
36760         * locale/weight.h (findidx): Add parameter len.
36761         * locale/weightwc.h (findidx): Likewise.
36762         * posix/fnmatch_loop.c (FCT): Adjust caller.
36763         * posix/regcomp.c (build_equiv_class): Likewise.
36764         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36765         * posix/regexec.c (check_node_accept_bytes): Likewise.
36766         * string/strcoll_l.c (STRCOLL): Likewise.
36767         * string/strxfrm_l.c (STRXFRM): Likewise.
36769 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
36771         * Makefile.in: Remove CVSOPT handling.
36772         * configure.in: Remove use of AC_REVISION.
36773         * iconvdata/Makefile (distribute): No need to filter out CVS.
36774         * scripts/list-sources.sh: Remove CVS, subversion and monotone
36775         handling.
36777 2011-11-16  Andreas Schwab  <schwab@redhat.com>
36779         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36780         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36781         [USE_AS_STRNCASECMP_L]: Likewise.
36782         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36783         NO_TLS_DIRECT_SEG_REFS.
36784         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36785         Fix argument offsets for non-PIC.
36786         [USE_AS_STRNCASECMP_L]: Likewise.
36787         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36788         NO_TLS_DIRECT_SEG_REFS.
36790 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
36792         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
36793         O_CLOEXEC.
36794         * locale/loadlocale.c (_nl_load_locale): Likewise.
36796 2011-11-15  Andreas Schwab  <schwab@redhat.com>
36798         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36799         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36800         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36801         (SYSCALL_GETTIME): Set errno on error.
36803         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36804         count references to noai6ai_cached.
36806 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
36808         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36810         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36811         FD_CLOEXEC for /proc/self/maps.
36813         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36814         FD_CLOEXEC for /proc/meminfo.
36816         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36817         gai.conf.
36819         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
36820         FD_CLOEXEC for given file.
36822         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36824         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36825         FD_CLOEXEC for /etc/hosts.
36826         (_gethtent): Likewise.
36828         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36830         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36831         cancellation and set FD_CLOEXEC for /etc/netgroup.
36833         * nss/nss_files/files-key.c (search): Don't allow cancellation when
36834         reading /etc/publickey.
36836         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36837         allow cancellation when reading /etc/group.
36839         * nss/nss_files/files-alias.c (internal_setent): Don't allow
36840         cancellation.
36841         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
36843         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36844         when using data file.
36846         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36848         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36849         (write_nis_obj): Use "c" and "e" in fopen.
36851         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36853         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36855         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36857         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36859         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36860         locale.alias.
36862         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36864         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36866         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36868         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36869         file parsing and set FD_CLOEXEC.
36871 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
36873         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36875 2011-11-14  Andreas Schwab  <schwab@redhat.com>
36877         * malloc/arena.c (arena_get2): Don't call reused_arena when
36878         _int_new_arena failed.
36880 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
36882         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36883         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36884         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36885         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36886         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36887         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36888         to compile strcasecmp and strncasecmp.
36889         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36890         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36892         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36894 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
36896         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36897         locale-defines.sym to gen-as-const-headers.
36898         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36899         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36900         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36901         to compile strcasecmp and strncasecmp.
36902         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36903         strcasecmp_l and strncasecmp_l.
36904         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36905         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36906         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36907         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36908         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36909         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36910         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36911         * sysdeps/i386/i686/multiarch/strncase.S: New file.
36912         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36913         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36914         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36916 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
36918         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36919         result of SYSDEP_GETTIME_CPU to retval.
36920         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36921         parameter list to macro.  Remove trailing semicolon.  Adjust users.
36923         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36924         variable.
36926         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36927         mantissa words.
36928         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36930         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36931         from unused variable.
36933         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36934         DWARF definitions.
36935         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36936         for assembling.
36938         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36939         over namespaces.
36941         * sunrpc/rpc_prot.c (rejected): Fix case value.
36943         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36944         unsigned long long int to avoid warnings in shift.
36946         * posix/regex_internal.c (re_string_reconstruct): Actually use result
36947         of use of trans.
36948         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36949         variable tmp.
36951         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36952         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36953         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36955         * nis/nis_table.c (nis_list): Use variable of correct type for
36956         result of __follow_path call.
36958 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36960         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36961         of math functions ceil, trunc, floor, round, and sqrt, when
36962         avaliable on the platform.
36963         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36964         name clash.
36965         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36966         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36967         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36969 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
36971         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36972         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36974 2011-11-11  Roland McGrath  <roland@hack.frob.com>
36976         * include/unistd.h: Fix __readlink return type.
36977         Reported by Chris Metcalf <cmetcalf@tilera.com>.
36979 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
36981         * stdlib/ucontext.h: Undo last change for makecontext.
36983 2011-11-11  Andreas Schwab  <schwab@redhat.com>
36985         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36987         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36988         * setjmp/setjmp.h: Mark functions as non-leaf.
36989         * setjmp/bits/setjmp2.h: Likewise.
36990         * stdlib/ucontext.h: Likewise.
36992 2011-11-10  Andreas Schwab  <schwab@redhat.com>
36994         * malloc/arena.c (_int_new_arena): Don't increment narenas.
36995         (reused_arena): Don't check arena limit.
36996         (arena_get2): Atomically check arena limit.
36998 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
37000         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37001         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37003         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37004         instructions.
37006 2011-11-07  Andreas Schwab  <schwab@redhat.com>
37008         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37009         handler when locking.
37011         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37012         Fix size of allocated buffer.
37014 2011-11-04  Andreas Schwab  <schwab@redhat.com>
37016         [BZ #10103]
37017         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37018         declarations for long double functions.
37019         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37021         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37023 2011-11-03  Andreas Schwab  <schwab@redhat.com>
37025         * nscd/nscd.c (main): Don't start AVC thread until credentials are
37026         installed.
37028         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37029         is disabled.
37031 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37033         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37035 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
37037         * include/alloca.h (stackinfo_alloca_round): Define.
37038         (extend_alloca): Use it.
37039         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37040         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37041         here.
37043         * scripts/check-local-headers.sh: Ignore libaudit.h.
37045         * nscd/Makefile (extra-objs): Make recursively expanded.
37047 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
37049         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37050         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37052         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37053         * posix/tst-rfc3484-2.c: Likewise.
37054         * posix/tst-rfc3484-3.c: Likewise.
37056         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37057         process_vm_writev.
37058         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37059         process_vm_writev.
37060         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37061         process_vm_writev from libc using GLIBC_2.15 version.
37063         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37065 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
37067         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37068         stack usage.
37070 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
37072         [BZ #13367]
37073         * nss/getent.c (initgroups_keys): Show error message in case no group
37074         names are given.
37076         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37077         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37078         __bump_nl_timestamp.
37079         * nscd/connections (nscd_init): When host database is served open
37080         netlink socket and request notification about configuration changes.
37081         (main_loop_poll): Track netlink file descriptor and bump timestamp
37082         in case data becomes available.
37083         (main_loop_epoll): Likewise.
37084         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37085         (database_pers_head): Add extra_data fileds.
37086         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37087         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37088         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37089         Adjust caller.
37090         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37091         in6ai data, call __free_in6ai.
37092         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37093         Add -DHAVE_NETLINK.
37094         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
37095         interface information.  Reuse previous data if netlink timestamp
37096         is not changed.
37097         (__bump_nl_timestamp): New function.
37098         (__free_in6ai): New function.
37100 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
37102         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37103         close_not_cancel_no_status here.
37104         (__check_pf): Reorganize code a bit to not call close twice if OOM.
37106 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
37108         [BZ #13276]
37109         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37110         return value.
37112         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37113         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37114         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37116 2011-07-03  Andreas Jaeger  <aj@suse.de>
37118         [BZ #10709]
37119         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37120         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37121         * math/libm-test.inc (sin_test): Add test case.
37123 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
37125         [BZ #13337]
37126         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37127         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37129         * elf/chroot_canon.c (chroot_canon): Cleanups.
37131         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37133         [BZ #13335]
37134         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37135         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37137         * string/test-strchr.c: Make usable for strchrnul testing.
37138         * string/test-strchrnul.c: New file.
37139         * string/Makefile (strop-tests): Add strchrnul.
37141         * po/it.po: Update from translation team.
37142         * po/es.po: Likewise.
37144 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
37146         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37147         the three constants needed as parameters.  Drop the others.
37148         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37149         __m128i_strloadu_tolower.
37150         Create and initialize variable zero and use it in all the places
37151         where _mm_setzero_si128 was used.
37153         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37154         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37155         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37156         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37157         anymore.
37158         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37159         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37160         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37161         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37162         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37163         __mpranred, __mptan.
37164         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37165         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37166         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37167         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37168         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37169         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37170         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37171         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37172         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37174 2011-10-28  Andreas Schwab  <schwab@redhat.com>
37176         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37177         redefine if SHARED.
37178         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37180         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37181         wide char related routines to wcsmbs subdir.
37183 2011-10-27  Andreas Schwab  <schwab@redhat.com>
37185         [BZ #13344]
37186         * misc/sys/cdefs.h (__THROWNL): Define.
37187         * posix/unistd.h: Use __THREADNL instead of __THREAD
37188         for memory synchronization functions.
37190 2011-10-26  Roland McGrath  <roland@hack.frob.com>
37192         [BZ #13349]
37193         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37194         doesn't exist.
37195         * manual/stdio.texi (Obstack Streams): Node removed.
37197 2011-10-26  Andreas Schwab  <schwab@redhat.com>
37199         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37200         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37201         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37203         * math/math_private.h (math_force_eval): Allow non-addressable
37204         arguments.
37205         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37207 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
37209         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37210         file is not needed.
37212         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37213         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37214         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37215         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37216         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37217         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37218         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37219         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37220         Add AVX variants.
37221         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37222         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37223         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37224         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37225         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37226         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37227         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37228         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37229         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37230         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37231         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37232         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37233         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37234         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37235         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37236         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37237         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37238         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37239         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37241         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37242         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
37244         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37245         place.  Use VEX encoding when compiling for AVX.
37247 2011-10-25  Andreas Schwab  <schwab@redhat.com>
37249         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37250         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37252         * string/test-strchr.c (do_test): Don't generate NUL bytes.
37254 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
37256         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37257         useless if() expression.
37258         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37259         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37260         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37261         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37262         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37263         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37264         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37265         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37266         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37267         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37268         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37269         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37270         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37271         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37272         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37273         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37274         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37275         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37276         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37278         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37280 2011-10-25  Andreas Schwab  <schwab@redhat.com>
37282         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37283         condition.
37284         * elf/dl-fini.c (_dl_sort_fini): Likewise.
37286 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
37288         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37289         .text section.  Avoid duplicate constants.
37290         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37291         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37292         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37293         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37294         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37295         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37296         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37297         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37298         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37299         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37300         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37301         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37302         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37303         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37304         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37305         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37306         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37307         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37308         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37309         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37310         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37311         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37312         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37313         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37314         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37315         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37316         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37317         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37318         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37319         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37320         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37321         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37322         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37323         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37324         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37325         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37326         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37327         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37328         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37329         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37330         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37331         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37332         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37333         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37334         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37336 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
37338         * sysdeps/x86_64/dla.h: Move to ...
37339         * sysdeps/x86_64/fpu/dla.h: ...here.
37340         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37341         situations.  Use __builtin_fma only for gcc 4.6 and up.
37343         * config.make.in: Add have-mfma4 entry.
37344         * configure.in: Substitute libc_cv_cc_fma4.
37345         * math/Makefile (dbl-only-routines): Add sincostab.
37346         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37347         Use __sincostab not sincos.
37348         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37349         name is a macro.
37350         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37351         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37352         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37353         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
37354         using __copysign.
37355         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
37356         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
37357         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37358         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37359         and __inv.
37360         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37361         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37362         __copysign.
37363         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
37364         define aliases when function name is a macro.
37365         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37366         sysdeps/ieee754/dbl-64/sincos.tbl.
37367         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37368         fma4-enabled routines.
37369         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37370         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37371         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37372         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37373         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37374         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37375         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37376         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37377         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37378         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37379         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37380         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37381         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37382         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37383         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37384         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37385         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37386         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37387         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37388         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37389         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37390         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37391         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37392         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37393         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37394         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37395         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37396         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37397         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37398         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37400         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37401         rename.
37402         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37403         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37404         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37405         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37406         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37407         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37408         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37409         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37411 2011-10-24  Andreas Schwab  <schwab@redhat.com>
37413         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37415 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
37417         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37419         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37420         prediction.
37421         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37423         * string/strnlen.c: Don't define STRNLEN, reverse logic.
37424         Remove unused variable magic_bits.
37425         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37427         * string/strnlen.c: Define and use STRNLEN macro.
37428         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37429         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37430         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37431         * wcsmbs/wcslen.c: Define and use WCSLEN.
37432         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37433         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37434         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37435         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37436         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37437         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37438         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37440 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37442         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37443         strnlen-sse2-no-bsf.
37444         Rename strlen-no-bsf to strlen-sse2-no-bsf.
37445         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37446         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37447         Add strnlen support.
37448         (USE_AS_STRNLEN): New macro.
37449         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37450         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37451         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37452         * sysdeps/x86_64/wcslen.S: New file.
37454 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
37456         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37457         XMM-moves are used for copying on small sizes.
37459 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37461         * wcsmbs/Makefile (strop-tests): Add wcschr.
37462         * wcsmbs/test-wcschr.c: New file.
37463         * string/test-strchr.c: Update.
37464         Add wcschr support.
37465         (WIDE): New macro.
37467 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37469         * wcsmbs/Makefile (strop-tests): Add wcslen.
37470         * wcsmbs/test-wcslen.c: New file.
37471         * string/test-strlen.c: Update.
37472         Add wcslen support.
37473         (WIDE): New macro.
37475 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
37477         * po/it.po: Update from translation team.
37479 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37481         * sysdeps/x86_64/wcscmp.S: Update.
37482         Fix wrong comparison semantics.
37483         wcscmp shall use signed comparison not unsigned.
37484         Don't use substraction to avoid overflow bug.
37485         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37486         * wcsmbc/wcscmp.c: Likewise.
37487         * string/test-strcmp.c: Likewise.
37488         Add new tests to check cases with negative values.
37490 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
37492         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37493         * sysdeps/x86_64/dla.h: ...here.  New file.
37494         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37495         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37496         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37497         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37498         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37499         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37500         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37501         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37502         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37504 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
37506         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37507         __ynl_finite aliases.
37509 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
37511         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37513         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37514         define DLA_FMA.
37515         [DLA_FMA] (EMULV): Use DLA_FMA.
37516         [DLA_FMA] (MUL12): Use EMULV.
37517         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37518         that are not needed.
37519         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37520         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37521         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37522         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37523         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37524         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37525         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37527 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
37529         * math/s_nan.c: Undef __nan.
37530         * math/s_nanf.c: Undef __nanf.
37531         * math/s_nanl.c: Undef __nanl.
37532         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37533         "math_private.h".
37535 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
37537         * math/s_catan.c: Add branch predictions.
37538         * math/s_catanf.c: Likewise.
37539         * math/s_catanh.c: Likewise.
37540         * math/s_catanhf.c: Likewise.
37541         * math/s_catanhl.c: Likewise.
37542         * math/s_catanl.c: Likewise.
37543         * math/s_cexp.c: Likewise.
37544         * math/s_cexpf.c: Likewise.
37545         * math/s_cexpl.c: Likewise.
37546         * math/s_clog.c: Likewise.
37547         * math/s_clog10.c: Likewise.
37548         * math/s_clog10f.c: Likewise.
37549         * math/s_clog10l.c: Likewise.
37550         * math/s_clogf.c: Likewise.
37551         * math/s_clogl.c: Likewise.
37552         * math/s_csqrt.c: Likewise.
37553         * math/s_csqrtf.c: Likewise.
37554         * math/s_csqrtl.c: Likewise.
37555         * math/s_ctanf.c: Likewise.
37556         * math/s_ctanh.c: Likewise.
37557         * math/s_ctanhf.c: Likewise.
37558         * math/s_ctanhl.c: Likewise.
37559         * math/s_ctanl.c: Likewise.
37561         * math/math_private.h: Define __nan, __nanf, __nanl.
37562         * math/s_cacosh.c: Include <math_private.h>.
37563         * math/s_cacoshl.c: Likewise.
37564         * math/s_casinh.c: Likewise.
37565         * math/s_casinhf.c: Likewise.
37566         * math/s_casinhl.c: Likewise.
37567         * math/s_ccos.c: Rely entire on ccosh.
37568         * math/s_ccosf.c: Rely entire on ccoshf.
37569         * math/s_ccosl.c: Rely entirely on ccoshl.
37570         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
37571         Remove tests for FE_INVALID.
37572         * math/s_ccoshf.c: Likewise.
37573         * math/s_ccoshl.c: Likewise.
37574         * math/s_csin.c: Likewise.
37575         * math/s_csinf.c: Likewise.
37576         * math/s_csinh.c Likewise.
37577         * math/s_csinhf.c: Likewise.
37578         * math/s_csinhl.c: Likewise.
37579         * math/s_csinl.c: Likewise.
37580         * math/s_ctan.c: Likewise.
37581         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37582         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37583         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37585 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
37587         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37588         compilation problems.
37590         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37591         __builtin_expect.
37593 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
37595         * sysdeps/i386/configure.in: Test for -mfma4 option.
37596         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37597         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37598         COMMON_CPUID_INDEX_80000001.
37599         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37600         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37601         use it if FMA3 is not supported.
37602         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37604         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37605         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37607 2011-10-20  Andreas Schwab  <schwab@redhat.com>
37609         [BZ #12892]
37610         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37611         it would create a cycle with a link time dependency.
37613 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
37615         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37616         instruction.
37617         * string/Makefile (strop-tests): Add rawmemchr.
37618         * string/test-rawmemchr.c: New file.
37620         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37621         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
37622         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
37623         when compiling str{,n}casecmp and when AVX is available.  Hook up
37624         new optimized code in initializers.
37626 2011-10-19  Andreas Schwab  <schwab@redhat.com>
37628         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37629         __feraiseexcept instead of feraiseexcept.
37631 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
37633         * math/math_private.h: Define defaults for libc_fetestexcept and
37634         libc_feupdateenv.
37635         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37636         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37637         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37638         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37639         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37640         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37641         libc_fetestexcept and libc_feupdateenv.
37643         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37644         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37645         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37646         * sysdeps/x86_64/fpu/math_private.h: Define special version of
37647         libc_feholdexcept_setround.
37649         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37650         Add s_nearbyint-c and s_nearbyintf-c.
37651         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37652         nearbyintf inlines.
37653         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37654         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37655         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37656         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37658         * math/math_private.h: Define defaults for libc_fegetround,
37659         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37660         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37661         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37662         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37663         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37664         standard functions.
37665         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37666         Remove comments and hacks for old compiler versions.
37667         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37668         libc_fegetround, libc_fesetround, libc_feholdexcept, and
37669         libc_feholdexceptl.
37671 2011-10-18  Andreas Schwab  <schwab@redhat.com>
37673         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37674         (__feraiseexcept_renamed): Add __NTH.
37675         (feraiseexcept): Add __NTH.  Rename local variables to fix
37676         namespace violations.
37678 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
37680         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37682         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37684         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37685         recently added interfaces.
37686         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37688         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37689         about macro parameter expansion.
37691         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37692         __NO_MATH_INLINES is defined.  Cleanups.
37694         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37695         and __floorf is target has SSE4.1.
37696         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37697         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37698         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37699         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37701         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37702         name.
37703         (floorf): Likewise.
37705         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37707 2011-10-17  Andreas Schwab  <schwab@redhat.com>
37709         * misc/sys/cdefs.h: Fix last change.
37711         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37712         database lookup.
37714 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
37716         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37718         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37719         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37720         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37721         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37722         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37723         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37724         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37725         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37726         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37727         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37728         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37729         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37730         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37731         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37732         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37733         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37734         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37735         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37736         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37737         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37738         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37739         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37741         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37742         ceil, ceilf, floor, floorf.
37744         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37745         Perform IRELATIVE relocations last.
37747         * elf/do-rel.h: Add another parameter nrelative, replacing the
37748         local variable with the same name.  Change name of the function
37749         to end in Rel or Rela (uppercase).
37750         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37751         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
37752         elf_dynamic_do_##reloc function.
37754 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
37756         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37757         is sufficient, at least on modern CPUs.
37759         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37761         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37762         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37764         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37765         __expl_finite.
37766         * math/bits/math-finite.h: Add entries for exp.
37767         * math/e_expl.c: Add __*_finite alias.
37768         * sysdeps/i386/fpu/e_exp.S: Likewise.
37769         * sysdeps/i386/fpu/e_expf.S: Likewise.
37770         * sysdeps/i386/fpu/e_expl.c: Likewise.
37771         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37772         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37773         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37774         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37775         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37776         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37777         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37779         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37780         is sufficient, at least on modern CPUs.
37782         * ctype/ctype-info.c (__ctype_init): Define.
37783         * include/ctype.h (__ctype_init): Declare.
37784         (__ctype_b_loc): The variable is always initialized.
37785         (__ctype_toupper_loc): Likewise.
37786         (__ctype_tolower_loc): Likewise.
37787         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37788         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37790 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
37792         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37794         * configure.in: Also look in $cxxmachine/include for C++ system
37795         headers.
37797 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37799         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37800         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37801         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37802         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
37803         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37804         (USE_AS_WMEMCMP): New macro.
37805         Fixing indents.
37806         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37807         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37808         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37809         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37810         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37811         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37812         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37813         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37814         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37815         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37816         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37817         (USE_AS_WMEMCMP): New macro.
37818         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37819         * sysdeps/string/test-memcmp.c: Update.
37820         Fix simple_wmemcmp.
37821         Add new tests.
37822         * wcsmbs/wmemcmp.c: Update.
37823         (WMEMCMP): New macro.
37824         Fix overflow bug.
37826 2011-10-12  Andreas Jaeger  <aj@suse.de>
37828         [BZ #13268]
37829         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37831 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
37833         * libio/iofwide.c (do_length): Avoid warning.
37835         * ctype/ctype.h (__isctype_f): Add missing __THROW.
37837 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
37839         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37841         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37842         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37843         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37844         * sysdeps/i386/i686/fpu/e_log.S: New file.
37845         * sysdeps/i386/i686/fpu/e_logf.S: New file.
37846         * sysdeps/i386/i686/fpu/e_logl.S: New file.
37848         * ctype/ctype.h: Add support for inlined isXXX functions when
37849         compiling C++ code.
37851 2011-10-14  Andreas Schwab  <schwab@redhat.com>
37853         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37855         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37857 2011-10-13  Roland McGrath  <roland@hack.frob.com>
37859         [BZ #13291]
37860         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37862 2011-10-13  Andreas Schwab  <schwab@redhat.com>
37864         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37865         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37866         feraiseexcept.
37868         * sysdeps/x86_64/memrchr.S: Check for zero size.
37870         * string/stratcliff.c: Add memrchr tests.
37872 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37874         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37875         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37876         rawmemchr-sse2 rawmemchr-sse2-bsf.
37877         * sysdeps/i386/i686/multiarch/memchr.S: New file.
37878         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37879         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37880         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37881         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37882         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37883         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37884         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37885         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37886         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37887         * string/memrchr.c (MEMRCHR): New macro.
37889 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
37891         Add integration with gcc's -ffinite-math-only and optimize wrapper
37892         functions in libm.
37893         * Versions.def: Define GLIBC_2.15 version for libm.
37894         * math/Makefile (headers): Add bits/math-finite.h.
37895         * math/bits/math-finite.h: New file.
37896         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37897         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37898         * math/e_acoshl.c: Add __*_finite alias.
37899         * math/e_acosl.c: Likewise.
37900         * math/e_asinl.c: Likewise.
37901         * math/e_atan2l.c: Likewise.
37902         * math/e_atanhl.c: Likewise.
37903         * math/e_coshl.c: Likewise.
37904         * math/e_exp10.c: Likewise.
37905         * math/e_exp10f.c: Likewise.
37906         * math/e_exp10l.c: Likewise.
37907         * math/e_exp2l.c: Likewise.
37908         * math/e_fmodl.c: Likewise.
37909         * math/e_gammal_r.c: Likewise.
37910         * math/e_hypotl.c: Likewise.
37911         * math/e_j0l.c: Likewise.
37912         * math/e_j1l.c: Likewise.
37913         * math/e_jnl.c: Likewise.
37914         * math/e_lgammal_r.c: Likewise.
37915         * math/e_log10l.c: Likewise.
37916         * math/e_log2l.c: Likewise.
37917         * math/e_logl.c: Likewise.
37918         * math/e_powl.c: Likewise.
37919         * math/e_sinhl.c: Likewise.
37920         * math/e_sqrtl.c: Likewise.
37921         * math/e_scalb.c: Completely rewritten and optimized.
37922         * math/e_scalbf.c: Likewise.
37923         * math/e_scalbl.c: Likewise.
37924         * math/w_acos.c: Likewise.
37925         * math/w_acosf.c: Likewise.
37926         * math/w_acosl.c: Likewise.
37927         * math/w_acosh.c: Likewise.
37928         * math/w_acoshf.c: Likewise.
37929         * math/w_acoshl.c: Likewise.
37930         * math/w_asin.c: Likewise.
37931         * math/w_asinf.c: Likewise.
37932         * math/w_asinl.c: Likewise.
37933         * math/w_atan2.c: Likewise.
37934         * math/w_atan2f.c: Likewise.
37935         * math/w_atan2l.c: Likewise.
37936         * math/w_atanh.c: Likewise.
37937         * math/w_atanhf.c: Likewise.
37938         * math/w_atanhl.c: Likewise.
37939         * math/w_exp10.c: Likewise.
37940         * math/w_exp10f.c: Likewise.
37941         * math/w_exp10l.c: Likewise.
37942         * math/w_fmod.c: Likewise.
37943         * math/w_fmodf.c: Likewise.
37944         * math/w_fmodl.c: Likewise.
37945         * math/w_j0.c: Likewise.
37946         * math/w_j0f.c: Likewise.
37947         * math/w_j0l.c: Likewise.
37948         * math/w_j1.c: Likewise.
37949         * math/w_j1f.c: Likewise.
37950         * math/w_j1l.c: Likewise.
37951         * math/w_jn.c: Likewise.
37952         * math/w_jnf.c: Likewise.
37953         * math/w_log.c: Likewise.
37954         * math/w_logf.c: Likewise.
37955         * math/w_logl.c: Likewise.
37956         * math/w_log10.c: Likewise.
37957         * math/w_log10f.c: Likewise.
37958         * math/w_log10l.c: Likewise.
37959         * math/w_log2.c: Likewise.
37960         * math/w_log2f.c: Likewise.
37961         * math/w_log2l.c: Likewise.
37962         * math/w_pow.c: Likewise.
37963         * math/w_powf.c: Likewise.
37964         * math/w_powl.c: Likewise.
37965         * math/w_remainder.c: Likewise.
37966         * math/w_remainderf.c: Likewise.
37967         * math/w_remainderl.c: Likewise.
37968         * math/w_scalb.c: Likewise.
37969         * math/w_scalbf.c: Likewise.
37970         * math/w_scalbl.c: Likewise.
37971         * math/w_sqrt.c: Likewise.
37972         * math/w_sqrtf.c: Likewise.
37973         * math/w_sqrtl.c: Likewise.
37974         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37975         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
37976         used.
37977         * math/math_private.h: Declare __kernel_standard_f.
37978         * math/w_cosh.c: Remove cruft and optimize a bit.
37979         * math/w_coshf.c: Likewise.
37980         * math/w_coshl.c: Likewise.
37981         * math/w_exp2.c: Likewise.
37982         * math/w_exp2f.c: Likewise.
37983         * math/w_exp2l.c: Likewise.
37984         * math/w_hypot.c: Likewise.
37985         * math/w_hypotf.c: Likewise.
37986         * math/w_hypotl.c: Likewise.
37987         * math/w_lgamma.c: Likewise.
37988         * math/w_lgamma_r.c: Likewise.
37989         * math/w_lgammaf.c: Likewise.
37990         * math/w_lgammaf_r.c: Likewise.
37991         * math/w_lgammal.c: Likewise.
37992         * math/w_lgammal_r.c: Likewise.
37993         * math/w_sinh.c: Likewise.
37994         * math/w_sinhf.c: Likewise.
37995         * math/w_sinhl.c: Likewise.
37996         * math/w_tgamma.c: Likewise.
37997         * math/w_tgammaf.c: Likewise.
37998         * math/w_tgammal.c: Likewise.
37999         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38000         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38001         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38002         Minor optimizations.  Pretty printing.  Remove cruft.
38003         * sysdeps/i386/fpu/e_acosf.S: Likewise.
38004         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38005         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38006         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38007         * sysdeps/i386/fpu/e_acosl.c: Likewise.
38008         * sysdeps/i386/fpu/e_asin.S: Likewise.
38009         * sysdeps/i386/fpu/e_asinf.S: Likewise.
38010         * sysdeps/i386/fpu/e_atan2.S: Likewise.
38011         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38012         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38013         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38014         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38015         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38016         * sysdeps/i386/fpu/e_exp10.S: Likewise.
38017         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38018         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38019         * sysdeps/i386/fpu/e_exp2.S: Likewise.
38020         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38021         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38022         * sysdeps/i386/fpu/e_fmod.S: Likewise.
38023         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38024         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38025         * sysdeps/i386/fpu/e_hypot.S: Likewise.
38026         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38027         * sysdeps/i386/fpu/e_log.S: Likewise.
38028         * sysdeps/i386/fpu/e_log10.S: Likewise.
38029         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38030         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38031         * sysdeps/i386/fpu/e_log2.S: Likewise.
38032         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38033         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38034         * sysdeps/i386/fpu/e_logf.S: Likewise.
38035         * sysdeps/i386/fpu/e_logl.S: Likewise.
38036         * sysdeps/i386/fpu/e_pow.S: Likewise.
38037         * sysdeps/i386/fpu/e_powf.S: Likewise.
38038         * sysdeps/i386/fpu/e_powl.S: Likewise.
38039         * sysdeps/i386/fpu/e_remainder.S: Likewise.
38040         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38041         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38042         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38043         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38044         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38045         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38046         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38047         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38048         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38049         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38050         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38051         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38052         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38053         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38054         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38055         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38056         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38057         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38058         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38059         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38060         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38061         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38062         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38063         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38064         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38065         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38066         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38067         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38068         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38069         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38070         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38071         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38072         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38073         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38074         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38075         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38076         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38077         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38078         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38079         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38080         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38081         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38082         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38083         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38084         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38085         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38086         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38087         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38088         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38089         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38090         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38091         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38092         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38093         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38094         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38095         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38096         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38097         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38098         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38099         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38100         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38101         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38102         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38103         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38104         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38105         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38106         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38107         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38108         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38109         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38110         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38111         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38112         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38113         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38114         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38115         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38116         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38117         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38118         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38119         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38120         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38121         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38122         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38123         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38124         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38125         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38126         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38127         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38128         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38129         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38130         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38131         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38132         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38133         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38134         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38135         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38136         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38137         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38138         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38139         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38140         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38141         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38142         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38143         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38144         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38145         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38146         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38147         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38148         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38149         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38150         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38151         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38152         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38153         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38154         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38155         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38156         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38157         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38158         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
38159         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38160         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38161         (__isnanf): Likewise.
38162         (__isinf_ns): Likewise.
38163         (__isinf_nsf): Likewise.
38164         (__finite): Likewise.
38165         (__finitef): Likewise.
38166         (__ieee754_sqrt): Define as macro.
38167         (__ieee754_sqrtf): Define as macro.
38168         (__ieee754_sqrtl): Define as macro.
38169         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38170         inlined copy.
38171         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38172         __FINITE_MATH_ONLY__ consistent.
38173         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38175 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
38177         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38178         of rawmemchr.
38180         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38182 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
38184         * po/ja.po: Update from translation team.
38186 2011-10-08  Roland McGrath  <roland@hack.frob.com>
38188         * locale/programs/locarchive.c (prepare_address_space): New function.
38189         (create_archive, enlarge_archive, open_archive): Use it.
38191         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38192         inside [SHARED], where it is used.
38194         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38196         * nss/getent.c (netgroup_keys): Remove unused variable.
38197         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38199 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
38201         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38202         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38203         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38204         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38205         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38206         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38207         * math/Makefile (libm-calls): Add s_isinf_ns.
38208         * math/divtc3.c: Use __isinf_nsl instead of isinf.
38209         * math/multc3.c: Likewise.
38210         * math/s_casin.c: Likewise.
38211         * math/s_casinf.c: Likewise.
38212         * math/s_casinl.c: Likewise.
38213         * math/s_ccos.c: Likewise.
38214         * math/s_ccosf.c: Likewise.
38215         * math/s_ccosl.c: Likewise.
38216         * math/s_ctan.c: Likewise.
38217         * math/s_ctanf.c: Likewise.
38218         * math/s_ctanh.c: Likewise.
38219         * math/s_ctanhf.c: Likewise.
38220         * math/s_ctanhl.c: Likewise.
38221         * math/s_ctanl.c: Likewise.
38222         * math/w_fmod.c: Likewise.
38223         * math/w_fmodf.c: Likewise.
38224         * math/w_fmodl.c: Likewise.
38225         * math/w_remainder.c: Likewise.
38226         * math/w_remainderf.c: Likewise.
38227         * math/w_remainderl.c: Likewise.
38228         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38229         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38230         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38231         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38232         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38233         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38234         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38235         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38237         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38238         of the number.
38239         * stdio-common/printf_fphex.c: Likewise.
38240         * stdio-common/printf_size.c: Likewise.
38242         * math/e_exp10.c: Include math_private.h using <...> not "...".
38243         * math/e_exp10f.c: Likewise.
38244         * math/e_exp10l.c: Likewise.
38245         * math/e_exp2l.c: Likewise.
38246         * math/e_j0l.c: Likewise.
38247         * math/e_j1l.c: Likewise.
38248         * math/e_jnl.c: Likewise.
38249         * math/e_lgammal_r.c: Likewise.
38250         * math/e_rem_pio2l.c: Likewise.
38251         * math/e_scalb.c: Likewise.
38252         * math/e_scalbf.c: Likewise.
38253         * math/e_scalbl.c: Likewise.
38254         * math/k_cosl.c: Likewise.
38255         * math/k_sinl.c: Likewise.
38256         * math/k_tanl.c: Likewise.
38257         * math/s_cacoshf.c: Likewise.
38258         * math/s_catan.c: Likewise.
38259         * math/s_catanf.c: Likewise.
38260         * math/s_catanh.c: Likewise.
38261         * math/s_catanhf.c: Likewise.
38262         * math/s_catanhl.c: Likewise.
38263         * math/s_catanl.c: Likewise.
38264         * math/s_ccosh.c: Likewise.
38265         * math/s_ccoshf.c: Likewise.
38266         * math/s_ccoshl.c: Likewise.
38267         * math/s_cexp.c: Likewise.
38268         * math/s_cexpf.c: Likewise.
38269         * math/s_cexpl.c: Likewise.
38270         * math/s_clog.c: Likewise.
38271         * math/s_clog10.c: Likewise.
38272         * math/s_clog10f.c: Likewise.
38273         * math/s_clog10l.c: Likewise.
38274         * math/s_clogf.c: Likewise.
38275         * math/s_clogl.c: Likewise.
38276         * math/s_csin.c: Likewise.
38277         * math/s_csinf.c: Likewise.
38278         * math/s_csinh.c: Likewise.
38279         * math/s_csinhf.c: Likewise.
38280         * math/s_csinhl.c: Likewise.
38281         * math/s_csinl.c: Likewise.
38282         * math/s_csqrt.c: Likewise.
38283         * math/s_csqrtf.c: Likewise.
38284         * math/s_csqrtl.c: Likewise.
38285         * math/s_ctan.c: Likewise.
38286         * math/s_ctanf.c: Likewise.
38287         * math/s_ctanh.c: Likewise.
38288         * math/s_ctanhf.c: Likewise.
38289         * math/s_ctanhl.c: Likewise.
38290         * math/s_ctanl.c: Likewise.
38291         * math/s_ldexp.c: Likewise.
38292         * math/s_ldexpf.c: Likewise.
38293         * math/s_ldexpl.c: Likewise.
38294         * math/s_significand.c: Likewise.
38295         * math/s_significandf.c: Likewise.
38296         * math/s_significandl.c: Likewise.
38297         * math/w_acos.c: Likewise.
38298         * math/w_acosf.c: Likewise.
38299         * math/w_acosh.c: Likewise.
38300         * math/w_acoshf.c: Likewise.
38301         * math/w_acoshl.c: Likewise.
38302         * math/w_acosl.c: Likewise.
38303         * math/w_asin.c: Likewise.
38304         * math/w_asinf.c: Likewise.
38305         * math/w_asinl.c: Likewise.
38306         * math/w_atan2.c: Likewise.
38307         * math/w_atan2f.c: Likewise.
38308         * math/w_atan2l.c: Likewise.
38309         * math/w_atanh.c: Likewise.
38310         * math/w_atanhf.c: Likewise.
38311         * math/w_atanhl.c: Likewise.
38312         * math/w_cosh.c: Likewise.
38313         * math/w_coshf.c: Likewise.
38314         * math/w_coshl.c: Likewise.
38315         * math/w_dremf.c: Likewise.
38316         * math/w_exp10.c: Likewise.
38317         * math/w_exp10f.c: Likewise.
38318         * math/w_exp10l.c: Likewise.
38319         * math/w_exp2.c: Likewise.
38320         * math/w_exp2f.c: Likewise.
38321         * math/w_fmod.c: Likewise.
38322         * math/w_fmodf.c: Likewise.
38323         * math/w_fmodl.c: Likewise.
38324         * math/w_hypot.c: Likewise.
38325         * math/w_hypotf.c: Likewise.
38326         * math/w_hypotl.c: Likewise.
38327         * math/w_j0.c: Likewise.
38328         * math/w_j0f.c: Likewise.
38329         * math/w_j0l.c: Likewise.
38330         * math/w_j1.c: Likewise.
38331         * math/w_j1f.c: Likewise.
38332         * math/w_j1l.c: Likewise.
38333         * math/w_jn.c: Likewise.
38334         * math/w_jnf.c: Likewise.
38335         * math/w_jnl.c: Likewise.
38336         * math/w_lgamma.c: Likewise.
38337         * math/w_lgamma_r.c: Likewise.
38338         * math/w_lgammaf.c: Likewise.
38339         * math/w_lgammaf_r.c: Likewise.
38340         * math/w_lgammal.c: Likewise.
38341         * math/w_lgammal_r.c: Likewise.
38342         * math/w_log.c: Likewise.
38343         * math/w_log10.c: Likewise.
38344         * math/w_log10f.c: Likewise.
38345         * math/w_log10l.c: Likewise.
38346         * math/w_log2.c: Likewise.
38347         * math/w_log2f.c: Likewise.
38348         * math/w_log2l.c: Likewise.
38349         * math/w_logf.c: Likewise.
38350         * math/w_logl.c: Likewise.
38351         * math/w_pow.c: Likewise.
38352         * math/w_powf.c: Likewise.
38353         * math/w_powl.c: Likewise.
38354         * math/w_remainder.c: Likewise.
38355         * math/w_remainderf.c: Likewise.
38356         * math/w_remainderl.c: Likewise.
38357         * math/w_scalb.c: Likewise.
38358         * math/w_scalbf.c: Likewise.
38359         * math/w_scalbl.c: Likewise.
38360         * math/w_sinh.c: Likewise.
38361         * math/w_sinhf.c: Likewise.
38362         * math/w_sinhl.c: Likewise.
38363         * math/w_sqrt.c: Likewise.
38364         * math/w_sqrtf.c: Likewise.
38365         * math/w_sqrtl.c: Likewise.
38366         * math/w_tgamma.c: Likewise.
38367         * math/w_tgammaf.c: Likewise.
38368         * math/w_tgammal.c: Likewise.
38370         * po/ja.po: Update from translation team.
38372 2011-09-29  Andreas Jaeger  <aj@suse.de>
38374         [BZ #13179]
38375         * sunrpc/netname.c (netname2host): Fix logic.
38377         [BZ #6779]
38378         [BZ #6783]
38379         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38380         correctly.
38381         * math/w_remainder.c (__remainder): Likewise.
38382         * math/w_remainderf.c (__remainderf): Likewise.
38383         * math/libm-test.inc (remainder_test): Add test cases.
38385 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38387         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
38388         sdiv_qrnnd.
38390 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
38392         * string/test-memcmp.c: Avoid unncessary #defines.
38393         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38395 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38397         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38398         Use new sse2 version for core i3 - i7 as it's faster
38399         than sse42 version.
38400         (bit_Prefer_PMINUB_for_stringop): New.
38401         * sysdeps/x86_64/rawmemchr.S: Update.
38402         Replace with faster SSE2 version.
38403         * sysdeps/x86_64/memrchr.S: New file.
38404         * sysdeps/x86_64/memchr.S: Update.
38405         Replace with faster SSE2 version.
38407 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
38409         * elf/dl-load.c (lose): Add cast to avoid warning.
38411 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
38413         * po/ca.po: Update from translation team.
38415         * inet/getnetgrent_r.c: Hook up nscd.
38416         * nscd/Makefile (routines): Add nscd_netgroup.
38417         (nscd-modules): Add netgroupcache.
38418         (CFLAGS-netgroupcache.c): Define.
38419         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38420         (cache_search): Add const to second parameter.
38421         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38422         INNETGR.
38423         (dbs): Add netgrdb entry.
38424         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38425         (verify_persistent_db): Handle netgrdb.
38426         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38427         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38428         GETFDNETGR.
38429         (netgroup_response_header): Define.
38430         (innetgroup_response_header): Define.
38431         (datahead): Add netgroup_response_header and innetgroup_response_header
38432         elements.
38433         * nscd/nscd.conf: Add entries for netgroup cache.
38434         * nscd/nscd.h (dbtype): Add netgrdb.
38435         (_PATH_NSCD_NETGROUP_DB): Define.
38436         (netgroup_iov_disabled): Declare.
38437         (xmalloc, xcalloc, xrealloc): Move declarations here.
38438         (cache_search): Adjust prototype.
38439         Add netgroup-related prototypes.
38440         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38441         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38442         (__nscd_innetgr): Declare.
38443         * nscd/selinux.c (perms): Use access_vector_t as element type and
38444         add netgroup-related initializers.
38445         * nscd/netgroupcache.c: New file.
38446         * nscd/nscd_netgroup.c: New file.
38447         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38448         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38449         For four parameters use innetgr.
38450         * nss/nss_files/files-init.c: Add definition and callback for netgr.
38451         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38452         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38453         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38455         * nscd/connections.c (register_traced_file): Don't register file
38456         for disabled databases.
38458 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
38460         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38462         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38463         from tree and freeing node.
38465 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
38467         * nss/nsswitch.c (__nss_database_lookup): Handle
38468         nss_parse_service_list out of memory case.
38470 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
38472         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38473         out of memory case.
38475 2011-10-04  Andreas Schwab  <schwab@redhat.com>
38477         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38478         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38479         pass it down.
38480         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38481         elf_machine_rela, elf_machine_lazy_rel.
38482         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38483         (ELF_DYNAMIC_DO_REL): Likewise.
38484         (ELF_DYNAMIC_DO_RELA): Likewise.
38485         (ELF_DYNAMIC_RELOCATE): Likewise.
38486         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38487         to ELF_DYNAMIC_DO_REL.
38488         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38489         (dl_main): In trace mode always set __RTLD_NOIFUNC.
38490         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38491         elf_machine_rela.
38492         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38493         skip_ifunc, don't call ifunc function if non-zero.
38494         (elf_machine_rela): Likewise.
38495         (elf_machine_lazy_rel): Likewise.
38496         (elf_machine_lazy_rela): Likewise.
38497         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38498         (elf_machine_lazy_rel): Likewise.
38499         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38500         Likewise.
38501         (elf_machine_lazy_rel): Likewise.
38502         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38503         Likewise.
38504         (elf_machine_lazy_rel): Likewise.
38505         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38506         (elf_machine_lazy_rel): Likewise.
38507         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38508         (elf_machine_lazy_rel): Likewise.
38509         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38510         (elf_machine_lazy_rel): Likewise.
38511         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38512         (elf_machine_lazy_rel): Likewise.
38513         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38514         (elf_machine_lazy_rel): Likewise.
38515         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38516         (elf_machine_lazy_rel): Likewise.
38518 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
38520         * nss/nss_files/files-init.c (_nss_files_init): Use static
38521         initialization for all the *_traced_file variables.
38523 2011-09-28  Andreas Schwab  <schwab@redhat.com>
38525         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38527 2011-09-27  Roland McGrath  <roland@hack.frob.com>
38529         [BZ #13226]
38530         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38532 2011-09-27  Andreas Schwab  <schwab@redhat.com>
38534         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38535         Reread the line before reparsing it.
38537 2011-09-26  Andreas Schwab  <schwab@redhat.com>
38539         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38541 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
38542             Maxim Kuvyrkov  <maxim@codesourcery.com>
38543             Joseph Myers  <joseph@codesourcery.com>
38545         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38546         if needed for __stack_chk_guard.
38548 2011-09-19  Roland McGrath  <roland@hack.frob.com>
38550         * sysdeps/posix/spawni.c (script_execute): Always define it.
38551         It will be optimized away if unused.
38552         (maybe_script_execute): New function.
38553         (__spawni): Call it.
38555         * Makerules: Don't include tls.make.
38556         (config-tls): Always set to thread.
38557         * tls.make.c: File removed.
38559 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
38561         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38562         * config.make.in (CPPFLAGS-config): New substituted variable.
38564 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
38566         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38568         [BZ #13192]
38569         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38570         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38572 2011-09-15  Roland McGrath  <roland@hack.frob.com>
38574         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38575         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38576         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38577         (CALL_FAIL): Likewise.
38578         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38579         (CALL_FAIL): Macro removed.
38580         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38582 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
38584         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38585         for __FINITE_MATH_ONLY__ == 1.
38587 2011-09-15  Andreas Schwab  <schwab@redhat.com>
38589         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38590         __ieee754_sqrt instead of sqrt.
38591         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38592         __ieee754_sqrtf instead of sqrtf.
38593         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38594         __floorf instead of floorf.
38595         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38596         __floorf, __truncf instead of floorf, truncf.
38598 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
38600         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38602         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38603         __extern_always_inline.
38604         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38605         32-bit.
38607 2011-09-14  Andreas Schwab  <schwab@redhat.com>
38609         * elf/rtld.c (dl_main): Also relocate in dependency order when
38610         doing symbol dependency testing.
38612 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
38614         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38615         Always define `refsym'.
38617 2011-09-13  Andreas Schwab  <schwab@redhat.com>
38619         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38620         (__FD_ELT): Renamed from __FDELT.
38621         * misc/bits/select2.h (__FD_ELT): Likewise.
38622         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38623         __FD_MASK instead of __FDELT, __FDMASK.
38624         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38625         Likewise.
38626         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38627         Likewise.
38629         * elf/Makefile (gen-ldd): Fix pattern.
38631         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38632         (init_tls): Likewise.
38634 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
38636         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38638 2011-09-12  Andreas Schwab  <schwab@redhat.com>
38640         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38641         `struct cmsghdr *' instead of `void *'.
38642         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38643         Likewise.
38645 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
38647         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38648         if non-absolute.
38649         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38650         ldd_rewrite_script.
38652 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
38654         * configure.in: Remove --with-tls option.
38655         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38656         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38657         out in case it is missing.
38658         * sysdeps/ia64/elf/configure.in: Likewise.
38659         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38660         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38661         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38662         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38663         * sysdeps/sh/elf/configure.in: Likewise.
38664         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38665         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38666         * sysdeps/x86_64/elf/configure.in: Likewise.
38667         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38668         * sysdeps/mach/hurd/tls.h: Likewise.
38670         [BZ #13067]
38671         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38673         [BZ #13090]
38674         * configure.in: Fix use of AC_INIT.
38676         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38678 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
38680         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38681         __set_errno.
38682         * malloc/hooks.c: Likewise.
38684         [BZ #11929]
38685         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
38686         variables statically.
38687         (narenas): Initialize.
38688         (list_lock): Initialize.
38689         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
38690         initializtion of main_arena and list_lock.  Small cleanups.
38691         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38692         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
38693         Add initializers to main_arena and mp_.
38694         (malloc_state): Remove pagesize member.  Change all users to use
38695         GLRO(dl_pagesize).
38697         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38698         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
38699         is always initialized.
38701         * malloc/malloc.c: Removed unused configurations and dead code.
38702         * malloc/arena.c: Likewise.
38703         * malloc/hooks.c: Likewise.
38704         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38706         * include/tls.h: Removed.  USE___THREAD must always be defined.
38707         * bits/libc-tsd.h: Don't handle !USE___THREAD.
38708         * elf/dl-libc.c: Likewise.
38709         * elf/dl-tsd.c: Likewise.
38710         * include/errno.h: Likewise.
38711         * include/netdb.h: Likewise.
38712         * include/resolv.h: Likewise.
38713         * inet/herrno-loc.c: Likewise.
38714         * inet/herrno.c: Likewise.
38715         * malloc/arena.c: Likewise.
38716         * malloc/hooks.c: Likewise.
38717         * malloc/malloc.c: Likewise.
38718         * resolv/res-state.c: Likewise.
38719         * resolv/res_libc.c: Likewise.
38720         * sysdeps/i386/dl-machine.h: Likewise.
38721         * sysdeps/ia64/dl-machine.h: Likewise.
38722         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38723         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38724         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38725         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38726         * sysdeps/sh/dl-machine.h: Likewise.
38727         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38728         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38729         * sysdeps/unix/i386/sysdep.S: Likewise.
38730         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38731         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38732         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38733         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38734         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38735         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38736         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38737         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38738         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38739         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38740         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38741         * sysdeps/x86_64/dl-machine.h: Likewise.
38742         * tls.make.c: Likewise.
38744         * configure.in: Remove --with-__thread option.  Make tests for
38745         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38746         tls_model attribute fail if no support is available.  Remove
38747         USE_IN_LIBIO.
38748         * Makeconfig: Adjust for dropped configure option.  All features are
38749         now mandatory.
38750         * Makerules: Likewise.
38751         * Versions.def: Likewise.
38752         * argp/argp-fmtstream.c: Likewise.
38753         * argp/argp-fmtstream.h: Likewise.
38754         * argp/argp-help.c: Likewise.
38755         * assert/assert.c: Likewise.
38756         * config.h.in: Likewise.
38757         * config.make.in: Likewise.
38758         * configure: Likewise.
38759         * configure.in: Likewise.
38760         * csu/Versions: Likewise.
38761         * csu/init.c: Likewise.
38762         * elf/tst-audit2.c: Likewise.
38763         * elf/tst-tls10.c: Likewise.
38764         * elf/tst-tls10.h: Likewise.
38765         * elf/tst-tls11.c: Likewise.
38766         * elf/tst-tls12.c: Likewise.
38767         * elf/tst-tls14.c: Likewise.
38768         * elf/tst-tlsmod11.c: Likewise.
38769         * elf/tst-tlsmod12.c: Likewise.
38770         * elf/tst-tlsmod13.c: Likewise.
38771         * elf/tst-tlsmod13a.c: Likewise.
38772         * elf/tst-tlsmod14a.c: Likewise.
38773         * elf/tst-tlsmod15b.c: Likewise.
38774         * elf/tst-tlsmod16a.c: Likewise.
38775         * elf/tst-tlsmod16b.c: Likewise.
38776         * elf/tst-tlsmod7.c: Likewise.
38777         * elf/tst-tlsmod8.c: Likewise.
38778         * elf/tst-tlsmod9.c: Likewise.
38779         * gmon/gmon.c: Likewise.
38780         * grp/fgetgrent_r.c: Likewise.
38781         * grp/putgrent.c: Likewise.
38782         * hurd/fopenport.c: Likewise.
38783         * include/libc-symbols.h: Likewise.
38784         * include/tls.h: Likewise.
38785         * intl/gettextP.h: Likewise.
38786         * intl/loadinfo.h: Likewise.
38787         * locale/global-locale.c: Likewise.
38788         * locale/localeinfo.h: Likewise.
38789         * mach/devstream.c: Likewise.
38790         * malloc/arena.c: Likewise.
38791         * malloc/set-freeres.c: Likewise.
38792         * misc/err.c: Likewise.
38793         * misc/getttyent.c: Likewise.
38794         * misc/mntent_r.c: Likewise.
38795         * posix/getopt.c: Likewise.
38796         * posix/wordexp.c: Likewise.
38797         * pwd/fgetpwent_r.c: Likewise.
38798         * resolv/Versions: Likewise.
38799         * resolv/res_hconf.c: Likewise.
38800         * shadow/fgetspent_r.c: Likewise.
38801         * shadow/putspent.c: Likewise.
38802         * stdio-common/printf_fphex.c: Likewise.
38803         * stdio-common/tmpfile.c: Likewise.
38804         * stdlib/abort.c: Likewise.
38805         * stdlib/fmtmsg.c: Likewise.
38806         * sunrpc/auth_unix.c: Likewise.
38807         * sunrpc/clnt_perr.c: Likewise.
38808         * sunrpc/clnt_tcp.c: Likewise.
38809         * sunrpc/clnt_udp.c: Likewise.
38810         * sunrpc/clnt_unix.c: Likewise.
38811         * sunrpc/openchild.c: Likewise.
38812         * sunrpc/svc_simple.c: Likewise.
38813         * sunrpc/svc_tcp.c: Likewise.
38814         * sunrpc/svc_udp.c: Likewise.
38815         * sunrpc/svc_unix.c: Likewise.
38816         * sunrpc/xdr.c: Likewise.
38817         * sunrpc/xdr_array.c: Likewise.
38818         * sunrpc/xdr_rec.c: Likewise.
38819         * sunrpc/xdr_ref.c: Likewise.
38820         * sunrpc/xdr_stdio.c: Likewise.
38822 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
38824         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38826 2011-07-03  Andreas Jaeger  <aj@suse.de>
38828         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38829         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38830         regenerate with gen-libm-tests.pl.
38832 2010-05-12  Petr Baudis  <pasky@suse.cz>
38834         [BZ #11589]
38835         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38836         around j0() zero points by switching to j1().
38837         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38838         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38839         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38840         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38842 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
38844         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38845         instead of 0.
38846         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
38847         instead of 0.
38848         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38849         Patch in part by Pavel Roskin <proski@gnu.org>.
38851         [BZ #13138]
38852         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38853         realloc.
38854         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
38855         Free memory block if necessary.
38857         [BZ #12847]
38858         * libio/genops.c (INTDEF): For string streams the _lock pointer can
38859         be NULL.  Don't lock in this case.
38861 2011-09-09  Roland McGrath  <roland@hack.frob.com>
38863         * elf/elf.h (ELFOSABI_GNU): New macro.
38864         (ELFOSABI_LINUX): Define to that.
38866 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
38868         * string/strncat.c (strncat): Undef the symbol in case it has been
38869         defined in bits/string.h.
38871 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
38873         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38875         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
38876         link map.
38878 2011-08-17  Andreas Jaeger  <aj@suse.de>
38880         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38882 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
38883             Ian Lance Taylor  <iant@google.com>
38885         * math/libm-test.inc (lround_test): New testcase.
38886         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38888 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
38890         * Makefile: Remove support for automatic cvs check-ins.
38891         * Makerules: Likewise.
38892         * config.make.in: Likewise.
38893         * configure.in: Likewise.
38894         * intl/Makefile: Likewise.
38895         * locale/Makefile: Likewise.
38896         * po/Makefile: Likewise.
38897         * posix/Makefile: Likewise.
38898         * sysdeps/gnu/Makefile: Likewise.
38899         * sysdeps/mach/hurd/Makefile: Likewise.
38900         * sysdeps/sparc/sparc32/Makefile: Likewise.
38902         [BZ #13118]
38903         * posix/Makefile (bug-regex32-ENV): Define.
38904         Patch by John Stanley <jpsinthemix@verizon.net>.
38906         * misc/Makefile (headers): Add bits/select2.h.
38907         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38908         * misc/bits/select2.h: New file.
38909         * include/bits/select2.h: New file.
38910         * debug/Makefile (routines): Add fdelt_chk.
38911         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38912         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38913         FD_ISSET.
38914         * debug/fdelt_chk.c: New file.
38916         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
38917         * wcsmbs/test-wmemcmp.c: Likewise.
38918         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
38919         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
38921 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38923         * string/Makefile (strop-tests): Add memcmp.
38924         * string/test-wmemcmp.c: New file.
38925         * string/test-memcmp.c: Add wmemcmp support.
38927 2011-09-08  Roland McGrath  <roland@hack.frob.com>
38929         [BZ #13153]
38930         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38931         2011-07-19 change.
38933         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38934         garbage value in a __mach_port_mod_refs call in the cases of the
38935         task-self and thread-self ports.
38937 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38939         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38941 2011-09-08  Andreas Schwab  <schwab@redhat.com>
38943         * elf/dl-load.c (lose): Check for non-null L.
38945 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
38947         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38949         * elf/dl-libc.c (dlerror_run): Pass back error code from
38950         dl_catch_error.
38952         [BZ #13123]
38953         * elf/dl-load.c (lose): Free l_origin if it is valid.
38955         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38956         names.
38957         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38958         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38959         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38960         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38961         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38962         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38964 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38966         * sysdeps/powerpc/fpu/e_hypot.c: New file.
38967         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38968         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38969         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38970         * sysdeps/powerpc/fpu/k_cosf.c: New file.
38971         * sysdeps/powerpc/fpu/k_sinf.c: New file.
38972         * sysdeps/powerpc/fpu/s_cosf.c: New file.
38973         * sysdeps/powerpc/fpu/s_sinf.c: New file.
38974         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38975         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38977 2011-08-15  Alan Modra  <amodra@gmail.com>
38979         [BZ #13092]
38980         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38981         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38982         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
38983         ppc_mcount to static-only-routines.
38984         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38985         __mcount_internal.
38986         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38987         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
38989 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
38991         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38992         for finite and infinity parameters.
38994 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
38996         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38997         and add nop instructions for throughput optimization.
38998         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39000 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
39002         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39003         aligned copy for power7 with vector-scalar instructions.
39004         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39006 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
39008         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39009         AVX check.
39011 2011-09-07  Andreas Schwab  <schwab@redhat.com>
39013         [BZ #13144]
39014         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39015         last change.
39017 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
39019         * sysdeps/unix/sysv/linux/x86_64/init-first.c
39020         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39021         syscall wrapper around clock_gettime in __vdso_clock_gettime.
39022         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39023         clock_gettime.
39025 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
39027         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39028         Forgot to demangle the pointer.
39030         * sysdeps/i386/sysdep.h: Define atom_text_section.
39031         * sysdeps/x86_64/sysdep.h: Likewise.
39032         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39033         section with atom_text_section.
39034         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39035         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39036         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39037         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39038         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39040         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39041         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39042         already be defined.  Change to take two parameters and don't assign
39043         result to variable.  Adjust all users.
39044         Define INTERNAL_GETTIME if not already defined.
39045         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39046         call.
39047         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39048         HAVE_CLOCK_GETTIME_VSYSCALL.
39049         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39051         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39052         gettimeofday vsyscall, just use time.
39054 2011-09-06  Andreas Schwab  <schwab@redhat.com>
39056         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39057         <errno.h>.
39059 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
39061         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39062         syscall on x86-64.
39063         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39064         syscall.
39065         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39066         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39067         syscall if possible.
39069 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
39071         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39072         e_ident.  Don't pass to find_mapsXX.
39073         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39075 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39077         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39078         strchr-sse2-no-bsf strrchr-sse2-no-bsf
39079         * sysdeps/x86_64/multiarch/strchr.S: Update.
39080         Check bit_slow_BSF bit.
39081         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39082         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39083         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39085 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
39087         [BZ #13134]
39088         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39089         before glibc 2.15.
39090         (tryshell): Define.
39091         (__spawni): Change last parameter to be flag.  Test
39092         SPAWN_XFLAGS_USE_PATH flag to use path or not.
39093         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39094         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39095         * posix/spawni.c: Likewise.
39096         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39097         * posix/spawnp.c: Likewise.  Change normal version to use
39098         SPAWN_XFLAGS_USE_PATH.
39099         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39100         SPAWN_XFLAGS_TRY_SHELL.
39102         [BZ #13150]
39103         * posix/glob.h: Remove gcc 1.x support.
39105         [BZ #13068]
39106         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39108 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39110         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39111         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39112         strrchr-sse2-bsf
39113         * sysdeps/i386/i686/multiarch/strchr.S: New file.
39114         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39115         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39116         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39117         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39118         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39120 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39122         * sysdeps/x86_64/wcscmp.S: New file.
39124         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39125         wcscmp-c wcscmp-sse2
39126         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39127         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39128         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39129         * wcsmbs/wcscmp.c: Allow renaming.
39131 2011-09-05  David S. Miller  <davem@davemloft.net>
39133         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39134         stack slot, rather than the struct return pointer slot.
39135         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39136         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39137         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39138         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39140 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
39142         * po/ja.po: Update from translation team.
39144         [BZ #13144]
39145         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39146         kernel in 64-bit binaries.
39148 2011-09-01  David S. Miller  <davem@davemloft.net>
39150         * elf/elf.h (HWCAP_SPARC_*): Move to..
39151         * sysdeps/sparc/sysdep.h: this new file and add new values.
39152         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39153         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39154         _DL_HWCAP_COUNT to 24.
39155         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39156         entries.
39157         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39158         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39159         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39160         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39161         instead of magic constants.
39162         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39164 2011-08-31  David S. Miller  <davem@davemloft.net>
39166         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39167         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39168         Reimplement to do errno handling inline.
39169         (SYSCALL_ERROR_HANDLER): New macro.
39170         (__SYSCALL_STRING): Do not do errno handling in asm.
39171         (__CLONE_SYSCALL_STRING): Delete.
39172         (__INTERNAL_SYSCALL_STRING): Delete.
39173         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39174         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39175         (PSEUDO): Reimplement to do errno handling inline.
39176         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39177         (SYSCALL_ERROR_HANDLER): New macro.
39178         (__SYSCALL_STRING): Do not do errno handling in asm.
39179         (__CLONE_SYSCALL_STRING): Delete.
39180         (__INTERNAL_SYSCALL_STRING): Delete.
39181         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39182         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39183         i386.
39184         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39185         (inline_syscall*): Add 'err' argument.
39186         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39187         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39188         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39189         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39191         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39192         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39194 2011-08-30  Andreas Schwab  <schwab@redhat.com>
39196         * elf/rtld.c (dl_main): Relocate objects in dependency order.
39198 2011-08-29  Jiri Olsa <jolsa@redhat.com>
39200         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39201         directive.
39203 2011-08-24  David S. Miller  <davem@davemloft.net>
39205         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39207 2011-08-24  Andreas Schwab  <schwab@redhat.com>
39209         * elf/Makefile: Add rules to build and run unload8 test.
39210         * elf/unload8.c: New file.
39211         * elf/unload8mod1.c: New file.
39212         * elf/unload8mod1x.c: New file.
39213         * elf/unload8mod2.c: New file.
39214         * elf/unload8mod3.c: New file.
39216         * elf/dl-close.c (_dl_close_worker): Reset private search list if
39217         it wasn't used.
39219 2011-08-23  David S. Miller  <davem@davemloft.net>
39221         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39222         subtract stack bias.
39223         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39224         %sp not %fp in calculations.
39225         (_JMPBUF_UNWINDS_ADJ): Likewise.
39227         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39228         (aio_suspend): Call it to force an exception region around the
39229         AIO_MISC_WAIT() invocation.
39231 2011-08-23  Andreas Schwab  <schwab@redhat.com>
39233         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39234         backslash.
39236 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
39238         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39239         protection macro.
39240         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39241         and <dl-machine.h>.
39242         (Elf64_FuncDesc): Remove.
39244 2011-08-22  David S. Miller  <davem@davemloft.net>
39246         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39247         sigaltstack check, add missing cfi directives.
39248         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39249         missing cfi directives, and sigaltstack handling.
39251 2011-08-16  Andreas Schwab  <schwab@redhat.com>
39253         [BZ #11724]
39254         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39255         object is seen twice.
39256         * elf/dl-fini.c (_dl_sort_fini): Likewise.
39258         * elf/Makefile (distribute): Add tst-initorder2.c.
39259         (tests): Add tst-initorder2.
39260         (modules-names): Add tst-initorder2a tst-initorder2b
39261         tst-initorder2c tst-initorder2d.  Add rules to build them.
39262         ($(objpfx)tst-initorder2.out): New rule.
39263         * elf/tst-initorder2.c: New file.
39264         * elf/tst-initorder2.exp: New file.
39266 2011-08-22  Andreas Schwab  <schwab@redhat.com>
39268         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39270         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39271         dependencies back to end of function.
39273         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39274         $(elfobjdir)/ld.so.
39276 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
39278         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39279         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39280         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39281         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39282         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39283         of __vdso_gettimeofday.
39284         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39285         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
39286         attribute_hidden.
39287         (_libc_vdso_platform_setup): Remove initialization of
39288         __vdso_gettimeofday and __vdso_time.
39290 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
39292         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39293         and fgetc_unlocked.
39294         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39295         getc_unlocked.
39297         * elf/dl-open.c (add_to_global): Report additions to the global scope
39298         for LD_DEBUG=scopes.
39299         (dl_open_worker): Also print scope of newly loaded dependencies.
39300         (_dl_show_scope): Indicate if there is no scope.
39302         [BZ #13114]
39303         * stdio-common/Makefile (tests): Add bug24.
39304         * stdio-common/bug24.c: New file.
39306 2011-08-19  Andreas Jaeger  <aj@suse.de>
39308         [BZ #13114]
39309         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39310         non-existant file when using close-on-exec mode.
39312 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
39314         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39315         the very first instruction.
39317         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39318         the CFI state in the end.
39319         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39320         inclusion of dl-trampoline.h.
39321         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39323 2011-08-19  Andreas Schwab  <schwab@redhat.com>
39325         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39326         expectations for long double.
39328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39329         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39331 2011-08-14  David S. Miller  <davem@davemloft.net>
39333         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39334         artificual limit depends upon the system page size.
39336 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
39338         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39339         * resolv/Makefile: Define CFLAGS-libresolv.
39341 2011-08-17  Andreas Schwab  <schwab@redhat.com>
39343         * nss/makedb.c (compute_tables): Make variables used in nested
39344         function static.
39346 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
39348         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39349         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39350         if buffer was too small.
39352         * elf/pldd.c (main): Attach to all threads in the process.
39353         Rewrite /proc handling to use *at functions.
39355 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
39357         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39358         specifies first scope to show.
39359         (dl_open_worker): Update callers.  Move printing scope of new
39360         object to before the relocation.
39361         * elf/rtld.c (dl_main): Update _dl_show_scope call.
39362         * sysdeps/generic/ldsodefs.h: Update declaration.
39364         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39365         string for the scope number.
39367 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
39369         * nscd/servicescache.c (cache_addserv): Make sure written is always
39370         initialized.
39372 2011-08-14  Roland McGrath  <roland@hack.frob.com>
39374         * sysdeps/i386/i486/bits/atomic.h
39375         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39376         statement expression, so as to suppress "set but not used" warning.
39377         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39379         * string/strncat.c (STRNCAT): Use prototype definition.
39381         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39382         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39383         -Iprograms here.
39384         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39385         (localedef-modules): Add localedef.
39386         (locale-modules): Add locale.
39388         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39389         * elf/rtld.c (dl_main): Invert order of assignment in last change,
39390         to avoid a warning.
39392 2011-08-14  David S. Miller  <davem@davemloft.net>
39394         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39395         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39397 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
39399         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39400         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39401         * elf/rtld.c (dl_main): Set l_name of vDSO.
39402         Call _dl_show_scope when DL_DEBUG_SCOPES.
39403         (process_dl_debug): Recognize scopes flag and also set it for all.
39404         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39405         Declare _dl_show_scope.
39407         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39408         (do_dlopen): Pass caller_dlopen to dl_open.
39409         (__libc_dlopen_mode): Initialize caller_dlopen.
39411         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39412         of libc.  Make tolower call locale-independent.  Optimize a bit by
39413         using isdigit instead of isalnum.
39414         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39416 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
39418         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39419         was a dependency or dynamically loaded.
39421 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
39423         * intl/l10nflist.c: Allow architecture-specific pop function.
39424         * sysdeps/x86_64/l10nflist.c: New file.
39426         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39427         classification.
39429 2011-08-10  Andreas Schwab  <schwab@redhat.com>
39431         * include/dirent.h: Add libc_hidden_proto for scandirat and
39432         scandirat64.  Don't declare __scandirat64.
39433         * dirent/scandirat.c: Add libc_hidden_def.
39434         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39435         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39437 2011-08-10  David S. Miller  <davem@davemloft.net>
39439         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39440         enum.
39441         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39442         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39443         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39445 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
39447         * Versions.def [libc]: Add GLIBC_2.15.
39448         * dirent/Makefile (routines): Add scandirat and scandirat64.
39449         * dirent/Versions [libc]: Export scandirat and scandirat64 for
39450         GLIBC_2.15.
39451         * dirent/dirent.h: Declare scandirat and scandirat64.
39452         * dirent/scandirat.c: New file.
39453         * dirent/scandirat64.c: New file.
39454         * sysdeps/wordsize-64/scandirat.c: New file.
39455         * sysdeps/wordsize-64/scandirat64.c: New file.
39456         * dirent/opendir.c: Define opendirat.
39457         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
39458         using scandirat.
39459         * dirent/scandir64.c: Adjust for scandir.c change.
39460         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
39461         __scandirat64, and __scandir_cancel_handler.
39462         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
39463         additional parameter and use openat instead of open (outside of ld.so).
39464         Add new __opendir as wrapper around __opendirat.
39465         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39466         here without requiring old scandirat implementation.
39468 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
39470         * dirent/scandir.c (cancel_handler): Renamed to
39471         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
39472         defined.  Adjust users.
39473         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39474         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39476 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
39478         * string/test-string.h (IMPL): Use __STRING to expand name and then
39479         stringify it.
39481         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
39482         of cleanups.
39484 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39486         * string/Makefile: Update.
39487         (strop-tests): Append strncat.
39488         * string/test-wcscmp.c: New file.
39489         New comprehensive test for wcscmp.
39490         * string/test-strcmp.c: Update.
39491         (WIDE): New define.
39493 2011-07-22  Andreas Schwab  <schwab@redhat.com>
39495         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39496         line.
39498 2011-07-26  Andreas Schwab  <schwab@redhat.com>
39500         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39501         encoding to ACE if AI_IDN.
39503 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
39505         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39506         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39508 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39510         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39511         Fix overflow bug in strncat.
39512         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39514         * string/test-strncat.c: Update.
39515         Add new tests for checking overflow bugs.
39517 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39519         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39520         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39521         * sysdeps/i386/i686/multiarch/strcat.S: New file.
39522         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39523         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39524         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39525         * sysdeps/i386/i686/multiarch/strncat.S: New file.
39526         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39527         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39529         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39530         (USE_AS_STRCAT): Define.
39531         Add strcat and strncat support.
39532         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39534 2011-07-25  Andreas Schwab  <schwab@redhat.com>
39536         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39537         __n bigger than INT_MAX+1.
39538         (__strncmp_g): Likewise.
39540 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
39542         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39543         * libio/stido.h: Likewise.
39545         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39546         (AF_NFC): Define.
39547         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39548         (AF_NFC): Define.
39550         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39551         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39552         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39553         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39554         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39556         [BZ #13021]
39557         * scripts/test-installation.pl: Don't expect libnss_test1 to be
39558         installed.
39560         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39561         typo.
39562         (_dl_x86_64_save_sse): Likewise.
39564 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
39566         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39567         OSXSAVE.
39568         (_dl_x86_64_save_sse): Likewise.
39570         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39572         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39574 2011-07-21  Andreas Schwab  <schwab@redhat.com>
39576         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39577         change.
39578         (_dl_x86_64_save_sse): Use correct AVX check.
39580 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39582         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39583         bug in strncpy/strncat.
39584         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39586 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
39588         * string/tester.c (test_strcat): Add tests for different alignments
39589         of source and destination.
39590         (test_strncat): Likewise.
39592 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
39594         [BZ #12852]
39595         * posix/glob.c (glob): Check passed in values before using them in
39596         expressions to avoid some overflows.
39597         (glob_in_dir): Likewise.
39599         [BZ #13007]
39600         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39601         check for AVX enablement so that we don't crash with old kernels and
39602         new hardware.
39603         * elf/tst-audit4.c: Add same checks here.
39604         * elf/tst-audit6.c: Likewise.
39606         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39608 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
39610         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39612 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
39614         * po/cs.po: Update from translation team.
39615         * po/bg.po: Likewise.
39617 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
39619         * misc/sys/cdefs.h: Add support for const attribute.
39620         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39621         to gnu_dev_{major,minor,makedev} functions.
39623 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
39625         * intl/dcigettext.c (get_output_charset): Add missing bracket.
39627 2011-07-20  Andreas Schwab  <schwab@redhat.com>
39629         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39630         strlen results.
39632 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39634         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39635         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39636         register in order to avoid conflicts with the soft frame pointer
39637         being held in r11 when necessary.
39638         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39639         (INTERNAL_VSYSCALL_NCS): Likewise.
39641 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
39643         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39644         * elf/dl-fini.c (_dl_fini): Adjust caller.
39645         * elf/dl-close.c (_dl_close_worker): Likewise.
39646         * sysdeps/generic/ldsodefs.h: Adjust declaration.
39648 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
39650         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39651         "aux_cache->nlibs < 0".
39653         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39654         in the reload-count case.
39656 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39658         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39659         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39660         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39661         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39662         * sysdeps/x86_64/multiarch/strcat.S: New file.
39663         * sysdeps/x86_64/multiarch/strncat.S: New file.
39664         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39665         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39666         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39667         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39668         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39669         (USE_AS_STRCAT): Define.
39670         Add strcat and strncat support.
39671         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39672         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39673         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39674         * string/strncat.c: Update.
39675         (USE_AS_STRNCAT): Define.
39676         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39677         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39678         and i7.
39679         * sysdeps/x86_64/multiarch/init-arch.h
39680         (bit_Prefer_PMINUB_for_stringop): New.
39681         (index_Prefer_PMINUB_for_stringop): Likewise.
39682         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39683         bit_Prefer_PMINUB_for_stringop.
39685 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
39687         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39688         buffer64.
39689         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39690         of casting of buffer.
39691         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39692         buffer32 and buffer64.
39693         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39694         writes instead of casting of buffer.
39695         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39696         buffer32.
39697         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39698         casting of buffer.
39700 2011-07-19  Andreas Schwab  <schwab@redhat.com>
39702         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39704 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
39706         * nscd/nscd.c (termination_handler): Don't do anything for a database
39707         if it has not yet been initialized.
39709 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
39711         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39713 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
39715         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39717 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
39719         * po/nl.po: Update from translation team.
39720         * po/sv.po: Likewise.
39722 2011-07-16  Roland McGrath  <roland@hack.frob.com>
39724         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39725         now disallowed by GCC.
39727         * configure.in (use-default-link): Default to yes if a test -shared
39728         link meets our qualifications.
39729         * configure: Regenerated.
39731         * config.make.in (output-format): New variable.
39732         * configure.in: Check for ld --print-output-format support.
39733         * configure: Regenerated.
39734         * Makerules ($(common-objpfx)format.lds)
39735         [$(output-format) != unknown]: Just use $(output-format),
39736         instead of the linker-script munging.
39738 2011-07-14  Roland McGrath  <roland@hack.frob.com>
39740         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39741         of $(common-objpfx)shlib.lds.
39742         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39744         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39745         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39747         * configure.in (-z relro check): Adjust test code to add a large
39748         writable data section after it.
39749         * configure: Regenerated.
39751 2011-07-11  Roland McGrath  <roland@hack.frob.com>
39753         * configure.in (-z relro check): Fix test code to make the variable
39754         truly const.
39755         * configure: Regenerated.
39757 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
39759         * nscd/nscd.h (struct traced_file): Define.
39760         (struct database_dyn): Remove inotify_descr, reset_res, and filename
39761         elements.  Add traced_files.
39762         (inotify_fd): Declare.
39763         (register_traced_file): Declare.
39764         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39765         (inotify_fd): Export.
39766         (resolv_conf_descr): Remove.
39767         (nscd_init): Move inotify descriptor creation to main.
39768         Don't register files for notification here.
39769         (register_traced_file): New function.
39770         (invalidate_cache): Don't use reset_res to determine whether to call
39771         res_init, go through the list of registered files.
39772         (main_loop_poll): The inotify descriptors are now stored in the
39773         structures for the traced files.
39774         (main_loop_epoll): Likewise
39775         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
39776         to __nss_disable_nscd.
39777         * nscd/cache.c (prune_cache): There is no single inotify descriptor
39778         for a database anymore.  Check the records for all the registered
39779         files instead.
39780         * nss/Makefile (libnss_files-routines): Add files-init.
39781         (libnss_db-routines): Add db-init.
39782         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39783         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39784         * nss/nss_db/db-init.c: New file.
39785         * nss/nss_files/files-init.c: New file.
39786         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
39787         __nss_lookup_function.
39788         (__nss_lookup_function): Call nss_load_library.
39789         (nss_load_all_libraries): New function.
39790         (__nss_disable_nscd): Take parameter with callback function for files
39791         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
39792         used for the cached services.
39793         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39794         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39795         options for features to all the files in nscd.
39797         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39799 2011-07-10  Roland McGrath  <roland@hack.frob.com>
39801         * csu/elf-init.c (__libc_csu_init): Comment typo.
39803 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
39805         * po/pl.po: Update from translation team.
39806         * po/ja.po: Likewise.
39807         * po/ru.po: Likewise.
39808         * po/ko.po: Likewise.
39809         * po/fr.po: Likewise.
39811 2011-07-09  Roland McGrath  <roland@hack.frob.com>
39813         * configure.in (.ctors/.dtors header and trailer check):
39814         Use an empirical test on a built program.
39815         * configure: Regenerated.
39817         * configure.in (-z relro check): Use an empirical test on a built DSO.
39818         Detect, but do not require, on ia64.
39819         * configure: Regenerated.
39821         * configure.in (READELF): Find it with AC_CHECK_TOOL.
39822         Update tests that use readelf to use $READELF instead.
39823         * configure: Regenerated.
39825 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
39827         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39828         if the result is not used.
39830 2011-07-05  Andreas Jaeger  <aj@suse.de>
39832         [BZ#9696]
39833         * stdlib/tst-strtod.c: Add testcase.
39835 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
39837         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
39838         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
39839         The latter has a higher limit.  Take additional parameter to pass to
39840         the new function.
39841         (__pathconf): Pass file to __statfs_link_max.
39842         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39843         __statfs_link_max.
39844         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39845         __statfs_link_max.
39847         [BZ #12868]
39848         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39849         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39850         Handle Lustre.
39851         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39852         (__statfs_filesize_max): Likewise.
39853         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39855 2011-07-05  Andreas Jaeger  <aj@suse.de>
39857         * resolv/res_comp.c (dn_skipname): Remove unused variable.
39859 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
39861         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39862         `status' variable.
39863         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39864         Likewise.
39866 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
39868         * Makefile (strop-tests): Add strncat.
39869         * string/test-strncat.c: New file.
39871 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
39873         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39875 2011-06-21  Andreas Jaeger  <aj@suse.de>
39877         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39878         Copy rule from iconvdata/Makefile.
39880 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
39882         [BZ #12922]
39883         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39884         but no long options are defined, just return 'W'.
39886 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
39888         [BZ #9696]
39889         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39891 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
39893         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39894         netgroups to read.
39895         (innetgr): Likewise.
39897 2011-07-05  Roland McGrath  <roland@hack.frob.com>
39899         * config.make.in (install_root): Default to $(DESTDIR).
39901 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
39903         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39905 2011-07-02  Roland McGrath  <roland@hack.frob.com>
39907         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39909         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39910         containing directory rather than embedding absolute directory names.
39912         * scripts/check-local-headers.sh: Rewritten using awk.
39913         Match by word, not by line.  Print error messages for matches.
39914         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39916         * Makerules [shlib-lds-flags empty]:
39917         ($(common-objpfx)libc_pic.opts): New target.
39918         ($(common-objpfx)libc_pic.os.clean): New target.
39919         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39921         * config.make.in (OBJCOPY): New variable.
39922         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39923         * configure: Regenerated.
39925         * config.make.in (use-default-link): New variable.
39926         * configure.in (use_default_link): Grok --with-default-link to set it.
39927         * configure: Regenerated.
39928         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39929         (shlib-lds, shlib-lds-flags): Define to empty.
39931         * Makerules (shlib-lds): New variable.
39932         (shlib-lds-flags): New variable.
39933         (build-shlib, build-moduile, build-module-asneeded): Use it.
39934         ($(common-objpfx)libc.so): Use $(shlib-lds).
39935         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39936         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39938         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39939         DT_FLAGS/DT_FLAGS_1 with zero flags.
39941         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39942         linker script munging.
39944 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
39946         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39947         as 128-bit value.
39948         * crypt/sha512.c (sha512_process_block): Perform total addition using
39949         128-bit if possible.
39950         (__sha512_finish_ctx): Likewise.
39951         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39952         as 64-bit value.
39953         * crypt/sha256.c (SWAP64): Define.
39954         (sha256_process_block): Perform total addition using 64-bit if
39955         possible.
39956         (__sha256_finish_ctx): Likewise.
39958 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
39960         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
39961         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39962         * nscd/hstcache.c (cache_addhst): Likewise.
39963         * nscd/grpcache.c (cache_addgr): Likewise.
39964         * nscd/aicache.c (addhstaiX): Likewise
39965         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39967 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
39969         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39970         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39971         * nscd/hstcache.c (cache_addhst): Likewise.
39972         * nscd/grpcache.c (cache_addgr): Likewise.
39973         * nscd/aicache.c (addhstaiX): Likewise
39975 2011-07-01  Andreas Schwab  <schwab@redhat.com>
39977         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39978         domain only when needed.
39980 2011-06-30  Andreas Schwab  <schwab@redhat.com>
39982         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39983         is always restored.
39985 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
39987         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39988         are re-adding the entry.
39989         * nscd/servicescache.c (cache_addserv): Likewise.
39991 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
39993         * sysdeps/generic/dl-irel.h: fix protection against multiple
39994         inclusions.
39995         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39997 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
39999         [BZ #12935]
40000         * malloc/memusage.sh: Fix quoting in message.
40001         * debug/xtrace.sh: Likewise.
40003         * configure.in: Remove support for --experimental-malloc option, make
40004         it the default.
40005         * config.make.in: Likewise.
40006         * malloc/Makefile: Likewise.
40008 2011-06-27  Andreas Schwab  <schwab@redhat.com>
40010         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40011         two-byte characters.
40013 2011-06-27  Roland McGrath  <roland@hack.frob.com>
40015         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40016         AC_CACHE_CHECK invocation.
40017         * configure: Regenerated.
40019         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40021 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
40023         [BZ #12350]
40024         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
40025         bit from old_res_options.
40027         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40029         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40030         value type for setfct.
40032 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
40034         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40035         __gettimeofday instead of gettimeofday.
40037 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
40039         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40041 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
40043         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40045         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40046         info.
40048 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
40050         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40051         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40052         strcpy-sse2-unaligned strncpy-sse2-unaligned
40053         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40054         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40055         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40056         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40057         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40058         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40059         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40060         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40061         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40062         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40063         (STRCPY): Support SSE2 and SSSE3 versions.
40065 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
40067         [BZ #12874]
40068         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40069         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40070         kernels which artificially limit size of requests.
40072 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
40074         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40075         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40076         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40077         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40078         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40079         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40080         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40081         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40082         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40083         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40084         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40085         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40086         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40087         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40088         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40089         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40090         Enable unaligned load optimization for Intel Core i3, i5 and i7
40091         processors.
40092         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40093         Define.
40094         (index_Fast_Unaligned_Load): Define.
40095         (HAS_FAST_UNALIGNED_LOAD): Define.
40097 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
40099         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40101 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
40103         [BZ #12907]
40104         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40105         until it is clear that the information is realy needed.
40106         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40108 2011-06-22  Andreas Schwab  <schwab@redhat.com>
40110         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40112 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
40114         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40115         /sys/devices/system/cpu/online if it is usable.
40117         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40118         reading the information from the /proc filesystem to once a second.
40120 2011-06-21  Andreas Jaeger  <aj@suse.de>
40122         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40123         NULL after inclusion of kernel headers.
40125 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
40127         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40128         calls to internal_setent.
40130         [BZ #12885]
40131         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40132         addresses using gethostbyname4_r ignore IPv4 addresses.
40134         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40135         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
40137         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40139 2011-06-20  David S. Miller  <davem@davemloft.net>
40141         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40142         inclusions.
40143         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40145         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40146         (elf_irel): Use it.
40147         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40148         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40149         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40150         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40151         * sysdeps/x86_64/dl-irel.h: Likewise.
40153         * elf/dl-runtime.c: Use elf_ifunc_invoke.
40154         * elf/dl-sym.c: Likewise.
40156 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
40158         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
40159         need to dereference resplen2.
40161 2011-06-14  Andreas Schwab  <schwab@redhat.com>
40163         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40165 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
40167         * Makeconfig: Define vardbdir and inst_vardbdir.
40168         * nss/Makefile: Add rules to install db-Makefile.
40170         * nss/nss_db/db-XXX.c: Cleanup.
40172         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40173         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40174         GLIBC_PRIVATE.
40175         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40176         * nss/makedb.c: Implement -g option to specify that value strings
40177         are generated and should not be added to table iterated over for
40178         get*ent calls.
40179         * nss/nss_db/db-initgroups.c: New file.
40181         * nss/getent.c: Add support for initgroups lookups through getgrouplist
40182         interface.
40184         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40185         (internal_getgrouplist): Adjust to name change.
40186         Update use_initgroups_entry if this is not the first call.
40187         * nss/databases.def: Add initgroups entry.
40189         * nss/makedb.c (compute_tables): Check result of multiple hash table
40190         sizes to minimize maximum chain length.
40192 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
40194         * Versions.def: Add entry for libnss_db.
40195         * shlib-versions: Likewise.
40196         * nss/Makefile: Add rules to build libnss_db.
40197         * nss/Versions: Add libnss_db information.  Organize libnss_files
40198         entries better.
40199         * nss/db-Makefile: Add gshadow support.  Change rules for the new
40200         makedb progra.  Some minor improvements to generate smaller files.
40201         * nss/nss_db/nss_db.h: Move NSS database header data structures to
40202         here from...
40203         * nss/makedb.c: ...here.
40204         Improve database format to be smaller and require less memory at
40205         runtime.
40206         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
40207         db anymore.
40208         * nss/nss_db/db-netgrp.c: Likewise.
40209         * nss/nss_db/db-open.c: Likewise.
40210         * nss/nss_files/flies-XXX.x: Adjust comments.
40211         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40212         * nss/nss_files/files-grp.c: Likewise.
40213         * nss/nss_files/files-hosts.c: Likewise.
40214         * nss/nss_files/files-network.c: Likewise.
40215         * nss/nss_files/files-proto.c: Likewise.
40216         * nss/nss_files/files-pwd.c: Likewise.
40217         * nss/nss_files/files-rpc.c: Likewise.
40218         * nss/nss_files/files-service.c: Likewise.
40219         * nss/nss_files/files-sgrp.c: Likewise.
40220         * nss/nss_files/files-spwd.c: Likewise.
40221         * nss/nss_db/db-alias.c: Removed.
40222         * nss/nss_db/dummy-db.h: Removed.
40224 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
40226         * nss/makedb.c: Rewritten to not use database library.
40227         * nss/Makefile: Update to build new makedb program.
40229 2011-06-14  Andreas Jaeger  <aj@suse.de>
40231         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40232         memset declaration.
40234 2011-06-10  Andreas Schwab  <schwab@redhat.com>
40236         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40237         tmpbuf.
40239 2011-06-10  Roland McGrath  <roland@hack.frob.com>
40241         * Makerules (shlib.lds): Fail if the linker script comes out empty.
40242         * elf/Makefile ($(objpfx)ld.so): Likewise.
40244         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40245         Don't list ld.so twice in dependencies.
40247         * posix/bug-regex31.c: Include <stdlib.h>.
40249         * nscd/hstcache.c (cache_addhst): Remove unused variable.
40251         * nis/nss_compat/compat-spwd.c
40252         (getspent_next_nss_netgr): Remove unused variable.
40253         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40255         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40256         nonmembers" output to use the right array.
40258         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40260         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40262         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40263         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40264         * catgets/gencat.c (read_input_file): Likewise.
40265         * locale/programs/locarchive.c (enlarge_archive): Likewise.
40267         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40268         variable definition inside #if's controlling its use.
40270         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40272         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40274         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40276         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40277         unreachable code.
40279         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40281         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40282         * configure: Regenerated.
40284         * Makerules: Revert last change.
40285         * elf/Makefile: Likewise.
40287 2011-06-09  Roland McGrath  <roland@hack.frob.com>
40289         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40290         * elf/Makefile ($(objpfx)librtld.os): Likewise.
40291         (reloc-link): Likewise.
40293 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
40295         * elf/Makefile: Add rules to build pldd.
40296         * elf/pldd.c: New file.
40297         * elf/pldd-xx.c: New file.
40299 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
40301         * version.h: Update for 2.15 development version.
40303 2011-06-07  David S. Miller  <davem@davemloft.net>
40305         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40306         ifuncs.
40307         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40308         elf_machine_lazy_rel): Likewise.
40309         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40310         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40311         elf_machine_lazy_rel): Likewise.
40312         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40313         dl_hwcap via passed in argument.
40314         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40315         Likewise.
40317 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40319         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
40321 2011-06-06  Roland McGrath  <roland@hack.frob.com>
40323         [BZ #12849]
40324         * manual/fdl-1.1.texi: New file, verbatim from:
40325         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40326         * manual/lgpl-2.1.texi: New file, verbatim from:
40327         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40328         * manual/Makefile (licenses): New variable, list those new file names.
40329         (texis): Use it.
40330         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40332         * manual/fdl.texi: File removed.
40333         * manual/lesser.texi: File removed.
40334         * manual/libc.texinfo (Copying, Documentation License):
40335         Use new @include file names, put @appendix directive before @include.
40337 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
40339         [BZ #12841]
40340         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40341         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40342         (mq_open): Add __NTH.
40344 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
40346         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40347         Assume Intel Core i3/i5/i7 processor if AVX is available.
40349 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
40351         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40352         typo.
40354 2011-05-31  Andreas Schwab  <schwab@redhat.com>
40356         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40357         memory.  Use alloca_account.  Fix memory leak when retrying.
40359 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
40361         * version.h (RELEASE): Bump for 2.14 release.
40362         * include/features.h (__GLIBC_MINOR__): Bump to 14.
40364         * config.make.in (RANLIB): Remove entry.
40366 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
40368         * po/Makefile (po-sed-cmd): Add ksh to extensions.
40369         (libc.pot): Work around missing support for .ksh extension in xgettext.
40371         [BZ #12684]
40372         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40373         if both request failed.
40374         (send_dg): In case of server errors clear resplen or *resplen2.
40376         [BZ #12454]
40377         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40378         when there are multiple maps.
40379         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40380         (_dl_fini): Remove test here.
40382         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40384 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
40386         [BZ #12350]
40387         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40388         bit from old_res_options.
40389         (gaih_inet): Likewise.
40391         [BZ #11099]
40392         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40393         as signed.
40395         * resolv/res_init.c (res_setoptions): Make the code more compact.
40397         [BZ #11558]
40398         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40399         set RES_USEVC.
40401         [BZ #11634]
40402         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40404         * malloc/malloc.h: Mark malloc hook variables as deprecated.
40406         [BZ #11781]
40407         * malloc/malloc.h: Declare malloc hook variables as volatile.
40409         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40410         in last patch.
40412         [BZ #11799]
40413         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40414         raise in the comment.
40415         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40416         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40417         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40419 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
40421         [BZ #12811]
40422         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40423         grow the buffers more if it already has to be sufficient.
40424         (build_wcs_upper_buffer): Likewise.
40425         * posix/regexec.c (check_matching): Likewise.
40426         (clean_state_log_if_needed): Likewise.
40427         (extend_buffers): Don't enlarge buffers beyond size of the input
40428         buffer.
40429         Patches mostly by Emil Wojak <emil@wojak.eu>.
40430         * posix/bug-regex32.c: New file.
40431         * posix/Makefile (tests): Add bug-regex32.
40433         * locale/findlocale.c (_nl_find_locale): Return right away if
40434         _nl_explode_name failed.
40435         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40437         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40439         * debug/xtrace.sh: Unify messages.
40440         * malloc/memusage.sh: Likewise.
40442         [BZ #12813]
40443         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40444         time symbol from vDSO.  Substitute with vsyscall if not available.
40445         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40446         __vdso_time.
40448         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40449         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40450         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40451         Add sendmmsg and internal_sendmmsg.
40452         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40453         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40454         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40456         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40457         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40458         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40460 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
40462         [BZ #12813]
40463         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40464         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
40465         available.
40466         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40467         __vdso_getcpu.
40469         [BZ #12814]
40470         * iconvdata/Makefile (tests): Add bug-iconv9.
40471         * iconvdata/bug-iconv9.c: New file.
40473 2011-05-27  Andreas Schwab  <schwab@redhat.com>
40475         [BZ #12814]
40476         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40478 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
40480         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40481         (struct user_regs_struct): Change intcs field back to cs.
40483 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
40485         * po/ja.po: Update from translation team.
40487 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
40489         [BZ #12795]
40490         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40491         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40493 2011-05-20  Andreas Schwab  <schwab@redhat.com>
40495         * stdlib/longlong.h: Update from GCC.
40497 2011-05-23  Andreas Schwab  <schwab@redhat.com>
40499         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40500         parameter name.
40501         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40502         Add parameter name.
40503         (__sysconf): Pass it down.
40505 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
40507         [BZ #12671]
40508         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40509         some situations.
40510         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40511         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40512         add in in __libc_use_alloca calls.  Adjust callers.
40513         (glob): Use malloc in some situations.
40515         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40516         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40517         pltexit.
40519 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
40521         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40522         and CLOCK_BOOTTIME_ALARM.
40524         [BZ #12782]
40525         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40526         is returned.
40528         * string/_strerror.c (__strerror_r): Print negative errors as signed
40529         numbers.
40531         [BZ #12777]
40532         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40533         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40534         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40536         * configure.in: Fix typo in redirection and correct removal of test
40537         files in two cases.
40539         [BZ #12788]
40540         * locale/setlocale.c (new_composite_name): Fix test to check for
40541         identical name of all categories.
40543         [BZ #12792]
40544         * libio/filedoalloc.c (local_isatty): New function.
40545         (_IO_file_doallocate): Use local_isatty.
40546         * stdio-common/perror.c (perror): In case a new stream is used
40547         forward the stream error.
40548         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40549         error flag.
40551 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
40553         [BZ #11869]
40554         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40555         alloca.
40556         * include/alloca.h (extend_alloca_account): Define.
40558         [BZ #11857]
40559         * posix/regex.h: Fix comments with documentation of user-accessible
40560         fields after compilation and describe correct free'ing of pattern
40561         after re_compile_pattern.
40562         Patch by Reuben Thomas <rrt@sc3d.org>.
40564 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
40566         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40567         and -mno-altivec to prevent the compiler from using Altivec and/or
40568         VSX instructions when the corresponding registers are not available.
40570 2011-05-19  Andreas Schwab  <schwab@redhat.com>
40572         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40574 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
40576         * libio/freopen.c (freopen): Use __dup2, not dup2.
40577         * libio/freopen64.c (freopen64): Likewise.
40579 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40581         [BZ #12775]
40582         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40583         * math/Makefile (tests): Add test-powl.
40584         (CFLAGS-test-powl.c): Define.
40585         * math/test-powl.c: New file.
40587 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40589         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40591 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
40593         [BZ #11837]
40594         * iconvdata/gb18030.c: Update to GB18020-2005.
40596 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
40598         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40599         RE_SYNTAX_POSIX_AWK): Update to match recent development.
40600         Patch by Aharon Robbins <arnold@skeeve.com>.
40602         [BZ #11892]
40603         * stdlib/putenv.c (putenv): Don't always create copy of the variable
40604         on the stack.
40606         [BZ #11895]
40607         * misc/pselect.c (__pselect): Handle timeout value errors hidden
40608         through underflows.
40610         [BZ #12766]
40611         * misc/error.c (error_at_line): Ensure file_name and old_file_name
40612         point to strings before performing equality test for error_one_per_line
40613         mode.
40615         [BZ #11697]
40616         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40618         [BZ #11820]
40619         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40620         (struct user_fpregs_struct): Avoid __uint*_t types.
40622         [BZ #6420]
40623         * malloc/mtrace.c (tr_where): Add additional parameter to point to
40624         symbol info.  Use it instead of calling _dl_addr locally.
40625         (lock_and_info): New function.
40626         (tr_freehook): Call lock_and_info and pass symbol info as additional
40627         parameter to tr_where.
40628         (tr_mallochook): Likewise.
40629         (tr_reallochook): Likewise.
40630         (tr_memalignhook): Likewise.
40632         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
40633         used and couldn't be at all thread-safe.
40635 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
40637         * libio/freopen.c (freopen): Don't close old file descriptor
40638         before the new one is opened.  Instead dup the new file descriptor
40639         to the old one after the new stream is created.
40640         * libio/freopen64.c (freopen64): Likewise.
40641         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40642         * libio/fileops.c (_IO_new_file_close_it): Handle new
40643         _IO_FLAGS2_NOCLOSE flag.
40644         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40645         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40646         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40647         _IO_FLAGS2_NOCLOSE flag.
40648         * include/unistd.h: Add hidden_proto for dup3.
40649         Define __have_dup3.
40650         * io/dup3.c: Define hidden symbol.
40651         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40653         [BZ #7101]
40654         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40655         when an incomplete long option is used.
40656         * posix/tst-getopt_long1.c: New file.
40657         * posix/Makefile (tests): Add tst-getopt_long1.
40659         [BZ #10138]
40660         * scripts/config.guess: Update from autoconf-2.68.
40661         * scripts/config.sub: Likewise.
40663         [BZ #10157]
40664         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40665         tests into ...
40666         (has_cpuclock): ...this.  New function.
40667         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40668         macro here based on has_cpuclock code.
40670         [BZ #10149]
40671         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40672         First byte (not low byte) is now always NUL.
40673         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40675         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40676         Use non-cancelable interfaces.
40678         [BZ #9809]
40679         * locale/iso-639.def: Add entry for Sorani.
40681         [BZ #11901]
40682         * include/stdlib.h: Move include protection to the right place.
40683         Define abort_msg_s.  Declare __abort_msg with it.
40684         * stdlib/abort.c (__abort_msg): Adjust type.
40685         * assert/assert.c (__assert_fail_base): New function.  Majority
40686         of code from __assert_fail.  Allocate memory for __abort_msg with
40687         mmap.
40688         (__assert_fail): Now call __assert_fail_base.
40689         * assert/assert-perr.c: Remove bulk of implementation.  Use
40690         __assert_fail_base.
40691         * include/assert.hL Declare __assert_fail_base.
40692         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40693         mmap.
40694         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40696 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
40698         [BZ #11952]
40699         [BZ #12453]
40700         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40701         until all modules are registered in the DTV.
40702         * elf/Makefile: Add rules to build and run tst-tls19.
40703         * elf/tst-tls19.c: New file.
40704         * elf/tst-tls19mod1.c: New file.
40705         * elf/tst-tls19mod2.c: New file.
40706         * elf/tst-tls19mod3.c: New file.
40707         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40709         [BZ #12083]
40710         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40711         correctly.
40713         [BZ #12601]
40714         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40715         two-byte sequence errors.
40716         * iconvdata/Makefile (tests): Add bug-iconv8.
40717         * iconvdata/bug-iconv8.c: New file.
40719         [BZ #12626]
40720         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40721         buf2 definition.
40723         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40725         [BZ #12432]
40726         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40727         (dummy_getcfa): New function.
40728         (init): Get _Unwind_GetCFA address, use dummy if not found.
40729         (backtrace_helper): In recursion check, also check whether CFA changes.
40730         (__backtrace): Completely initialize arg.
40732         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
40733         storing incomplete byte sequence in state object.  Avoid testing for
40734         guaranteed too small input if we know there is enough data available.
40736 2011-05-11  Andreas Schwab  <schwab@redhat.com>
40738         * Makeconfig (+link-pie): Indent.
40739         * Rules (binaries-pie): Define if $(have-fpie) and
40740         $(build-shared).
40741         (binaries-shared): Also filter out $(binaries-pie).
40742         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40743         * nscd/Makefile (others-pie): Add nscd.
40744         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40745         ($(objpfx)nscd): Remove command override.
40746         * login/Makefile (others-pie): Add pt_chown.
40747         ($(objpfx)pt_chown): Remove command override.
40748         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40749         remove command overrides.
40751 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
40753         * libio/tst_putwc.c: Fix error messages.
40755         [BZ #12724]
40756         * libio/fileops.c (_IO_new_file_close_it): Always flush when
40757         currently writing and seek to current position when not.
40758         * libio/Makefile (tests): Add bug-fclose1.
40759         * libio/bug-fclose1.c: New file.
40761 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
40763         [BZ #12511]
40764         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40765         don't set DF_1_NODELETE here.
40766         (do_lookup_x): When entering new entry test for copy relocation
40767         and if necessary set DF_1_NODELETE flag.
40768         * elf/tst-unique4.cc: New file.
40769         * elf/tst-unique4.h: New file.
40770         * elf/tst-unique4lib.cc: New file.
40771         * elf/Makefile: Add rules to build and run tst-unique4.
40772         Patch by Piotr Bury <pbury@goahead.com>.
40774 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
40776         [BZ #12052]
40777         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40779         [BZ #12625]
40780         * misc/mntent_r.c (addmntent): Flush the stream after the output
40782         [BZ #12393]
40783         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40784         (is_trusted_path_normalize): Skip initial colon.  Append slash
40785         to empty buffer.  Duplicate is_trusted_path code but allow
40786         constructed patch to be prefix.
40787         (is_dst): Allow $ORIGIN followed by /.
40788         (_dl_dst_substitute): Correct clearing of check_for_trusted.
40789         Correct testing of result of is_trusted_path_normalize
40790         (decompose_rpath): Fix warning.
40792 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
40794         [BZ #11257]
40795         * grp/initgroups.c (internal_getgrouplist): When we found the service
40796         list through the initgroups entry in nsswitch.conf do not always
40797         continue on a successful lookup.  Don't always use the
40798         __nss_group_database value if it is set.
40799         * nss/nsswitch.conf (initgroups): Change action for successful db
40800         lookup to continue for compatibility.
40802 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
40804         [BZ #11532]
40805         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40806         and CP774 modules.
40807         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40808         and CP774 modules.
40809         * iconvdata/tst-tables.sh: Likewise.
40810         * iconvdata/cp770.c: New file.
40811         * iconvdata/cp771.c: New file.
40812         * iconvdata/cp772.c: New file.
40813         * iconvdata/cp773.c: New file.
40814         * iconvdata/cp774.c: New file.
40815         * iconvdata/testdata/CP770: New file.
40816         * iconvdata/testdata/CP770..UTF8: New file.
40817         * iconvdata/testdata/CP771: New file.
40818         * iconvdata/testdata/CP771..UTF8: New file.
40819         * iconvdata/testdata/CP772: New file.
40820         * iconvdata/testdata/CP772..UTF8: New file.
40821         * iconvdata/testdata/CP773: New file.
40822         * iconvdata/testdata/CP773..UTF8: New file.
40823         * iconvdata/testdata/CP774: New file.
40824         * iconvdata/testdata/CP774..UTF8: New file.
40826         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40827         END CHARMAP line.
40828         * iconvdata/gen-8bit-gap.sh: Likewise.
40829         * iconvdata/gen-8bit.sh: Likewise.
40831         * locale/iso-639.def: Add ary entry.
40833         [BZ #11258]
40834         * locale/C-translit.h.in: Add U20A1 transliteration.
40836         [BZ #12178]
40837         * locale/iso-639.def: Add wae entry.
40838         Patch by Kevin Bortis <bortis@translate-wae.ch>.
40840         [BZ #12545]
40841         * locale/programs/localedef.c (construct_output_path): Use ssize_t
40842         for n.
40844         [BZ #12711]
40845         * locale/C-translit.h.in: Add entry for U20B9.
40846         Patch by pravin.d.s@gmail.com.
40848 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
40850         [BZ #12713]
40851         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40852         ENAMETOOLONG use generic getcwd.
40853         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
40854         in rtld.  Use *stat64.
40855         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
40856         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
40857         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
40858         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40859         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40860         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40861         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40862         __fstatat64 macros.
40863         * include/dirent.h: Add libc_hidden_proto for rewinddir.
40864         * dirent/rewinddir.c: Add libc_hidden_def.
40865         * sysdeps/mach/hurd/rewinddir.c: Likewise.
40866         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
40868         * include/dirent.h (__alloc_dir): Add flags parameter.
40869         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40870         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40871         __alloc_dir.
40872         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
40873         from fdopendir if O_CLOEXEC is already set.
40875 2011-03-15  Alan Modra  <amodra@gmail.com>
40877         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40878         l_tls_firstbyte_offset non-zero.  Save padding offset in
40879         l_tls_firstbyte_offset for later use.
40880         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40881         freeing static tls block.
40883 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
40885         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40886         where #ifdef was intended.  The intent is to prevent ARG_MAX from
40887         being defined by the kernel headers.
40889 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
40891         [BZ #12734]
40892         * resolv/resolv.h: Define RES_NOTLDQUERY.
40893         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40894         no-tld-query and set RES_NOTLDQUERY.
40895         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40896         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40897         modern BIND to search name as TLD unless forbidden.
40899 2011-05-07  Petr Baudis  <pasky@suse.cz>
40900             Ulrich Drepper  <drepper@gmail.com>
40902         [BZ #12393]
40903         * elf/dl-load.c (fillin_rpath): Move trusted path check...
40904         (is_trusted_path): ...to here.
40905         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
40906         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
40907         using is_trusted_path_normalize() in setuid scripts.
40909 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
40911         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40912         __BEGIN/__END_DECLS.
40914 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
40916         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40917         NSS_STATUS_NOTFOUND if no record was found.
40919 2011-05-05  Andreas Schwab  <schwab@redhat.com>
40921         * sunrpc/Makefile (headers): Add rpc/netdb.h.
40922         (headers-not-in-tirpc): Remove rpc/netdb.h
40923         * resolv/netdb.h: Revert last change.
40925 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40927         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40928         circular dependency between libgcc.a and libc.a.
40930 2011-05-05  Andreas Schwab  <schwab@redhat.com>
40932         * resolv/netdb.h: Don't include <rpc/netdb.h>.
40933         * nis/Makefile: Don't install rpcsvc/*.
40934         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40935         instead of <rpc/types.h>.
40936         (MAXHOSTNAMELEN): Define.
40938 2011-05-03  Andreas Schwab  <schwab@redhat.com>
40940         * elf/ldconfig.c (add_dir): Don't crash on empty path.
40942 2011-04-28  Maciej Babinski  <mbabinski@google.com>
40944         [BZ #12714]
40945         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40946         gethostbyname4_r when IPv6 results are possible.
40948 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
40950         [BZ #12723]
40951         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40952         _PC_PIPE_BUF handling.
40954 2011-04-30  Bruno Haible  <bruno@clisp.org>
40956         [BZ #12717]
40957         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40958         * resolv/netdb.h (getnameinfo): Change type of flags parameter
40959         to 'int'.
40960         * inet/getnameinfo.c (getnameinfo): Likewise.
40962 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
40964         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40965         to groups setting in database lookup.
40966         * nss/nsswitch.conf: Add initgroups entry.
40968 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
40970         [BZ #12685]
40971         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40972         mode string.
40973         Patch by Eric Blake <eblake@redhat.com>.
40975 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
40977         * sunrpc/Makefile (need-export-routines): Add svc_run.
40978         (routines): Remove svc_run.
40979         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40980         * sunrpc/clnt_perr.c (clnt_perrno): Export.
40981         * sunrpc/svc_run.c (svc_run): Likewise.
40982         * sunrpc/svc_udp.c (svcudp_create): Likewise.
40984 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
40986         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40987         problem in reallocation in last patch.
40989 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
40991         * sunrpc/Makefile: Move inclusion of Rules.
40993 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
40995         * nss/nss_files/files-initgroups.c: New file.
40996         * nss/Makefile (libnss_files-routines): Add files-initgroups.
40997         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40998         _nss_files_initgroups_dyn.
41000 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
41002         * elf/elf.h (R_ARM_IRELATIVE): Define.
41004 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
41006         * po/ru.po: Update from translation team.
41008 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
41010         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41011         dependencies.
41013 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
41015         [BZ #12653]
41016         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41017         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41018         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41019         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41020         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41022 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
41024         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41025         differing bytes.
41026         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41027         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41028         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41030 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
41032         [BZ #12420]
41033         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41034         storing it.
41035         * stdlib/bug-getcontext.c: New file.
41036         * stdlib/Makefile: Add rules to build and run bug-getcontext.
41038 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41040         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41041         instructions into .machine "z9-109".
41042         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41043         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41045 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41047         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41048         between environment variables and auxiliary vector.
41050 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
41052         * Makefile: Add rules to build linkobj/libc.so.
41053         * include/libc-symbols.h: Define libc_hidden_nolink.
41054         * include/rpc/auth.h: Mark functions which are to be hidden.
41055         * include/rpc/auth_des.h: Likewise.
41056         * include/rpc/auth_unix.h: Likewise.
41057         * include/rpc/clnt.h: Likewise.
41058         * include/rpc/des_crypt.h: Likewise.
41059         * include/rpc/key_prot.h: Likewise.
41060         * include/rpc/pmap_clnt.h: Likewise.
41061         * include/rpc/pmap_prot.h: Likewise.
41062         * include/rpc/pmap_rmt.h: Likewise.
41063         * include/rpc/rpc_msg.h: Likewise.
41064         * include/rpc/svc.h: Likewise.
41065         * include/rpc/svc_auth.h: Likewise.
41066         * include/rpc/xdr.h: Likewise.
41067         * nis/Makefile: Link all DSOs against linkobj/libc.so.
41068         * nss/Makefile: Likewise.
41069         * sunrpc/Makefile: Don't install headers.  Build library with normal
41070         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
41071         * sunrpc/auth_des.c: Hide exported symbols by default, export some
41072         for the compat linking library.  Remove use of INTDEF/INTUSE.
41073         * sunrpc/auth_none.c: Likewise.
41074         * sunrpc/auth_unix.c: Likewise.
41075         * sunrpc/authdes_prot.c: Likewise.
41076         * sunrpc/authuxprot.c: Likewise.
41077         * sunrpc/clnt_gen.c: Likewise.
41078         * sunrpc/clnt_perr.c: Likewise.
41079         * sunrpc/clnt_raw.c: Likewise.
41080         * sunrpc/clnt_simp.c: Likewise.
41081         * sunrpc/clnt_tcp.c: Likewise.
41082         * sunrpc/clnt_udp.c: Likewise.
41083         * sunrpc/clnt_unix.c: Likewise.
41084         * sunrpc/des_crypt.c: Likewise.
41085         * sunrpc/des_soft.c: Likewise.
41086         * sunrpc/get_myaddr.c: Likewise.
41087         * sunrpc/key_call.c: Likewise.
41088         * sunrpc/key_prot.c: Likewise.
41089         * sunrpc/netname.c: Likewise.
41090         * sunrpc/pm_getmaps.c: Likewise.
41091         * sunrpc/pm_getport.c: Likewise.
41092         * sunrpc/pmap_clnt.c: Likewise.
41093         * sunrpc/pmap_prot.c: Likewise.
41094         * sunrpc/pmap_prot2.c: Likewise.
41095         * sunrpc/pmap_rmt.c: Likewise.
41096         * sunrpc/publickey.c: Likewise.
41097         * sunrpc/rpc_cmsg.c: Likewise.
41098         * sunrpc/rpc_common.c: Likewise.
41099         * sunrpc/rpc_dtable.c: Likewise.
41100         * sunrpc/rpc_prot.c: Likewise.
41101         * sunrpc/rpc_thread.c: Likewise.
41102         * sunrpc/rtime.c: Likewise.
41103         * sunrpc/svc.c: Likewise.
41104         * sunrpc/svc_auth.c: Likewise.
41105         * sunrpc/svc_authux.c: Likewise.
41106         * sunrpc/svc_raw.c: Likewise.
41107         * sunrpc/svc_run.c: Likewise.
41108         * sunrpc/svc_simple.c: Likewise.
41109         * sunrpc/svc_tcp.c: Likewise.
41110         * sunrpc/svc_udp.c: Likewise.
41111         * sunrpc/svc_unix.c: Likewise.
41112         * sunrpc/svcauth_des.c: Likewise.
41113         * sunrpc/xcrypt.c: Likewise.
41114         * sunrpc/xdr.c: Likewise.
41115         * sunrpc/xdr_array.c: Likewise.
41116         * sunrpc/xdr_float.c: Likewise.
41117         * sunrpc/xdr_intXX_t.c: Likewise.
41118         * sunrpc/xdr_mem.c: Likewise.
41119         * sunrpc/xdr_rec.c: Likewise.
41120         * sunrpc/xdr_ref.c: Likewise.
41121         * sunrpc/xdr_sizeof.c: Likewise.
41122         * sunrpc/xdr_stdio.c: Likewise.
41124 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
41126         [BZ #12650]
41127         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41128         * sysdeps/ia64/dl-tls.h: Likewise.
41129         * sysdeps/powerpc/dl-tls.h: Likewise.
41130         * sysdeps/s390/dl-tls.h: Likewise.
41131         * sysdeps/sh/dl-tls.h: Likewise.
41132         * sysdeps/sparc/dl-tls.h: Likewise.
41133         * sysdeps/x86_64/dl-tls.h: Likewise.
41134         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41136 2011-03-14  Andreas Schwab  <schwab@redhat.com>
41138         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41139         rpath element also skip the following colon.
41140         (expand_dynamic_string_token): Add is_path parameter and pass
41141         down to DL_DST_REQUIRED and _dl_dst_substitute.
41142         (decompose_rpath): Call expand_dynamic_string_token with
41143         non-zero is_path.  Ignore empty rpaths.
41144         (_dl_map_object_from_fd): Call expand_dynamic_string_token
41145         with zero is_path.
41147 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
41149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41150         Make cancelable.
41152 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
41154         [BZ #12655]
41155         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41156         Patch by Filipe David Manana <fdmanana@apache.org>.
41158 2011-04-07  Andreas Schwab  <schwab@redhat.com>
41160         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41161         Maintain aligned stack.
41162         (CHECK_RSP): Remove unused macro.
41164 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
41166         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41167         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41169 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
41171         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41173         * include/features.h: Mention __USE_XOPEN2K8 in comment.
41175 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
41177         [BZ #12518]
41178         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41179         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41180         * sysdeps/x86_64/memmove.c: New file.
41181         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41182         (memcpy): Renamed to ...
41183         (__new_memcpy): This.
41184         (memcpy): Provide GLIBC_2_14 memcpy.
41185         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41186         (memcpy): Provide GLIBC_2_2_5 memcpy.
41188 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
41190         [BZ #12631]
41191         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41193 2011-03-30  Andreas Schwab  <schwab@redhat.com>
41195         * misc/syncfs.c: New file.
41196         * misc/Makefile (routines): Add syncfs.
41197         * posix/unistd.h: Declare syncfs.
41198         * sysdeps/unix/syscalls.list: Add syncfs.
41200 2011-04-01  Andreas Schwab  <schwab@redhat.com>
41202         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41203         open_by_handle_at.
41204         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41205         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41206         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41207         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41208         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41209         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41210         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41212 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
41214         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41215         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41216         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41217         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41218         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41219         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41220         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41222         * io/Makefile: Compile fallocate.c, fallocate64.c, and
41223         sync_file_range.c with -fexceptions.
41224         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41225         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41226         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41227         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41228         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41229         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41230         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41231         sync_file_range as cancellation point
41232         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
41233         now a wrapper around __call_sync_file_range with cancellation handling.
41234         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41235         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
41236         function name to __call_sync_file_range.
41237         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41238         Add call_sync_file_range.
41240 2011-04-01  Andreas Schwab  <schwab@redhat.com>
41242         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41243         bits/timex.h.
41245 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
41247         * iconv/iconv.h: Fix typo in comment.
41248         * io/fcntl.h: Likewise.
41249         * libio/stdio.h: Likewise.
41250         * posix/spawn.h: Likewise.
41251         * posix/unistd.h: Likewise.
41252         * stdlib/stdlib.h: Likewise.
41253         * time/time.h: Likewise.
41254         * wcsmbs/wchar.h: Likewise.
41256         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41257         open_by_handle): Add.
41258         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41259         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
41260         Augment a few comments.
41261         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41262         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41263         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41264         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41265         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41266         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41267         open_by_handle.
41269         * io/fcntl.h (AT_EMPTY_PATH): Define.
41271 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
41273         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41274         * sysdeps/unix/sysv/linux/bits/time.h: New file.
41275         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41276         to...
41277         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
41278         * Versions.def: Add GLIBC_2.14.
41279         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41280         Export.
41282 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
41284         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41285         round counter.
41286         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41288 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
41290         [BZ #12597]
41291         * string/test-strncmp.c (do_page_test): New function.
41292         (check2): Likewise.
41293         (test_main): Call check2.
41294         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41296 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
41298         [BZ #12587]
41299         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41300         Handle cache information in CPU leaf 4.
41301         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41303 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
41305         [BZ #12583]
41306         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41307         character representation.
41308         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41310 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
41312         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41313         END(__isnan) to END(__isnanf) to match function entry point/label
41314         EALIGN(__isnanf,...).
41316 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
41318         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41320 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
41322         [BZ #12510]
41323         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41324         copy from the symbol referenced in the relocation to initialize the
41325         used variable.
41326         Patch by Piotr Bury <pbury@goahead.com>.
41327         * elf/Makefile: Add rules to build and tst-unique3.
41328         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41329         * elf/tst-unique3.cc: New file.
41330         * elf/tst-unique3.h: New file.
41331         * elf/tst-unique3lib.cc: New file.
41332         * elf/tst-unique3lib2.cc: New file.
41334         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41336 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
41338         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41339         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
41340         to _start.
41342 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
41344         * elf/dl-load.c (_dl_map_object): If we are looking for the first
41345         to-be-loaded object along a path to loader is ld.so.
41347 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
41348             Ulrich Drepper  <drepper@gmail.com>
41350         * sysdeps/x86_64/memset.S: After aligning destination, code
41351         branches to different locations depending on the value of
41352         misalignment, when multiarch is enabled. Fix this.
41354 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
41356         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41357         Set _x86_64_preferred_memory_instruction for AMD processsors.
41358         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41359         Set bit_Prefer_SSE_for_memop for AMD processors.
41361 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
41363         * libio/fmemopen.c (fmemopen): Optimize a bit.
41365 2011-03-03  Andreas Schwab  <schwab@redhat.com>
41367         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41369 2011-03-03  Roland McGrath  <roland@redhat.com>
41371         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41373 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
41375         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41376         __bzero_ultra1 instead of __memset_ultra1.
41378 2011-02-23  Andreas Schwab  <schwab@redhat.com>
41379             Ulrich Drepper  <drepper@gmail.com>
41381         [BZ #12509]
41382         * include/link.h (struct link_map): Add l_orig_initfini.
41383         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41384         returning unsuccessfully.
41385         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41386         close of a file loaded at startup, restore the original l_initfini
41387         list.
41388         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41389         list, store the pointer.
41390         * elf/Makefile ($(objpfx)noload-mem): New rule.
41391         (noload-ENV): Define.
41392         (tests): Add $(objpfx)noload-mem.
41393         * elf/noload.c: Include <memcheck.h>.
41394         (main): Call mtrace.  Close all opened handles.
41396 2011-02-17  Andreas Schwab  <schwab@redhat.com>
41398         [BZ #12454]
41399         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41400         dependencies are missing.
41402 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41404         Fix __if_freereq crash: Unlike the generic version which uses free,
41405         Hurd needs munmap.
41406         * sysdeps/mach/hurd/ifreq.h: New file.
41408 2011-01-27  Petr Baudis  <pasky@suse.cz>
41409             Ulrich Drepper  <drepper@gmail.com>
41411         [BZ 12445]#
41412         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41413         to extend_alloca().
41414         * stdio-common/bug23.c: New file.
41415         * stdio-common/Makefile (tests): Add bug23.
41417 2010-09-28  Andreas Schwab  <schwab@redhat.com>
41418             Ulrich Drepper  <drepper@gmail.com>
41420         [BZ #12489]
41421         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41422         before performing relro protection.  At old place add assertion
41423         to make sure nothing changed.
41425 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
41426             Glauber de Oliveira Costa  <glommer@gmail.com>
41428         * elf/elf.h: Add new ARM TLS relocs.
41430 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
41432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41433         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41434         cast from r3.
41435         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
41436         'tests' variable.
41437         * sysdeps/wordsize-64/tst-writev.c: New file.
41439 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
41441         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41442         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41443         insns in _dl_start to prevent a TOC reference before relocs are
41444         resolved.
41446 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
41448         [BZ #12469]
41449         * Makeconfig: Remove RANLIB definition.
41450         * Makerules: Don't use RANLIB.
41451         * aclocal.m4: Remove ranlib test.
41452         * configure.in: No need to check for ranlib.
41453         * elf/rtld-Rules: Don't use RANLIB.
41455 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41457         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41458         protection macro.
41459         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41460         inclusion protection macro.
41462         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41463         SIGRTMIN and SIGRTMAX and print information in that case only when
41464         SIGRTMIN is defined.
41466 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
41468         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41469         arginfo fn returning -1.
41471         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41472         and thousands string is zero terminated.
41474 2011-02-03  Andreas Schwab  <schwab@redhat.com>
41476         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41477         sysdeps/unix/sysv/linux/bits/socket.h.
41479 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41481         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41482         (__CPU_COUNT): Remove old macros.
41483         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41484         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41485         (__CPU_ALLOC, __CPU_FREE): Add macros.
41486         (__sched_cpualloc, __sched_cpufree): Add declarations.
41488 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
41490         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41491         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41492         * nscd/aicache.c (addhstaiX): Return timeout of added value.
41493         (readdhstai): Return value of addhstaiX call.
41494         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41495         (addgrbyX): Return value returned by cache_addgr.
41496         (readdgrbyname): Return value returned by addgrbyX.
41497         (readdgrbygid): Likewise.
41498         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41499         (addpwbyX): Return value returned by cache_addpw.
41500         (readdpwbyname): Return value returned by addhstbyX.
41501         (readdpwbyuid): Likewise.
41502         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41503         (addservbyX): Return value returned by cache_addserv.
41504         (readdservbyname): Return value returned by addservbyX:
41505         (readdservbyport): Likewise.
41506         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41507         (addhstbyX): Return value returned by cache_addhst.
41508         (readdhstbyname): Return value returned by addhstbyX.
41509         (readdhstbyaddr): Likewise.
41510         (readdhstbynamev6): Likewise.
41511         (readdhstbyaddrv6): Likewise.
41512         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41513         (readdinitgroups): Return value returned by addinitgroupsX.
41514         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41515         (prune_cache): Keep track of timeout value of re-added entries.
41516         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41517         * nscd/nscd.h: Adjust prototypes of readd* functions.
41519 2011-02-04  Roland McGrath  <roland@redhat.com>
41521         * nis/nis_server.c (nis_servstate): Use the right name for 0.
41522         (nis_stats): Likewise.
41523         * nis/nis_modify.c (nis_modify): Likewise.
41524         * nis/nis_remove.c (nis_remove): Likewise.
41525         * nis/nis_add.c (nis_add): Likewise.
41527         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41529         * posix/fnmatch_loop.c: Add some consts.
41531         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41533 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
41535         [BZ #12460]
41536         * config.make.in (config-cflags-novzeroupper): Define.
41537         * configure.in: Substitute libc_cv_cc_novzeroupper.
41538         * elf/Makefile (AVX-CFLAGS): Define.
41539         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41540         (CFLAGS-tst-auditmod4a.c): Likewise.
41541         (CFLAGS-tst-auditmod4b.c): Likewise.
41542         (CFLAGS-tst-auditmod6b.c): Likewise.
41543         (CFLAGS-tst-auditmod6c.c): Likewise.
41544         (CFLAGS-tst-auditmod7b.c): Likewise.
41545         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41547 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
41549         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41550         function to the callback.
41551         Patch partly by Jiri Olsa <jolsa@redhat.com>.
41553 2011-02-02  Andreas Schwab  <schwab@redhat.com>
41555         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41556         of errno.
41558 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
41560         [BZ #11724]
41561         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41562         of constructors.
41563         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41564         of destructors.
41565         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41567         [BZ #11724]
41568         * elf/Makefile: Add rules to build and run new test.
41569         * elf/tst-initorder.c: New file.
41570         * elf/tst-initorder.exp: New file.
41571         * elf/tst-initordera1.c: New file.
41572         * elf/tst-initordera2.c: New file.
41573         * elf/tst-initordera3.c: New file.
41574         * elf/tst-initordera4.c: New file.
41575         * elf/tst-initorderb1.c: New file.
41576         * elf/tst-initorderb2.c: New file.
41577         * elf/tst-order-a1.c: New file.
41578         * elf/tst-order-a2.c: New file.
41579         * elf/tst-order-a3.c: New file.
41580         * elf/tst-order-a4.c: New file.
41581         * elf/tst-order-b1.c: New file.
41582         * elf/tst-order-b2.c: New file.
41583         * elf/tst-order-main.c: New file.
41584         New test case by George Gensure <werkt0@gmail.com>.
41586 2010-10-01  Andreas Schwab  <schwab@redhat.com>
41588         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41589         decoding ACE if AI_CANONIDN.
41591 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
41593         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41595 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
41597         * version.h (RELEASE): Bump for 2.13 release.
41598         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41600         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41602         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41603         MADV_NOHUGEPAGE.
41604         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41605         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41606         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41607         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41608         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41609         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41611         * posix/getconf.c: Update copyright year.
41612         * catgets/gencat.c: Likewise.
41613         * csu/version.c: Likewise.
41614         * debug/catchsegv.sh: Likewise.
41615         * debug/xtrace.sh: Likewise.
41616         * elf/ldconfig.c: Likewise.
41617         * elf/ldd.bash.in: Likewise.
41618         * elf/sprof.c (print_version): Likewise.
41619         * iconv/iconv_prog.c: Likewise.
41620         * iconv/iconvconfig.c: Likewise.
41621         * locale/programs/locale.c: Likewise.
41622         * locale/programs/localedef.c: Likewise.
41623         * malloc/memusage.sh: Likewise.
41624         * malloc/mtrace.pl: Likewise.
41625         * nscd/nscd.c (print_version): Likewise.
41626         * nss/getent.c: Likewise.
41628         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41629         PF_CAIF, and PF_ALG.
41630         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41632 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
41634         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41635         (modules-names): Use them.
41636         (ifunc-test-modules, ifunc-pie-tests): Define.
41637         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41638         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41639         (test-extras): Likewise.
41640         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41641         $(compile-command.c).
41642         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41643         (all-built-dso): Define.
41644         (check-textrel.out, check-execstack.out): Depend on it.
41646         * configure.in: Don't override --enable-multi-arch.
41648 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
41650         [BZ #6812]
41651         * nscd/hstcache.c (tryagain): Define.
41652         (cache_addhst): Return tryagain not notfound for temporary errors.
41653         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41654         failed.
41656 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
41658         [BZ #10563]
41659         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41660         to make the syscall.
41661         * sysdeps/unix/sysv/linux/setgroups.c: New file.
41663         [BZ #12378]
41664         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41665         and fall back to matching as normal character if the string ends before
41666         the matching ']' is found.  This is what POSIX requires.
41667         * posix/testfnm.c: Adjust test result.
41668         * posix/globtest.sh: Adjust test result.  Add new test.
41669         * posix/tst-fnmatch.input: Likewise.
41670         * posix/tst-fnmatch2.c: Add new test.
41672 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
41674         * elf/Makefile (check-execstack): Revert last change.  Depend on
41675         check-execstack.h.
41676         (check-execstack.h): New target.
41677         (generated): Add check-execstack.h.
41678         * elf/check-execstack.c: Include "check-execstack.h".
41679         (main): Revert last change.
41680         (handle_file): Return zero if GNU_STACK is absent and
41681         DEFAULT_STACK_PERMS doesn't include PF_X.
41683 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
41685         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41686         in child fails because the descriptor is already closed.
41687         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41688         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41689         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41691         [BZ #12397]
41692         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41693         syscall.
41695         [BZ #10484]
41696         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41697         temporary buffer used to handle multi lookups locally.
41698         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41700 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
41702         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41703         loader is ld.so.
41705 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
41707         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41708         alignment for SSE2.
41710 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
41712         [BZ #12394]
41713         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41714         characters.  When rounding increased number of integer digits recompute
41715         number of groups.
41716         * stdio-common/tst-grouping.c: New file.
41717         * stdio-common/Makefile: Add rules to build and run tst-grouping.
41719 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
41721         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41722         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
41724         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41725         void.
41726         * bits/select.h: Likewise.
41728 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
41730         * po/ja.po: Update from translation team.
41732 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
41734         [BZ #11155]
41735         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41736         implementation just like for lxstat, fxstatat, et al.
41738 2010-12-27  Jim Meyering  <meyering@redhat.com>
41740         [BZ #12348]
41741         * posix/regexec.c (build_trtable): Return failure indication upon
41742         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
41744 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
41746         [BZ #12201]
41747         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41748         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41749         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41750         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41752         [BZ #12207]
41753         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41755         [BZ #12204]
41756         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41757         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41759 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
41761         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41762         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41763         script has SORT_BY_INIT_PRIORITY.
41764         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41765         NO_CTORS_DTORS_SECTIONS is defined.
41766         * elf/soinit.c: Likewise.
41767         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41768         NO_CTORS_DTORS_SECTIONS is defined.
41769         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41770         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41771         * sysdeps/sh/init-first.c: Likewise.
41772         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41774 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
41776         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41777         always use the slow path.
41779 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
41781         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41782         similar rule which adds the sysdep directories to the header search in
41783         order to pick up the correct platform stackinfo.h.
41784         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41785         perform test if it is, otherwise return successfully without testing.
41786         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41787         DEFAULT_STACK_PERMS define in stackinfo.h.
41788         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41789         defined in stackinfo.h.
41790         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41791         DEFAULT_STACK_PERMS defined in stackinfo.h.
41792         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41793         * sysdeps/ia64/stackinfo.h: Likewise.
41794         * sysdeps/s390/stackinfo.h: Likewise.
41795         * sysdeps/sh/stackinfo.h: Likewise.
41796         * sysdeps/sparc/stackinfo.h: Likewise.
41797         * sysdeps/x86_64/stackinfo.h: Likewise.
41798         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41799         PF_X for powerpc64.  Retain PF_X for powerpc32.
41801 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
41803         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41804         accurately.
41805         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41806         GETDENTS_64BIT_ALIGNED.
41808 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
41810         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
41812 2010-12-10  Andreas Schwab  <schwab@redhat.com>
41814         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41815         _GNU_SOURCE.
41817         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41818         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41819         Remove __restrict.
41820         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41821         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41823 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
41825         [BZ #11655]
41826         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41827         are initialized.
41829 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
41831         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41833 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
41835         * po/it.po: Update from translation team.
41837 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
41839         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41840         unused codes.
41842 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
41844         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41846 2010-11-24  Andreas Schwab  <schwab@redhat.com>
41848         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41849         specially.
41850         (gaih_getanswer_slice): Likewise.
41852 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
41854         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41856 2010-05-31  Petr Baudis  <pasky@suse.cz>
41858         [BZ #11149]
41859         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41860         silently even in the chroot mode.
41862 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
41864         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41865         last patch a bit.  Pretty printing
41867 2010-05-31  Petr Baudis <pasky@suse.cz>
41869         [BZ #10085]
41870         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41871         initialization of skip_initgroups_dyn.
41873 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
41875         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41876         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41878 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
41880         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41882 2010-11-11  Andreas Schwab  <schwab@redhat.com>
41884         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41885         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41886         (tst-fnmatch-ENV): Set MALLOC_TRACE.
41887         ($(objpfx)tst-fnmatch-mem): New rule.
41888         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41889         * posix/tst-fnmatch.c (main): Call mtrace.
41891 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
41893         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41894         Support Intel processor model 6 and model 0x2c.
41896 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
41898         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41899           signed comparison.
41901 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
41903         [BZ #12205]
41904         * string/test-strncasecmp.c (check_result): New function.
41905         (do_one_test): Use it.
41906         (check1): New function.
41907         (test_main): Use it.
41908         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41909         Support strcasecmp and strncasecmp.
41911 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
41913         [BZ #12194]
41914         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41915         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41917 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
41919         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41920         IFUNC support.
41921         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41922         memset-x86-64.
41923         * sysdeps/x86_64/multiarch/bzero.S: New file.
41924         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41925         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41926         * sysdeps/x86_64/multiarch/memset.S: New file.
41927         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41928         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41929         Set bit_Prefer_SSE_for_memop for Intel processors.
41930         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41931         Define.
41932         (index_Prefer_SSE_for_memop): Define.
41933         (HAS_PREFER_SSE_FOR_MEMOP): Define.
41935 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
41937         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41938         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41940 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
41942         [BZ #12191]
41943         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41944         (__x86_64_raw_data_cache_size_half): Likewise.
41945         (__x86_64_raw_shared_cache_size): Likewise.
41946         (__x86_64_raw_shared_cache_size_half): Likewise.
41948         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41949         (__x86_64_raw_data_cache_size_half): Likewise.
41950         (__x86_64_raw_shared_cache_size): Likewise.
41951         (__x86_64_raw_shared_cache_size_half): Likewise.
41952         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41953         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41954         and __x86_64_raw_shared_cache_size_half.  Round
41955         __x86_64_data_cache_size_half, __x86_64_data_cache_size
41956         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41957         to multiple of 256 bytes.
41959 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
41961         [BZ #12167]
41962         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41963         of inacessible symlinks.  Verify result of symlink before returning it.
41964         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41965         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41967 2010-10-28  Erich Ritz  <erichritz@gmail.com>
41969         * math/math.h (isinf): Fix typo in comment.
41971 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
41973         * po/da.po: Update from translation team.
41975 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
41977         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41978         is added to the list.
41980 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41981             Ulrich Drepper  <drepper@gmail.com>
41983         * elf/dl-object.c (_dl_new_object): Don't append the new object to
41984         the global list here.  Move code to...
41985         (_dl_add_to_namespace_list): ...here.  New function.
41986         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41987         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41988         * elf/dl-load.c (lose): Don't remove the element from the list.
41989         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41990         (_dl_map_object): Likewise.
41992 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
41994         [BZ #12159]
41995         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41996         into all bytes of SSE register.
41997         Patch by Richard Li <richardpku@gmail.com>.
41999 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
42001         [BZ #12140]
42002         * malloc/malloc.c (_int_free): Fill correct number of bytes when
42003         perturbing.
42005 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
42007         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42008         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42009         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42010         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42012         submachine.
42013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42015 2010-10-22  Andreas Schwab  <schwab@redhat.com>
42017         * include/dlfcn.h (__RTLD_SECURE): Define.
42018         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
42019         mode & __RTLD_SECURE instead.
42020         (open_path): Rename preloaded parameter to secure.
42021         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42022         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42023         * elf/dl-deps.c (openaux): Likewise.
42024         * elf/rtld.c (struct map_args): Remove is_preloaded.
42025         (map_doit): Don't use it.
42026         (dl_main): Likewise.
42027         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42028         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42030 2010-09-09  Andreas Schwab  <schwab@redhat.com>
42032         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42033         (sysd-rules-targets): Remove duplicates.
42034         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42035         rtld-%.$o dependency.
42037 2010-10-18  Andreas Schwab  <schwab@redhat.com>
42039         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42040         _dl_map_object do it.
42042 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
42044         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42045         fast fma builtins, define the macros in the C99 standard.
42046         (FP_FAST_FMAF): Likewise.
42047         (FP_FAST_FMAL): Likewise.
42048         * sysdeps/x86_64/bits/mathdef.h: Likewise.
42050         * bits/mathdef.h: Update copyright year.
42051         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42053 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
42055         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42056         builtins, define the macros in the C99 standard.
42057         (FP_FAST_FMAF): Likewise.
42058         (FP_FAST_FMAL): Likewise.
42059         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42060         multiply/add.
42061         (FP_FAST_FMAF): Likewise.
42063 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
42065         [BZ #3268]
42066         * math/libm-test.inc (fma_test): Some new testcases.
42067         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42068         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42069         y and infinite z.  Do multiplication by C already in long double.
42070         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42071         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42072         y and infinite z.  Do bitwise or of inexact bit into u.d.
42073         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42074         * sysdeps/i386/fpu/s_fmaf.S: Removed.
42075         * sysdeps/i386/fpu/s_fma.S: Removed.
42076         * sysdeps/i386/fpu/s_fmal.S: Removed.
42078 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
42080         [BZ #3268]
42081         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42082         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42083         computation is not scheduled after fetestexcept.  Fix value
42084         of minimum denormal long double.
42086 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
42088         [BZ #3268]
42089         * math/libm-test.inc (fma_test): Add some more tests.
42090         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42091         correctly.
42093 2010-10-15  Andreas Schwab  <schwab@redhat.com>
42095         * scripts/data/localplt-s390-linux-gnu.data: New file.
42096         * scripts/data/localplt-s390x-linux-gnu.data: New file.
42098 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
42100         [BZ #3268]
42101         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42102         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42103         instead of dbl-64.
42104         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42105         inlines.
42106         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42107         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42108         if one of x and y is very large and the other is subnormal.
42109         * sysdeps/s390/fpu/s_fmaf.c: New file.
42110         * sysdeps/s390/fpu/s_fma.c: New file.
42111         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42112         * sysdeps/powerpc/fpu/s_fma.S: New file.
42113         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42114         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42115         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42117 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
42119         [BZ #3268]
42120         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42121         fma tests.
42122         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42123         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42124         * sysdeps/i386/i686/multiarch/s_fma.c: Include
42125         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42126         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42127         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42128         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42130 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
42132         [BZ #12078]
42133         * posix/regcomp.c (parse_branch): One more memory leak plugged.
42134         * posix/bug-regex31.input: Add test case.
42136 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
42138         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42139         * posix/bug-regex31.input: New file.
42141         [BZ #12078]
42142         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42143         (parse_sub_exp): Fix last change, use postorder.
42145         * posix/bug-regex31.c: New file.
42146         * posix/Makefile: Add rules to build and run bug-regex31.
42148         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42150         [BZ #12078]
42151         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42153         [BZ #12108]
42154         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42155         to have entries in sys_siglist.
42157         [BZ #12093]
42158         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42159         be NULL.
42161 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
42163         [BZ #3268]
42164         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42165         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42166         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42167         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42168         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42169         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42170         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42171         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42172         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42173         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42174         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42175         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42176         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42177         * math/ftestexcept.c (fetestexcept): Likewise.
42178         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42179         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42180         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42181         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42182         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42183         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42184         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42186 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
42188         [BZ #12107]
42189         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42190         newline.
42192 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
42194         * string/bug-strstr1.c: New file.
42195         * string/Makefile: Add rules to build and run bug-strstr1.
42197 2010-10-05  Eric Blake  <eblake@redhat.com>
42199         [BZ #12092]
42200         * string/str-two-way.h (two_way_long_needle): Always clear memory
42201         when skipping input due to the shift table.
42203 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
42205         [BZ #12005]
42206         * malloc/mcheck.c: Handle large requests.
42208         [BZ #12077]
42209         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42210         for strncmp and strncasecmp.
42211         * string/stratcliff.c: Add tests for strcmp and strncmp.
42212         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42214 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42216         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42217         __set_fpscr.
42219 2010-09-30  Andreas Jaeger  <aj@suse.de>
42221         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42222         (CGROUP_SUPER_MAGIC): Define.
42223         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42224         Handle btrfs and cgroup file systems.
42225         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42226         Likewise.
42228 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
42230         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42231         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42233 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42235         [BZ #12067]
42236         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42237         trying to locate the ELF header.
42239 2010-09-27  Andreas Schwab  <schwab@redhat.com>
42241         [BZ #11611]
42242         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42243         Mask out sign-bit copies when constructing f_fsid.
42245 2010-09-24  Petr Baudis <pasky@suse.cz>
42247         * debug/stack_chk_fail_local.c: Add missing licence exception.
42248         * debug/warning-nop.c: Likewise.
42250 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
42252         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42253         implementing getdents64 using getdents syscall, set d_type if
42254         __ASSUME_GETDENTS32_D_TYPE.
42256 2010-09-16  Andreas Schwab  <schwab@redhat.com>
42258         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42259         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42261 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
42263         [BZ #12037]
42264         * posix/unistd.h: Undo change of feature selection for ftruncate from
42265         2010-01-11.
42267 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
42269         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42270         detection.
42272 2010-09-20  Andreas Schwab  <schwab@redhat.com>
42274         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42275         fanotify_mark.
42276         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42278 2010-09-14  Andreas Schwab  <schwab@redhat.com>
42280         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42281         variables after CHECK_SP call.
42282         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42284 2010-09-13  Andreas Schwab  <schwab@redhat.com>
42285             Ulrich Drepper  <drepper@redhat.com>
42287         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42288         re-relocationg ld.so.
42289         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42290         _dl_init_paths call.
42291         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
42292         here anymore.
42294 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
42296         * resolv/res_init.c (__res_vinit): Count the default server we added.
42298 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
42299             Ulrich Drepper  <drepper@redhat.com>
42301         [BZ #11968]
42302         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42303         (____longjmp_chk): Use %ebx for saving value across system call.
42304         Add unwind info.
42306 2010-09-06  Andreas Schwab  <schwab@redhat.com>
42308         * manual/Makefile: Don't mix pattern rules with normal rules.
42310 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
42312         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42313         operation.
42314         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42315         * libio/iofopncook.c (_IO_cookie_init): Likewise.
42316         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42317         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42318         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42319         Likewise.
42321 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
42323         [BZ #11979]
42324         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42325         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42327 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
42329         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42330         * sysdeps/x86_64/addmul_1.S: Likewise.
42331         * sysdeps/x86_64/lshift.S: Likewise.
42332         * sysdeps/x86_64/mul_1.S: Likewise.
42333         * sysdeps/x86_64/rshift.S: Likewise.
42334         * sysdeps/x86_64/sub_n.S: Likewise.
42335         * sysdeps/x86_64/submul_1.S: Likewise.
42337 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42339         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42340         Define __sched_param instead of SCHED_* and sched_param when
42341         <bits/sched.h> is included with __need_schedparam defined.
42342         * bits/sched.h [__need_schedparam]
42343         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42344         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42345         (__defined_schedparam): Define to 1.
42346         (__sched_param): New structure, identical to sched_param.
42347         (__need_schedparam): Undefine.
42349 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
42351         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42352         (epoll_create1): Declare.
42354         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42356 2010-08-31  Andreas Schwab  <schwab@redhat.com>
42358         [BZ #7066]
42359         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42360         shifting retval into place.
42362 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
42364         * nis/rpcsvc/nis.h: Update copyright notice.
42365         * nis/rpcsvc/nis.x: Likewise.
42366         * nis/rpcsvc/nis_callback.h: Likewise.
42367         * nis/rpcsvc/nis_callback.x: Likewise.
42368         * nis/rpcsvc/nis_object.x: Likewise.
42369         * nis/rpcsvc/nis_tags.h: Likewise.
42370         * nis/rpcsvc/yp.h: Likewise.
42371         * nis/rpcsvc/yp.x: Likewise.
42372         * nis/rpcsvc/ypupd.h: Likewise.
42373         * nis/yp_xdr.c: Likewise.
42374         * nis/ypupdate_xdr.c: Likewise.
42376         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
42377         mainly the body of pmap_getport.  Add parameters to specify timeouts.
42378         (pmap_getport): Use __libc_rpc_getport.
42379         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42380         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42381         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42383 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
42385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42386         fanotify_mark.
42388 2010-08-27  Roland McGrath  <roland@redhat.com>
42390         * sysdeps/i386/i686/multiarch/Makefile
42391         (CFLAGS-varshift.c): New variable.
42393 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
42395         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42396         * sysdeps/i386/i686/multiarch/varshift.c: New file.
42398         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42400         * sysdeps/x86_64/strlen.S: Minimal code improvement.
42402 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
42404         * sysdeps/x86_64/strlen.S: Unroll the loop.
42405         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42406         strlen-sse2 strlen-sse2-bsf.
42407         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42408         __strlen_no_bsf if bit_Slow_BSF is set.
42409         (__strlen_sse42): Removed.
42410         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42411         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42413 2010-08-25  Roland McGrath  <roland@redhat.com>
42415         * sysdeps/x86_64/multiarch/varshift.S: File removed.
42416         * sysdeps/x86_64/multiarch/varshift.c: New file.
42417         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42418         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42419         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42420         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42422 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
42424         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42425         strlen-sse2 strlen-sse2-bsf.
42426         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42427         __strlen_sse2_bsf if bit_Slow_BSF is unset.
42428         (__strlen_sse2): Removed.
42429         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42430         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42431         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42432         bit_Slow_BSF for Atom.
42433         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42434         (index_Slow_BSF): Define.
42435         (HAS_SLOW_BSF): Define.
42437 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
42439         [BZ #10851]
42440         * resolv/res_init.c (__res_vinit): When no server address at all
42441         is given default to loopback.
42443 2010-08-24  Roland McGrath  <roland@redhat.com>
42445         * configure.in: Remove config-name.h generation.
42446         * configure: Regenerated.
42447         * config-name.in: File removed.
42448         * scripts/config-uname.sh: New file.
42449         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42450         ($(objdir)config-name.h): New target.
42452         * sunrpc/rpc_parse.h: Avoid nested comment.
42454 2010-08-24  Richard Henderson  <rth@redhat.com>
42455             Ulrich Drepper  <drepper@redhat.com>
42456             H.J. Lu  <hongjiu.lu@intel.com>
42458         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42459         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42460         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42461         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
42462         _mm_alignr_epi8 with _mm_loadu_si128.
42463         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42464         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42465         (__m128i_shift_right): Removed.
42466         * sysdeps/i386/i686/multiarch/varshift.h: New file.
42467         * sysdeps/i386/i686/multiarch/varshift.S: New file.
42468         * sysdeps/x86_64/multiarch/varshift.h: New file.
42469         * sysdeps/x86_64/multiarch/varshift.S: New file.
42471 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
42473         * configure.in: Move assembler checks to before sysdep dir checking.
42475 2010-08-20  Petr Baudis  <pasky@suse.cz>
42477         * LICENSES: Sync the sunrpc license.
42479 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
42481         * sunrpc/auth_des.c: Update copyright notice once again.
42482         * sunrpc/auth_none.c: Likewise.
42483         * sunrpc/auth_unix.c: Likewise.
42484         * sunrpc/authdes_prot.c: Likewise.
42485         * sunrpc/authuxprot.c: Likewise.
42486         * sunrpc/bindrsvprt.c: Likewise.
42487         * sunrpc/clnt_gen.c: Likewise.
42488         * sunrpc/clnt_perr.c: Likewise.
42489         * sunrpc/clnt_raw.c: Likewise.
42490         * sunrpc/clnt_simp.c: Likewise.
42491         * sunrpc/clnt_tcp.c: Likewise.
42492         * sunrpc/clnt_udp.c: Likewise.
42493         * sunrpc/clnt_unix.c: Likewise.
42494         * sunrpc/des_crypt.c: Likewise.
42495         * sunrpc/des_soft.c: Likewise.
42496         * sunrpc/get_myaddr.c: Likewise.
42497         * sunrpc/getrpcport.c: Likewise.
42498         * sunrpc/key_call.c: Likewise.
42499         * sunrpc/key_prot.c: Likewise.
42500         * sunrpc/openchild.c: Likewise.
42501         * sunrpc/pm_getmaps.c: Likewise.
42502         * sunrpc/pm_getport.c: Likewise.
42503         * sunrpc/pmap_clnt.c: Likewise.
42504         * sunrpc/pmap_prot.c: Likewise.
42505         * sunrpc/pmap_prot2.c: Likewise.
42506         * sunrpc/pmap_rmt.c: Likewise.
42507         * sunrpc/rpc/auth.h: Likewise.
42508         * sunrpc/rpc/auth_unix.h: Likewise.
42509         * sunrpc/rpc/clnt.h: Likewise.
42510         * sunrpc/rpc/des_crypt.h: Likewise.
42511         * sunrpc/rpc/key_prot.h: Likewise.
42512         * sunrpc/rpc/netdb.h: Likewise.
42513         * sunrpc/rpc/pmap_clnt.h: Likewise.
42514         * sunrpc/rpc/pmap_prot.h: Likewise.
42515         * sunrpc/rpc/pmap_rmt.h: Likewise.
42516         * sunrpc/rpc/rpc.h: Likewise.
42517         * sunrpc/rpc/rpc_des.h: Likewise.
42518         * sunrpc/rpc/rpc_msg.h: Likewise.
42519         * sunrpc/rpc/svc.h: Likewise.
42520         * sunrpc/rpc/svc_auth.h: Likewise.
42521         * sunrpc/rpc/types.h: Likewise.
42522         * sunrpc/rpc/xdr.h: Likewise.
42523         * sunrpc/rpc_clntout.c: Likewise.
42524         * sunrpc/rpc_cmsg.c: Likewise.
42525         * sunrpc/rpc_common.c: Likewise.
42526         * sunrpc/rpc_cout.c: Likewise.
42527         * sunrpc/rpc_dtable.c: Likewise.
42528         * sunrpc/rpc_hout.c: Likewise.
42529         * sunrpc/rpc_main.c: Likewise.
42530         * sunrpc/rpc_parse.c: Likewise.
42531         * sunrpc/rpc_parse.h: Likewise.
42532         * sunrpc/rpc_prot.c: Likewise.
42533         * sunrpc/rpc_sample.c: Likewise.
42534         * sunrpc/rpc_scan.c: Likewise.
42535         * sunrpc/rpc_scan.h: Likewise.
42536         * sunrpc/rpc_svcout.c: Likewise.
42537         * sunrpc/rpc_tblout.c: Likewise.
42538         * sunrpc/rpc_util.c: Likewise.
42539         * sunrpc/rpc_util.h: Likewise.
42540         * sunrpc/rpcinfo.c: Likewise.
42541         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42542         * sunrpc/rpcsvc/key_prot.x: Likewise.
42543         * sunrpc/rpcsvc/klm_prot.x: Likewise.
42544         * sunrpc/rpcsvc/mount.x: Likewise.
42545         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42546         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42547         * sunrpc/rpcsvc/rex.x: Likewise.
42548         * sunrpc/rpcsvc/rstat.x: Likewise.
42549         * sunrpc/rpcsvc/rusers.x: Likewise.
42550         * sunrpc/rpcsvc/sm_inter.x: Likewise.
42551         * sunrpc/rpcsvc/spray.x: Likewise.
42552         * sunrpc/rpcsvc/yppasswd.x: Likewise.
42553         * sunrpc/rtime.c: Likewise.
42554         * sunrpc/svc.c: Likewise.
42555         * sunrpc/svc_auth.c: Likewise.
42556         * sunrpc/svc_authux.c: Likewise.
42557         * sunrpc/svc_raw.c: Likewise.
42558         * sunrpc/svc_run.c: Likewise.
42559         * sunrpc/svc_simple.c: Likewise.
42560         * sunrpc/svc_tcp.c: Likewise.
42561         * sunrpc/svc_udp.c: Likewise.
42562         * sunrpc/svc_unix.c: Likewise.
42563         * sunrpc/svcauth_des.c: Likewise.
42564         * sunrpc/xcrypt.c: Likewise.
42565         * sunrpc/xdr.c: Likewise.
42566         * sunrpc/xdr_array.c: Likewise.
42567         * sunrpc/xdr_float.c: Likewise.
42568         * sunrpc/xdr_mem.c: Likewise.
42569         * sunrpc/xdr_rec.c: Likewise.
42570         * sunrpc/xdr_ref.c: Likewise.
42571         * sunrpc/xdr_sizeof.c: Likewise.
42572         * sunrpc/xdr_stdio.c: Likewise.
42574         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42575         handling.
42577 2010-08-19  Andreas Schwab  <schwab@redhat.com>
42579         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42581 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
42583         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42584         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42585         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42586         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42587         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42588         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42589         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42590         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42591         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42592         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42593         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42594         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42595         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42596         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42598 2010-07-26  Anton Blanchard  <anton@samba.org>
42600         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42601         * malloc/arena.c (heap_trim): Likewise.
42603 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
42605         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42606         here.  Not...
42607         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42608         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42610 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
42612         * sysdeps/i386/elf/Makefile: New file.
42614 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
42616         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42617         from fanotify_init.
42618         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42619         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42621 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
42623         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42624         of strncasecmp_l.
42625         * sysdeps/multiarch/strcmp.S: Likewise.
42627 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
42629         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42630         strncase_l-nonascii.
42631         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42632         Add strncase_l-ssse3.
42633         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42634         * sysdeps/x86_64/strcmp.S: Likewise.
42635         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42636         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42637         * sysdeps/x86_64/strncase.S: New file.
42638         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42639         * sysdeps/x86_64/strncase_l.S: New file.
42640         * string/Makefile (strop-tests): Add strncasecmp.
42641         * string/test-strncasecmp.c: New file.
42643         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42644         warning.
42646         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42647         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42649 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
42651         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42653 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
42655         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42656         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42657         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42659 2010-05-01  Alan Modra  <amodra@gmail.com>
42661         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42662         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42663         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42664         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42665         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42666         tidying.  Don't tail-call __sigjmp_save for static lib.
42667         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42668         save location.
42669         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42670         (CALL_MCOUNT): Add eh info, and nop after bl.
42671         (TAIL_CALL_SYSCALL_ERROR): New macro.
42672         (PSEUDO_RET): Use it.
42673         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42674         Correct save location of integer regs and cr.
42675         (_dl_profile_resolve): Correct cr save location.  Delete nops
42676         after bl when SHARED.  Reduce cfi size a little by better
42677         placement of cfi directives.
42678         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42679         make a stack frame.  Instead use parm save area as a temp.
42680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42681         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
42682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42683         Don't make a stack frame for parent, use parm save area.
42684         Increase child stack frame to 112 bytes.  Don't save unused reg,
42685         and adjust reg usage.  Set up cfi on error recovery and
42686         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42688         (__makecontext): Add dummy nop after jump to exit.
42689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42690         Use correct parm save area and cr save, reduce stack frame.
42691         Correct cfi for possible PSEUDO_RET frame setup.
42692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42693         Branch to local label emitted by PSEUDO_RET rather than
42694         __syscall_error.
42696 2010-08-12  Andreas Schwab  <schwab@redhat.com>
42698         [BZ #11904]
42699         * locale/programs/locale.c (print_assignment): New function.
42700         (show_locale_vars): Use it.
42702 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
42704         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42705         field.
42706         (struct statfs64): Likewise.
42707         (_STATFS_F_FLAGS): Define.
42708         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42709         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42710         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42711         (ST_VALID): Define locally.
42712         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42713         __statvfs_getflags, use the provided value.
42714         * sysdeps/unix/sysv/linux/kernel-features.h: Define
42715         __ASSUME_STATFS_F_FLAGS.
42717         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42719         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42720         Add sys/fanotify.h.
42721         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42722         fanotify_mask for GLIBC_2.13.
42723         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42724         fanotify_init and fanotify_mark.
42725         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42726         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42728         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42729         Add prlimit.
42730         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42731         prlimit64 for GLIBC_2.13.
42732         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42733         prlimit64.
42734         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42735         syscall.
42736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42737         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42738         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42739         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42740         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
42741         add prlimit alias.
42742         * sysdeps/unix/sysv/linux/prlimit.c: New file.
42744         [BZ #11903]
42745         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42746         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42748         * nss/Makefile: Add rules to build and run tst-nss-test1.
42749         * shlib-versions: Add entry for libnss_test1.
42750         * nss/nss_test1.c: New file.
42751         * nss/tst-nss-test1.c: New file.
42753         * nss/nsswitch.c (__nss_database_custom): Define new variable.
42754         (__nss_configure_lookup): Set appropriate entry in
42755         __nss_configure_lookup to true.
42756         * nss/nsswitch.h: Define enum with indeces of databases in
42757         databases and __nss_database_custom arrays.  Declare
42758         __nss_database_custom.
42759         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42760         to avoid using nscd when custom rules are installed.
42761         * nss/getXXbyYY_r.c: Likewise.
42762         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42764         * nss/nss_files/files-parse.c: Whitespace fixes.
42766 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
42768         [BZ #11883]
42769         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42770         * posix/fnmatch_loop.c: Likewise.
42772 2010-07-17  Andi Kleen  <ak@linux.intel.com>
42774         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42775         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42776         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42777         * Versions.def [GLIBC_2.13]: Add.
42779 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
42781         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42782         Also fail if tpwd after pwuid call is NULL.
42784 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42786         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42787         when converting to ms.
42789 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42791         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42792         EOPNOTSUPP errors with ENOTTY.
42793         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42794         EOPNOTSUPP errors with ENOTTY.
42796 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
42798         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42799         Add strcasecmp_l-ssse3.
42800         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42801         strcasecmp.
42802         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42803         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42804         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42806 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
42808         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42810         * string/Makefile (strop-tests): Add strcasecmp.
42811         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42812         strcasecmp_l-nonascii.
42813         (gen-as-const-headers): Add locale-defines.sym.
42814         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42815         * sysdeps/x86_64/strcasecmp.S: New file.
42816         * sysdeps/x86_64/strcasecmp_l.S: New file.
42817         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42818         * sysdeps/x86_64/locale-defines.sym: New file.
42819         * string/test-strcasecmp.c: New file.
42821         * string/test-strcasestr.c: Test both ends of the range of characters.
42822         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42824 2010-07-29  Roland McGrath  <roland@redhat.com>
42826         [BZ #11856]
42827         * manual/locale.texi (Yes-or-No Questions): Fix example code.
42829 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
42831         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42832         for ld.so.
42834 2010-07-27  Andreas Schwab  <schwab@redhat.com>
42836         * manual/memory.texi (Malloc Tunable Parameters): Document
42837         M_PERTURB.
42839 2010-07-26  Roland McGrath  <roland@redhat.com>
42841         [BZ #11840]
42842         * configure.in (-fgnu89-inline check): Set and substitute
42843         gnu89_inline, not libc_cv_gnu89_inline.
42844         * configure: Regenerated.
42845         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42847 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
42849         * string/test-strnlen.c: New file.
42850         * string/Makefile (strop-tests): Add strnlen.
42851         * string/tester.c (test_strnlen): Add a few more test cases.
42852         * string/tst-strlen.c: Better error reporting.
42854         * sysdeps/x86_64/strnlen.S: New file.
42856 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
42858         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42859         lower-latency instructions.
42861 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
42863         * string/test-strcasestr.c: New file.
42864         * string/test-strstr.c: New file.
42865         * string/Makefile (strop-tests): Add strstr and strcasestr.
42866         * string/str-two-way.h: Don't undefine MAX.
42867         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42869 2010-07-21  Andreas Schwab  <schwab@redhat.com>
42871         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42872         strcasestr-nonascii.
42873         (CFLAGS-strcasestr-nonascii.c): Define.
42874         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42875         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42876         Remove unused attribute.
42878 2010-07-20  Roland McGrath  <roland@redhat.com>
42880         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42881         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
42882         ld.so.cache was broken.  With it, there is no way to disable dsocaps
42883         like LD_HWCAP_MASK can disable hwcaps.
42885 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
42887         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42889 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
42891         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42892         call in strcasestr.
42893         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42894         __strcasestr_sse42_nonascii.
42895         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42896         strcasestr-nonascii.c.
42897         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42899 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
42901         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42902         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42903         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42904         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42906 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
42908         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42909         fcntl.
42911 2010-07-06  Andreas Schwab  <schwab@redhat.com>
42913         [BZ #11577]
42914         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42915         dl_signal_cerror.
42917 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
42919         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42920         _PC_PIPE_BUF using F_GETPIPE_SZ.
42922 2010-07-05  Roland McGrath  <roland@redhat.com>
42924         * manual/arith.texi (Rounding Functions): Fix rint description
42925         implicit in round description.
42927 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
42929         * elf/Makefile: Fix linking for a few tests to make recent linker
42930         happy.
42932 2010-06-30  Andreas Schwab  <schwab@redhat.com>
42934         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42935         $(common-objpfx)libc_nonshared.a.
42937 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
42939         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42940         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42941         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42942         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42943         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42944         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42945         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42946         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42961         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42962         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42963         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42964         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42965         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42966         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42967         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42968         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42969         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42970         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42971         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42972         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42988 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
42990         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42991         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
42992         * string/memmove.c (memmove): Renamed to ...
42993         (MEMMOVE): ...this.  Default to memmove.
42994         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42995         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42996         (END_CHK): Define.
42997         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42998         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42999         mempcpy-ssse3-back memmove-ssse3-back.
43000         * sysdeps/x86_64/multiarch/bcopy.S: New file .
43001         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43002         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43003         * sysdeps/x86_64/multiarch/memcpy.S: New file.
43004         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43005         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43006         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43007         * sysdeps/x86_64/multiarch/memmove.c: New file.
43008         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43009         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43010         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43011         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43012         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43013         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43014         Define.
43015         (index_Fast_Copy_Backward): Define.
43016         (HAS_ARCH_FEATURE): Define.
43017         (HAS_FAST_REP_STRING): Define.
43018         (HAS_FAST_COPY_BACKWARD): Define.
43020 2010-06-21  Andreas Schwab  <schwab@redhat.com>
43022         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43023         Restore proper fallback handling.
43025 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
43027         [BZ #11701]
43028         * posix/group_member.c (__group_member): Correct checking loop.
43030         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43031         OOM in getpwuid_r correctly.  Return error number when the caller
43032         should return, otherwise -1.
43033         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43034         call returning > 0 value.
43035         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43037 2010-06-07  Andreas Schwab  <schwab@redhat.com>
43039         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43040         libc_nonshared.a from targets in modules-names.
43042 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
43044         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43045         requires it.
43047 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
43049         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43050         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43051         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43052         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43054 2010-06-02  Andreas Schwab  <schwab@redhat.com>
43056         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43058 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
43060         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43061         and F_GETPIPE_SZ.
43062         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43063         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43064         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43065         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43066         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43067         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43069 2010-06-14  Roland McGrath  <roland@redhat.com>
43071         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43073 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
43075         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43076         __REDIRECT followed by __THROW.
43077         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43078         * posix/getopt.h (getopt): Likewise.
43080 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
43082         * hurd/lookup-at.c (__file_name_lookup_at): Accept
43083         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
43084         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43085         in AT_FLAGS.
43086         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43087         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43089 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
43091         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43093 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
43095         [BZ #11640]
43096         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43097         Properly check family and model.
43099 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
43101         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43103 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
43105         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43107 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
43109         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43110         symbol reference.
43112 2010-05-19  Andreas Schwab  <schwab@redhat.com>
43114         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43115         symbol reference.
43117 2010-05-21  Andreas Schwab  <schwab@redhat.com>
43119         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43120         and internal_recvmmsg.
43121         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43122         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43123         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43124         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43126         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43127         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43128         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43130 2010-05-20  Andreas Schwab  <schwab@redhat.com>
43132         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43134 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
43136         POWER7 optimizations.
43137         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43138         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43140 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
43142         * version.h: Update for 2.13 development version.
43144 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
43146         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43147         exceptions.  Return 0.
43149 2010-05-07  Roland McGrath  <roland@redhat.com>
43151         * elf/ldconfig.c (main): Add a const.
43153 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
43155         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43156         (args_options): Add no-idn option.
43157         (ahosts_keys_int): Add idn_flags to ai_flags.
43158         (parse_option): Handle 'i' option to clear idn_flags.
43160         * malloc/malloc.c (_int_free): Possible race in the most recently
43161         added check.  Only act on the data if no current modification
43162         happened.
43164 See ChangeLog.17 for earlier changes.