Add x86 init-arch to nptl
[glibc.git] / ChangeLog
blob985502fb6c62af19faa2812e8955f8617ba56b1a
1 2013-07-03  Allan McRae  <allan@archlinux.org>
3         * sysdeps/i386/fpu/libm-test-ulps: Update.
5 2013-07-02  David S. Miller  <davem@davemloft.net>
7         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
11         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
15         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18 2013-07-02  Andi Kleen <ak@linux.intel.com>
20         * config.h.in (ENABLE_LOCK_ELISION): Add.
21         * configure.in (--enable-lock-elision): Add option.
22         * manual/install.texi: Document --enable lock elision.
23         * configure: Regenerate
24         * INSTALL: Regenerate.
26 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
28         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
29         SSE4.2 strcasecmp for libc.a.
30         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
32 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
34         [BZ #13304]
35         * soft-fp/op-common.h (_FP_FMA): New macro.
36         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
37         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
38         (_FP_MUL_MEAT_1_imm): ... here.
39         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
40         (_FP_MUL_MEAT_1_wide): ... here.
41         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
42         (_FP_MUL_MEAT_1_hard): ... here.
43         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
44         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
45         (_FP_MUL_MEAT_2_wide): ... here.
46         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
47         (_FP_MUL_MEAT_2_wide_3mul): ... here.
48         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
49         (_FP_MUL_MEAT_2_gmp): ... here.
50         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
51         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
52         (_FP_MUL_MEAT_4_wide): ... here.
53         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
54         (_FP_MUL_MEAT_4_gmp): ... here.
55         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
56         (_FP_WFRACBITS_DW_S): Likewise.
57         (_FP_WFRACXBITS_DW_S): Likewise.
58         (_FP_HIGHBIT_DW_S): Likewise.
59         (FP_FMA_S): Likewise.
60         (_FP_FRAC_HIGH_DW_S): Likewise.
61         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
62         (_FP_WFRACBITS_DW_D): Likewise.
63         (_FP_WFRACXBITS_DW_D): Likewise.
64         (_FP_HIGHBIT_DW_D): Likewise.
65         (FP_FMA_D): Likewise.
66         (_FP_FRAC_HIGH_DW_D): Likewise.
67         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
68         (_FP_WFRACBITS_DW_E): Likewise.
69         (_FP_WFRACXBITS_DW_E): Likewise.
70         (_FP_HIGHBIT_DW_E): Likewise.
71         (FP_FMA_E): Likewise.
72         (_FP_FRAC_HIGH_DW_E): Likewise.
73         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
74         (_FP_WFRACBITS_DW_Q): Likewise.
75         (_FP_WFRACXBITS_DW_Q): Likewise.
76         (_FP_HIGHBIT_DW_Q): Likewise.
77         (FP_FMA_Q): Likewise.
78         (_FP_FRAC_HIGH_DW_Q): Likewise.
79         * soft-fp/fmasf4.c: New file.
80         * soft-fp/fmadf4.c: Likewise.
81         * soft-fp/fmatf4.c: Likewise.
83 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
86         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
87         Silvermont.
88         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
89         macro.
90         (index_Slow_SSE4_2): Likewise.
91         (index_Prefer_PMINUB_for_stringop): Likewise.
92         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
93         bit_Slow_SSE4_2 is set.
94         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
95         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
97 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
99         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
100         rtld_global._dl_hwcap2.
101         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
102         POWER8.
103         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
104         POWER8 feature descriptions defined in _dl_hwcap2.
105         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
106         string handling for POWER8 feature bits.
107         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
108         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
109         _dl_powerpc_cap_flags.
110         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
111         * sysdeps/powerpc/rtld-global-offsets.sym
112         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
113         _dl_hwcap2 in the rtld_global_ro structure.
115 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
117         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
118         hardware capabilities in support of AT_HWCAP2.
119         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
120         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
121         GLRO(dl_hwcap2).
122         (_dl_show_auxv): Add support for calling _dl_procinfo to display
123         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
124         explicitly the unknown a_type display mechanism is used.
125         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
126         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
127         struct member.
128         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
129         to macro prototype for AT_HWCAP2 support.
130         * sysdeps/i386/dl-procinfo.h: Likewise.
131         * sysdeps/s390/dl-procinfo.h: Likewise.
132         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
133         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
134         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
135         return -1 for unknown a_type display fallback.
136         * sysdeps/sparc/dl-procinfo.h: Likewise.
137         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
138         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
140 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
142         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
143         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
145 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
147         [BZ #12492]
148         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
149         mprotect making __stack_prot writable.
151 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
152             Joseph Myers  <joseph@codesourcery.com>
154         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
155         as being properly aligned.
157 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
159         * dlfcn/modstatic5.c: New file.
160         * dlfcn/tststatic5.c: New file.
161         * dlfcn/Makefile (tests): Add tststatic5.
162         (tests-static): Likewise.
163         (modules-names): Add modstatic5.
164         (tststatic5-ENV): New variable.
165         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
167         [BZ #15022]
168         * elf/dl-support.c (_dl_main_map): New variable.
169         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
170         (_dl_nns, _dl_load_adds): Set to 1.
171         (_dl_initial_searchlist): Refer to _dl_main_map.
172         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
173         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
174         call to _dl_get_origin.
175         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
176         around call_map.
177         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
178         * dlfcn/modstatic3.c: New file.
179         * dlfcn/tststatic3.c: New file.
180         * dlfcn/tststatic4.c: New file.
181         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
182         (tests-static): Likewise.
183         (modules-names): Add modstatic3.
184         (tststatic3-ENV, tststatic4-ENV): New variables.
185         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
186         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
188 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
190         * configure.in (CC): Require GCC version 4.4 or later.
191         * configure: Regenerated.
192         * manual/install.texi (Tools for Compilation): Update GCC version
193         requirement.
194         * INSTALL: Regenerated.
196 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
198         [BZ #15674]
199         * string/test-memcmp.c (check2): New.
200         (main): Call check2.
202         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
204 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
206         [BZ #15022]
207         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
208         over to...
209         (dl_open_worker) [!SHARED]: ... here.
211 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
213         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
215 2013-06-25  Richard Henderson  <rth@redhat.com>
217         * locale/programs/locarchive.c: Include <libc-internal.h>
219 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
221         * manual/texinfo.tex: Update to version 2013-06-21.17, with
222         trailing whitespace removed.
224 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
226         [BZ #10283]
227         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
228         * locale/programs/locarchive.c: Include libc-mmap.h.
229         (prepare_address_space): Take two new outputs (the mmap base and len).
230         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
231         values.
232         (create_archive): Declare new mmap base and len values for
233         prepare_address_space, and store the result in ah.
234         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
235         (enlarge_archive): If ah->mmap_base is not NULL, use that and
236         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
237         Declare new mmap base and len values for
238         prepare_address_space, and store the result in new_ah.
239         (open_archive): Declare new mmap base and len values for
240         prepare_address_space, and store the result in ah.
241         (close_archive): If ah->mmap_base is not NULL, use that and
242         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
243         * sysdeps/generic/libc-mmap.h: New file.
245 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
247         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
248         (ALIGN_UP): Likewise.
249         (PTR_ALIGN_DOWN): Likewise.
250         (PTR_ALIGN_UP): Likewise.
252 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
254         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
255         entry mapped to PPC_PLATFORM_POWER8.
256         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
257         POWER8.
258         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
259         (_dl_string_platform): Add case for exporting platform position for
260         POWER8.
261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
262         search path to sysdeps/powerpc/powerpc32/power8 directory.
263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
264         search path to sysdeps/powerpc/powerpc64/power8 directory.
265         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
266         power7 directories.
267         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
268         power7 directories.
270 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
272         * INSTALL: Regenerate.
274         * nscd/connections.c (nscd_init): Fix comment.
276 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
278         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
280         [BZ #15667]
281         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
282         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
284 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
286         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
287         DL_DST_REQ_STATIC.
288         (DL_DST_REQ_STATIC): Remove macro.
290 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
292         [BZ #7006]
293         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
294         with a shift of 0 bits.
296 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
298         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
299         $(tststatic-ENV).
301 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
303         [BZ #15655]
304         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
306 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
308         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
309         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
310         accepts -fno-tree-loop-distribute-patterns.
311         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
312         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
313         recursive call.
314         * string/memset.c (memset): Likewise.
315         * string/test-memmove.c (simple_memmove): Disable loop transformation
316         to library calls.
317         * string/test-memset.c (simple_memset): Likewise.
318         * benchtests/bench-memmove.c (simple_memmove): Likewise.
319         * benchtests/bench-memset.c (simple_memset): Likewise.
320         * configure: Regenerated.
322 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
324         * math/test-misc.c (main): Ignore fesetround failure when failures
325         of subsequent rounding tests would be ignored.
327         [BZ #15654]
328         * math/fedisblxcpt.c (fedisableexcept): Return 0.
329         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
330         * math/fegetenv.c (__fegetenv): Return 0.
331         * math/fegetexcept.c (fegetexcept): Return 0.
332         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
333         FE_TONEAREST.
334         * math/feholdexcpt.c (feholdexcept): Return 0.
335         * math/fesetenv.c (__fesetenv): Return 0.
336         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
337         argument FE_TONEAREST.
338         * math/feupdateenv.c (__feupdateenv): Return 0.
339         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
341 2013-06-18  Roland McGrath  <roland@hack.frob.com>
343         * elf/rtld-Rules (rtld-compile-command.S): New variable.
344         (rtld-compile-command.s, rtld-compile-command.c): New variables.
345         ($(objpfx)rtld-%.os rules): Use them.
347 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
349         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
350         fields.
352 2013-06-17  Roland McGrath  <roland@hack.frob.com>
354         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
355         length of target pattern, then descending length of dependency pattern.
356         * configure.in (AWK): Require gawk 3.1.2 or newer.
357         * manual/install.texi (Tools for Compilation): Say that we do.
358         * configure: Regenerated.
360         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
361         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
362         * scripts/sysd-rules.awk: ... this new script.
363         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
364         than a glob-style pattern.
366 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
368         * math/test-misc.c (main): Do not treat incorrectly rounded
369         conversions as failure unless ROUNDING_TESTS passes.
371 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
373         [BZ #15631]
374         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
375         restore exception state around main square root computation, then
376         check for inexactness explicitly.
378         * math/libm-test.inc (fma_test_data): Add another test.
380 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
382         * manual/threads.texi (Non-POSIX Extensions): New document
383         node.  Document pthread_getattr_default_np and
384         pthread_setattr_default_np.
386         * Versions.def (libpthread): Add GLIBC_2.18.
387         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
389         Likewise.
390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
391         Likewise.
392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
393         Likewise.
394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
395         Likewise.
396         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
397         Likewise.
398         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
399         Likewise.
400         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
401         Likewise.
402         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
403         Likewise.
404         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
405         Likewise.
407 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
409         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
410         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
412 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
413             H.J. Lu  <hjl.tools@gmail.com>
415         [BZ #15627]
416         * sysdeps/x86_64/rtld-memset.c: Remove file.
417         * sysdeps/x86_64/rtld-memset.S: New file.
419 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
421         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
422         (test_in_one_mode): Take arguments for whether the rounding mode
423         is supported for each floating-point type.
424         (do_test): Pass new arguments to test_in_one_mode using
425         ROUNDING_TESTS.
427 2013-06-13  Roland McGrath  <roland@hack.frob.com>
429         * posix/tst-waitid.c (do_test): Distinguish different instances of
430         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
431         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
432         before entering the kernel for waitpid.
434 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
436         * NEWS: Fix note on clock function precision.  Text by Roland
437         McGrath.
439 2013-06-13  Roland McGrath  <roland@hack.frob.com>
441         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
442         it into place only when and if the sanity check passes.
444 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
446         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
447         output for whether conversion result is exact.  Take argument
448         indicating whether type is IBM long double.
449         (round_for_all): Change need_exact field to ibm_ld.
450         * stdlib/tst-strtod-round.c (struct exactness): New type.
451         (struct test): Change bool ld_ok field to struct exactness exact.
452         (TEST): Update all definitions for change to field.
453         (tests): Regenerate array contents.
454         (test_in_one_mode): Take pointer to new field instead of old ld_ok
455         field value.  Check for IBM long double here.
456         (do_test): Update calls to test_in_one_mode.
458 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
460         [BZ #12515]
461         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
462         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
464 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
466         [BZ #15605]
467         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
468         generated by the compiler on loop optimizations.
469         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
470         general definitions.
472 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
474         * math/bug-nextafter.c: Include <math-tests.h>.
475         (main): Only test for exceptions if EXCEPTION_TESTS is true for
476         the relevant type.
477         * math/bug-nexttoward.c: Include <math-tests.h>.
478         (main): Only test for exceptions if EXCEPTION_TESTS is true for
479         the relevant type.
480         * math/test-misc.c: Include <math-tests.h>.
481         (main): Only test for exceptions if EXCEPTION_TESTS is true for
482         the relevant type.
484 2013-06-12  Andreas Jaeger  <aj@suse.de>
486         * po/ia.po: Update Interlingua translation from translation
487         project.
489 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
491         * include/fenv.h: Include stdbool.h.
492         (struct rm_ctx): New structure.
493         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
494         Define macro.
495         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
496         (SET_RESTORE_ROUNDF): Likewise.
497         (SET_RESTORE_ROUNDL): Likewise.
498         (SET_RESTORE_ROUND_NOEX): Likewise.
499         (SET_RESTORE_ROUND_NOEXF): Likewise.
500         (SET_RESTORE_ROUND_NOEXL): Likewise.
501         (SET_RESTORE_ROUND_53BIT): Likewise.
502         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
503         (libc_feresetround_noexf_ctx): Likewise.
504         (libc_feresetround_noexl_ctx): Likewise.
505         (libc_feholdsetround_53bit_ctx): Likewise.
506         (libc_feresetround_53bit_ctx): Likewise.
507         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
508         (libc_feholdexcept_setround_sse_ctx): New function.
509         (libc_fesetenv_sse_ctx): Likewise.
510         (libc_feupdateenv_sse_ctx): Likewise.
511         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
512         (libc_feholdexcept_setround_387_ctx): Likewise.
513         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
514         (libc_feholdsetround_387_prec_ctx): Likewise.
515         (libc_feholdsetround_387_ctx): Likewise.
516         (libc_feholdsetround_387_53bit_ctx): Likewise.
517         (libc_feholdsetround_sse_ctx): Likewise.
518         (libc_feresetround_sse_ctx): Likewise.
519         (libc_feresetround_387_ctx): Likewise.
520         (libc_feupdateenv_387_ctx): Likewise.
521         (libc_feholdexcept_setroundf_ctx): Define macro.
522         (libc_fesetenvf_ctx): Likewise.
523         (libc_feupdateenvf_ctx): Likewise.
524         (libc_feholdsetroundf_ctx): Likewise.
525         (libc_feresetroundf_ctx): Likewise.
526         (libc_feholdexcept_setround_ctx): Likewise.
527         (libc_fesetenv_ctx): Likewise.
528         (libc_feupdateenv_ctx): Likewise.
529         (libc_feholdsetround_ctx): Likewise.
530         (libc_feresetround_ctx): Likewise.
531         (libc_feholdexcept_setroundl_ctx): Likewise.
532         (libc_feupdateenvl_ctx): Likewise.
533         (libc_feholdsetroundl_ctx): Likewise.
534         (libc_feresetroundl_ctx): Likewise.
535         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
536         (libc_feresetround_53bit_ctx): Likewise.
538 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
540         * locale/iso-639.def: Convert to UTF-8.
542 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
544         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
545         (EXCEPTION_TESTS_double): Likewise.
546         (EXCEPTION_TESTS_long_double): Likewise.
547         (EXCEPTION_TESTS): Likewise.
548         * math/libm-test.inc (test_exceptions): Only test exceptions if
549         EXCEPTION_TESTS (FLOAT).
551 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
553         * benchtests/Makefile (string-bench): Add strcpy_chk and
554         stpcpy_chk.
555         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
556         * benchtests/bench-stpcpy_chk.c: New file.
557         * benchtests/bench-strcpy_chk-ifunc.c: New file.
558         * benchtests/bench-strcpy_chk.c: New file.
559         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
560         code.
561         (do_test): Likewise.
563 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
565         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
566         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
567         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
568         with tabs where appropriate.
569         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
570         dl-procinfo.h.
571         [PPC_PLATFORM_PPC440]: Likewise.
572         [PPC_PLATFORM_PPC464]: Likewise.
573         [PPC_PLATFORM_PPC476]: Likewise.
574         (_dl_string_platform): Add support for detecting ppc405, ppc440,
575         ppc464, and ppc476 platform strings merging from ports/
576         dl-procinfo.h.
578 2013-06-11  Andreas Schwab  <schwab@suse.de>
580         [BZ #14991]
581         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
582         (from_ucs4_idx): Regenerate.
583         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
584         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
585         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
586         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
587         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
588         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
589         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
590         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
591         from FROM_LOOP and TO_LOOP specific macros.
592         (BODY): Handle combining characters.
593         * iconvdata/BIG5HKSCS.irreversible: Update.
594         * iconvdata/BIG5HKSCS.precomposed: New file.
595         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
596         characters.
597         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
599 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
601         * include/sys/time.h: Fix indentation and add copyright header.
603         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
604         (do_test): Likewise.
605         * string/test-memchr.c (do_one_test): Likewise.
606         (do_test): Likewise.
607         * string/test-memcmp.c (do_one_test): Likewise.
608         (do_test): Likewise.
609         * string/test-memcpy.c (do_one_test): Likewise.
610         (do_test): Likewise.
611         * string/test-memmem.c (do_one_test): Likewise.
612         (do_test): Likewise.
613         (do_random_tests): Likewise.
614         * string/test-memmove.c (do_one_test): Likewise.
615         (do_test): Likewise.
616         * string/test-memset.c (do_one_test): Likewise.
617         (do_test): Likewise.
618         * string/test-rawmemchr.c (do_one_test): Likewise.
619         (do_test): Likewise.
620         * string/test-strcasecmp.c (do_one_test): Likewise.
621         (do_test): Likewise.
622         * string/test-strcasestr.c (do_one_test): Likewise.
623         (do_test): Likewise.
624         * string/test-strcat.c (do_one_test): Likewise.
625         (do_test): Likewise.
626         * string/test-strchr.c (do_one_test): Likewise.
627         (do_test): Likewise.
628         * string/test-strcmp.c (do_one_test): Likewise.
629         (do_test): Likewise.
630         * string/test-strcpy.c (do_one_test): Likewise.
631         (do_test): Likewise.
632         * string/test-string.h: Likewise.
633         (test_init): Likewise.
634         * string/test-strlen.c (do_one_test): Likewise.
635         (do_test): Likewise.
636         * string/test-strncasecmp.c (do_one_test): Likewise.
637         (do_test): Likewise.
638         * string/test-strncat.c (do_one_test): Likewise.
639         (do_test): Likewise.
640         * string/test-strncmp.c (do_one_test): Likewise.
641         (do_test_limit): Likewise.
642         (do_test): Likewise.
643         * string/test-strncpy.c (do_one_test): Likewise.
644         (do_test): Likewise.
645         * string/test-strnlen.c (do_one_test): Likewise.
646         (do_test): Likewise.
647         * string/test-strpbrk.c (do_one_test): Likewise.
648         (do_test): Likewise.
649         * string/test-strrchr.c (do_one_test): Likewise.
650         (do_test): Likewise.
651         * string/test-strspn.c (do_one_test): Likewise.
652         (do_test): Likewise.
653         * string/test-strstr.c (do_one_test): Likewise.
654         (do_test): Likewise.
656         * benchtests/Makefile (string-bench): Add string benchmarks.
657         * benchtests/bench-bcopy-ifunc.c: New file.
658         * benchtests/bench-bcopy.c: New file.
659         * benchtests/bench-bzero-ifunc.c: New file.
660         * benchtests/bench-bzero.c: New file.
661         * benchtests/bench-memccpy-ifunc.c: New file.
662         * benchtests/bench-memccpy.c: New file.
663         * benchtests/bench-memchr-ifunc.c: New file.
664         * benchtests/bench-memchr.c: New file.
665         * benchtests/bench-memcmp-ifunc.c: New file.
666         * benchtests/bench-memcmp.c: New file.
667         * benchtests/bench-memmem-ifunc.c: New file.
668         * benchtests/bench-memmem.c: New file.
669         * benchtests/bench-memmove-ifunc.c: New file.
670         * benchtests/bench-memmove.c: New file.
671         * benchtests/bench-mempcpy-ifunc.c: New file.
672         * benchtests/bench-mempcpy.c: New file.
673         * benchtests/bench-memset-ifunc.c: New file.
674         * benchtests/bench-memset.c: New file.
675         * benchtests/bench-rawmemchr-ifunc.c: New file.
676         * benchtests/bench-rawmemchr.c: New file.
677         * benchtests/bench-stpcpy-ifunc.c: New file.
678         * benchtests/bench-stpcpy.c: New file.
679         * benchtests/bench-stpncpy-ifunc.c: New file.
680         * benchtests/bench-stpncpy.c: New file.
681         * benchtests/bench-strcasecmp-ifunc.c: New file.
682         * benchtests/bench-strcasecmp.c: New file.
683         * benchtests/bench-strcasestr-ifunc.c: New file.
684         * benchtests/bench-strcasestr.c: New file.
685         * benchtests/bench-strcat-ifunc.c: New file.
686         * benchtests/bench-strcat.c: New file.
687         * benchtests/bench-strchr-ifunc.c: New file.
688         * benchtests/bench-strchr.c: New file.
689         * benchtests/bench-strchrnul-ifunc.c: New file.
690         * benchtests/bench-strchrnul.c: New file.
691         * benchtests/bench-strcmp-ifunc.c: New file.
692         * benchtests/bench-strcmp.c: New file.
693         * benchtests/bench-strcpy-ifunc.c: New file.
694         * benchtests/bench-strcpy.c: New file.
695         * benchtests/bench-strcspn-ifunc.c: New file.
696         * benchtests/bench-strcspn.c: New file.
697         * benchtests/bench-strlen-ifunc.c: New file.
698         * benchtests/bench-strlen.c: New file.
699         * benchtests/bench-strncasecmp-ifunc.c: New file.
700         * benchtests/bench-strncasecmp.c: New file.
701         * benchtests/bench-strncat-ifunc.c: New file.
702         * benchtests/bench-strncat.c: New file.
703         * benchtests/bench-strncmp-ifunc.c: New file.
704         * benchtests/bench-strncmp.c: New file.
705         * benchtests/bench-strncpy-ifunc.c: New file.
706         * benchtests/bench-strncpy.c: New file.
707         * benchtests/bench-strnlen-ifunc.c: New file.
708         * benchtests/bench-strnlen.c: New file.
709         * benchtests/bench-strpbrk-ifunc.c: New file.
710         * benchtests/bench-strpbrk.c: New file.
711         * benchtests/bench-strrchr-ifunc.c: New file.
712         * benchtests/bench-strrchr.c: New file.
713         * benchtests/bench-strspn-ifunc.c: New file.
714         * benchtests/bench-strspn.c: New file.
715         * benchtests/bench-strstr-ifunc.c: New file.
716         * benchtests/bench-strstr.c: New file.
718         * benchtests/Makefile: Disable parallel execution of targets.
719         (string-bench): Add memcpy.
720         (benchset): New variable to store a list of benchmark sets.
721         (bench-func): Renamed from bench.
722         (bench-set): New target.
723         (bench): Depend on bench-func and bench-set.
724         * benchtests/README: Add section on benchmark sets.
725         * benchtests/bench-memcpy-ifunc.c: New file.
726         * benchtests/bench-memcpy.c: New file.
727         * benchtests/bench-string.h: New file.
729 2013-06-11  Andreas Schwab  <schwab@suse.de>
731         [BZ #15577]
732         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
733         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
734         values in the triple.
735         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
736         terminator in the group key.
738 2013-06-11  Andreas Jaeger  <aj@suse.de>
740         * po/zh_TW.po: Update Chinese (traditional) translation from
741         translation project.
743 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
745         * include/time.h (__clock_gettime): Add libc_hidden_proto.
746         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
747         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
748         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
749         (clock_getcpuclockid): Likewise.
750         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
751         Add weak_alias and libc_hidden_def.
752         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
753         * rt/clock_gettime.c (clock_gettime): Rename to
754         __clock_gettime.  Add weak_alias and libc_hidden_def.
755         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
756         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
757         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
758         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
759         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
760         Likewise.
761         * rt/clock_settime.c (clock_settime): Rename to
762         __clock_settime.  Add weak_alias and libc_hidden_def.
763         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
765 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
767         * mach/err_boot.sub: Remove trailing whitespace.
768         * mach/err_ipc.sub: Likewise.
769         * mach/err_mach.sub: Likewise.
771         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
772         (ROUNDING_TESTS_double): Likewise.
773         (ROUNDING_TESTS_long_double): Likewise.
774         (ROUNDING_TESTS): Likewise.
775         * math/libm-test.inc: Include <math-tests.h>.
776         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
777         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
778         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
779         (IF_ROUND_INIT_FE_UPWARD): Likewise.
781 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
783         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
784         of assigning.
786 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
788         * sysdeps/gnu/errlist.awk: Do not generate space at end of
789         otherwise empty TRANS lines.
790         * sysdeps/gnu/errlist.c: Regenerated.
792         * catgets/gencat.c (error_print): Use (void) in function
793         definition.
794         * crypt/crypt_util.c (__init_des): Likewise.
795         * crypt/speeds.c (Stop): Likewise.
796         (main): Likewise.
797         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
798         * inet/ruserpass.c (token): Likewise.
799         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
800         * intl/localealias.c (extend_alias_table): Likewise.
801         * intl/plural-exp.c (init_germanic_plural): Likewise.
802         * libio/fcloseall.c (__fcloseall): Likewise.
803         * libio/genops.c (_IO_flush_all): Likewise.
804         (_IO_flush_all_linebuffered): Likewise.
805         (_IO_cleanup): Likewise.
806         (_IO_iter_begin): Likewise.
807         (_IO_iter_end): Likewise.
808         (_IO_list_lock): Likewise.
809         (_IO_list_unlock): Likewise.
810         (_IO_list_resetlock): Likewise.
811         * libio/getchar.c (getchar): Likewise.
812         * libio/getchar_u.c (getchar_unlocked): Likewise.
813         * libio/getwchar.c (getwchar): Likewise.
814         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
815         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
816         * login/getpt.c (__getpt): Likewise.
817         * login/tst-utmp.c (main): Likewise.
818         * malloc/hooks.c (__malloc_check_init): Likewise.
819         * malloc/malloc.c (__malloc_stats): Likewise.
820         * malloc/mtrace.c (tr_break): Likewise.
821         (mtrace): Likewise.
822         (muntrace): Likewise.
823         * misc/fstab.c (endfsent): Likewise.
824         * misc/getclktck.c (__getclktck): Likewise.
825         * misc/getdtsz.c (__getdtablesize): Likewise.
826         * misc/gethostid.c (gethostid): Likewise.
827         * misc/getpagesize.c (__getpagesize): Likewise.
828         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
829         (__get_nprocs): Likewise.
830         (__get_phys_pages): Likewise.
831         (__get_avphys_pages): Likewise.
832         * misc/getttyent.c (getttyent): Likewise.
833         (setttyent): Likewise.
834         (endttyent): Likewise.
835         * misc/getusershell.c (getusershell): Likewise.
836         (endusershell): Likewise.
837         (setusershell): Likewise.
838         (initshells): Likewise.
839         * misc/hsearch.c (__hdestroy): Likewise.
840         * misc/sync.c (sync): Likewise.
841         * misc/syslog.c (closelog_internal): Likewise.
842         (closelog): Likewise.
843         * misc/ttyslot.c (ttyslot): Likewise.
844         * misc/vhangup.c (vhangup): Likewise.
845         * posix/fork.c (__fork): Likewise.
846         * posix/getegid.c (__getegid): Likewise.
847         * posix/geteuid.c (__geteuid): Likewise.
848         * posix/getgid.c (__getgid): Likewise.
849         * posix/getpid.c (__getpid): Likewise.
850         * posix/getppid.c (__getppid): Likewise.
851         * posix/getuid.c (__getuid): Likewise.
852         * posix/pause.c (pause): Likewise.
853         * posix/setpgrp.c (setpgrp): Likewise.
854         * posix/setsid.c (__setsid): Likewise.
855         * posix/test-vfork.c (noop): Likewise.
856         * resolv/gethnamaddr.c (_endhtent): Likewise.
857         (_gethtent): Likewise.
858         (ht_endhostent): Likewise.
859         (gethostent): Likewise.
860         (dns_service): Likewise.
861         * stdlib/drand48.c (drand48): Likewise.
862         * stdlib/lrand48.c (lrand48): Likewise.
863         * stdlib/mrand48.c (mrand48): Likewise.
864         * stdlib/rand.c (rand): Likewise.
865         * stdlib/random.c (__random): Likewise.
866         * stdlib/setenv.c (clearenv): Likewise.
867         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
868         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
869         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
870         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
871         (__get_nprocs): Likewise.
872         (__get_phys_pages): Likewise.
873         (__get_avphys_pages): Likewise.
874         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
875         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
876         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
877         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
878         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
879         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
880         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
881         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
882         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
883         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
884         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
885         * sysdeps/mach/hurd/sync.c (sync): Likewise.
886         * sysdeps/posix/clock.c (clock): Likewise.
887         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
888         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
889         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
890         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
891         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
892         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
893         (__get_nprocs_conf): Likewise.
894         (__get_phys_pages): Likewise.
895         (__get_avphys_pages): Likewise.
896         * time/clock.c (clock): Likewise.
897         * time/tzset.c (__tzname_max): Likewise.
899 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
901         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
902         (__bswap_32): Do not use "register".
903         * crypt/crypt.c (_ufc_doit_r): Likewise.
904         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
905         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
906         * gmon/gmon.c (__monstartup): Likewise.
907         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
908         * hurd/hurdmalloc.c (more_memory): Likewise.
909         (malloc): Likewise.
910         (free): Likewise.
911         (realloc): Likewise.
912         (malloc_fork_prepare): Likewise.
913         (malloc_fork_parent): Likewise.
914         (malloc_fork_child): Likewise.
915         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
916         (_svcauth_des): Likewise.
917         * inet/inet_lnaof.c (inet_lnaof): Likewise.
918         * inet/inet_net.c (inet_network): Likewise.
919         * inet/inet_netof.c (inet_netof): Likewise.
920         * inet/rcmd.c (__validuser2_sa): Likewise.
921         * io/fts.c (fts_open): Likewise.
922         (fts_load): Likewise.
923         (fts_close): Likewise.
924         (fts_read): Likewise.
925         (fts_children): Likewise.
926         (fts_build): Likewise.
927         (fts_stat): Likewise.
928         (fts_sort): Likewise.
929         (fts_alloc): Likewise.
930         (fts_lfree): Likewise.
931         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
932         (_IO_file_xsgetn): Likewise.
933         (_IO_file_xsgetn_mmap): Likewise.
934         * libio/iofopncook.c (_IO_cookie_read): Likewise.
935         (_IO_cookie_write): Likewise.
936         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
937         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
938         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
939         * malloc/obstack.c (_obstack_begin): Likewise.
940         (_obstack_begin_1): Likewise.
941         (_obstack_newchunk): Likewise.
942         (_obstack_allocated_p): Likewise.
943         (obstack_free): Likewise.
944         (_obstack_memory_used): Likewise.
945         * misc/getttyent.c (getttynam): Likewise.
946         (getttyent): Likewise.
947         (skip): Likewise.
948         (value): Likewise.
949         * misc/getusershell.c (initshells): Likewise.
950         * misc/syslog.c (__vsyslog_chk): Likewise.
951         * misc/ttyslot.c (ttyslot): Likewise.
952         * nis/nis_hash.c (__nis_hash): Likewise.
953         * posix/fnmatch_loop.c (FCT): Likewise.
954         * posix/getconf.c (print_all): Likewise.
955         (main): Likewise.
956         * posix/getopt.c (exchange): Likewise.
957         * posix/glob.c (globfree): Likewise.
958         (prefix_array): Likewise.
959         (__glob_pattern_type): Likewise.
960         * resolv/arpa/nameser.h (NS_GET16): Likewise.
961         (NS_GET32): Likewise.
962         (NS_PUT16): Likewise.
963         (NS_PUT32): Likewise.
964         * resolv/gethnamaddr.c (getanswer): Likewise.
965         (gethostbyname2): Likewise.
966         (gethostbyaddr): Likewise.
967         (_gethtent): Likewise.
968         (_gethtbyname2): Likewise.
969         (_gethtbyaddr): Likewise.
970         * resolv/ns_print.c (dst_s_get_int16): Likewise.
971         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
972         * resolv/res_init.c (__res_vinit): Likewise.
973         (net_mask): Likewise.
974         * resolv/res_mkquery.c (outchar): Likewise.
975         (PRINT): Likewise.
976         * stdio-common/printf_fp.c (outchar): Likewise.
977         (PRINT): Likewise.
978         * stdio-common/printf_fphex.c (outchar): Likewise.
979         (PRINT): Likewise.
980         * stdio-common/printf_size.c (outchar): Likewise.
981         (PRINT): Likewise.
982         * stdio-common/test_rdwr.c (main): Likewise.
983         * stdio-common/tfformat.c (matches): Likewise.
984         * stdio-common/vfprintf.c (outchar): Likewise.
985         (printf_unknown): Likewise.
986         (buffered_vfprintf): Likewise.
987         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
988         * stdio-common/xbug.c (AppendToBuffer): Likewise.
989         (ReadFile): Likewise.
990         * stdlib/qsort.c (SWAP): Likewise.
991         (_quicksort): Likewise.
992         * stdlib/setenv.c (__add_to_environ): Likewise.
993         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
994         * stdlib/strtol_l.c (__strtol_l): Likewise.
995         * stdlib/tst-strtod.c (main): Likewise.
996         * stdlib/tst-strtol.c (main): Likewise.
997         * stdlib/tst-strtoll.c (main): Likewise.
998         * string/bits/string2.h (__strcmp_cc): Likewise.
999         (__strcmp_cg): Likewise.
1000         (__strcspn_c1): Likewise.
1001         (__strcspn_c2): Likewise.
1002         (__strcspn_c3): Likewise.
1003         (__strspn_c1): Likewise.
1004         (__strspn_c2): Likewise.
1005         (__strspn_c3): Likewise.
1006         (__strsep_1c): Likewise.
1007         (__strsep_2c): Likewise.
1008         (__strsep_3c): Likewise.
1009         * string/memccpy.c (__memccpy): Likewise.
1010         * string/stpcpy.c (__stpcpy): Likewise.
1011         * string/strcmp.c (strcmp): Likewise.
1012         * string/strrchr.c (strrchr): Likewise.
1013         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1014         Likewise.
1015         * sysdeps/mach/hurd/getcwd.c
1016         (_hurd_canonicalize_directory_name_internal): Likewise.
1017         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1018         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1019         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1020         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1021         Likewise, in both definitions.
1022         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1023         definitions.
1024         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1025         64] (__bswap_64): Likewise.
1026         * time/test_time.c (main): Likewise.
1027         * time/tzfile.c (__tzfile_read): Likewise.
1028         (__tzfile_compute): Likewise.
1029         * time/tzset.c (__tzset_parse_tz): Likewise.
1030         (tzset_internal): Likewise.
1031         (compute_change): Likewise.
1032         * wcsmbs/wcscat.c (__wcscat): Likewise.
1033         * wcsmbs/wcschr.c (wcschr): Likewise.
1034         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1035         * wcsmbs/wcscspn.c (wcscspn): Likewise.
1036         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1037         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1038         * wcsmbs/wcsspn.c (wcsspn): Likewise.
1039         * wcsmbs/wcsstr.c (wcsstr): Likewise.
1040         * wcsmbs/wmemchr.c (wmemchr): Likewise.
1041         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1042         * wcsmbs/wmemset.c (wmemset): Likewise.
1044 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
1046         * scripts/config.guess: Update to version 2013-05-16.
1047         * scripts/config.sub: Update to version 2013-04-24.
1048         * scripts/install-sh: Update to version 2011-11-20.07.
1049         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1050         * scripts/move-if-change: Update to version 2012-01-06 07:23.
1052 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
1054         * debug/fgetws_u_chk.c: Fix leading whitespaces.
1055         * elf/sln.c: Likewise.
1056         * hurd/hurd/ioctl.h: Likewise.
1057         * hurd/hurdmalloc.c: Likewise.
1058         * hurd/xattr.c: Likewise.
1059         * include/shlib-compat.h: Likewise.
1060         * inet/ruserpass.c: Likewise.
1061         * libio/iofgets_u.c: Likewise.
1062         * libio/iofgetws_u.c: Likewise.
1063         * locale/programs/ld-identification.c: Likewise.
1064         * locale/programs/ld-time.c: Likewise.
1065         * mach/msg-destroy.c: Likewise.
1066         * nss/nss_files/files-netgrp.c: Likewise.
1067         * resolv/res_data.c: Likewise.
1068         * soft-fp/op-1.h: Likewise.
1069         * soft-fp/op-2.h: Likewise.
1070         * soft-fp/op-4.h: Likewise.
1071         * soft-fp/op-common.h: Likewise.
1072         * stdio-common/printf_fphex.c: Likewise.
1073         * stdlib/strtod_l.c: Likewise.
1074         * sunrpc/rpc/clnt.h: Likewise.
1075         * sysdeps/generic/framestate.c: Likewise.
1076         * sysdeps/i386/bsd-_setjmp.S: Likewise.
1077         * sysdeps/i386/bsd-setjmp.S: Likewise.
1078         * sysdeps/i386/__longjmp.S: Likewise.
1079         * sysdeps/i386/setjmp.S: Likewise.
1080         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1081         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1082         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1083         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1084         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1085         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1086         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1087         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1088         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1089         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1090         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1091         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1092         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1093         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1094         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1095         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1096         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1097         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1098         * sysdeps/ieee754/support.c: Likewise.
1099         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1100         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1101         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1102         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1103         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1104         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1105         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1106         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1107         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1108         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1109         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1110         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1111         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1112         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1113         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1114         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1115         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1118 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
1120         * posix/transbug.c: Remove executable mode.
1122 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
1124         * crypt/speeds.c: Remove trailing whitespace.
1125         * dlfcn/default.c: Likewise.
1126         * elf/ifuncdep2.c: Likewise.
1127         * elf/ifuncmain1.c: Likewise.
1128         * elf/ifuncmain1vis.c: Likewise.
1129         * elf/testobj.h: Likewise.
1130         * elf/tst-stackguard1.c: Likewise.
1131         * gmon/sys/gmon.h: Likewise.
1132         * hurd/hurdmsg.c: Likewise.
1133         * hurd/new-fd.c: Likewise.
1134         * hurd/ports-get.c: Likewise.
1135         * iconvdata/ibm1008_420.c: Likewise.
1136         * inet/tst-getni1.c: Likewise.
1137         * inet/tst-getni2.c: Likewise.
1138         * libio/ioungetc.c: Likewise.
1139         * libio/wfiledoalloc.c: Likewise.
1140         * manual/libm-err-tab.pl: Likewise.
1141         * math/w_dremf.c: Likewise.
1142         * misc/ftruncate.c: Likewise.
1143         * posix/bug-glob2.c: Likewise.
1144         * posix/tst-pcre.c: Likewise.
1145         * posix/wait4.c: Likewise.
1146         * resolv/README: Likewise.
1147         * resolv/res_debug.h: Likewise.
1148         * resolv/tst-inet_ntop.c: Likewise.
1149         * setjmp/bug269-setjmp.c: Likewise.
1150         * soft-fp/extended.h: Likewise.
1151         * soft-fp/op-1.h: Likewise.
1152         * soft-fp/op-2.h: Likewise.
1153         * soft-fp/op-4.h: Likewise.
1154         * soft-fp/op-8.h: Likewise.
1155         * soft-fp/testit.c: Likewise.
1156         * stdio-common/bug16.c: Likewise.
1157         * stdlib/random.c: Likewise.
1158         * sunrpc/rpcsvc/rquota.x: Likewise.
1159         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1160         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1161         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1162         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1163         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1164         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1165         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1166         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1167         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1168         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1169         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1170         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1171         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1172         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1173         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1174         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1175         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1176         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1177         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1178         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1179         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1180         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1181         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1182         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1183         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1184         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1185         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1186         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1187         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1188         * sysdeps/ieee754/s_lib_version.c: Likewise.
1189         * sysdeps/mach/hurd/check_fds.c: Likewise.
1190         * sysdeps/mach/hurd/getsockname.c: Likewise.
1191         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1192         * sysdeps/mach/hurd/recvfrom.c: Likewise.
1193         * sysdeps/powerpc/bits/link.h: Likewise.
1194         * sysdeps/powerpc/dl-procinfo.c: Likewise.
1195         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1196         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1197         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1198         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1199         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1200         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1201         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1202         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1203         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1204         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1205         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1206         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1207         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1208         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1209         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1210         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1211         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1212         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1213         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1214         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1215         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1216         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1217         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1218         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1219         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1220         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1221         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1222         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1223         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1224         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1225         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1226         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1227         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1228         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1229         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1230         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1231         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1232         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1233         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1234         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1235         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1236         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1237         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1238         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1239         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1240         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1241         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1242         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1243         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1244         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1245         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1246         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1247         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1248         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1249         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1250         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1251         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1252         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1253         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1254         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1255         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1256         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1257         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1258         * sysdeps/powerpc/sysdep.h: Likewise.
1259         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1260         * sysdeps/s390/s390-64/sub_n.S: Likewise.
1261         * sysdeps/sh/dl-trampoline.S: Likewise.
1262         * sysdeps/sh/memset.S: Likewise.
1263         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1264         * sysdeps/sh/strlen.S: Likewise.
1265         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1266         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1267         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1268         * sysdeps/sparc/sparc32/rem.S: Likewise.
1269         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1270         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1271         * sysdeps/sparc/sparc32/strchr.S: Likewise.
1272         * sysdeps/sparc/sparc32/udiv.S: Likewise.
1273         * sysdeps/sparc/sparc32/urem.S: Likewise.
1274         * sysdeps/sparc/sparc64/add_n.S: Likewise.
1275         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1276         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1277         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1278         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1279         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1280         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1281         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1282         * sysdeps/unix/bsd/times.c: Likewise.
1283         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1284         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1288         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1289         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1290         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1291         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1292         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1293         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1294         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1295         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1296         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1297         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1298         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1299         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1300         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1301         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1302         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1303         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1304         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1305         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1306         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1307         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1308         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1309         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1310         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1311         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1312         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1313         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1314         * sysdeps/x86_64/strcspn.S: Likewise.
1316 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1318         * locale/C-translit.h: Revert #include <stdint.h> because this is a
1319         generated file.  Regenerate properly from gen-translit.pl.
1320         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
1321         locale/C-translit.h.
1323 2013-06-05  Andreas Schwab  <schwab@suse.de>
1325         [BZ #15100]
1326         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1327         week as 6 instead of -1.
1328         * time/tst-strptime.c (day_tests): Add test case.
1330 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1332         * sysdeps/generic/math_private.h
1333         (libc_feholdexcept_setround_53bit): Replace with
1334         libc_feholdsetround_53bit.
1335         (libc_feupdateenv_53bit): Replace with
1336         libc_feresetround_53bit.
1337         (SET_RESTORE_ROUND_53BIT): Adjust.
1339 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
1341         * string/test-strchrnul.c: Add copyright header.
1343         * posix/tst-getaddrinfo4.c: Increase test timeout.
1345 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
1347         [BZ #15536]
1348         * math/libm-test.inc (MAX_EXP): Remove
1349         (MIN_EXP): Define.
1350         (ulp): Use MIN_EXP - MANT_DIG.
1351         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1353 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
1355         * po/be.po: Revert last change.
1356         * po/zh_CN.po: Likewise.
1357         * po/header.pot: Likewise.
1359 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
1361         * Makefile ($(common-objpfx)linkobj/libc.so): Define
1362         link-libc-deps to empty as target-specific variable.
1363         * Makerules (link-libc-args): New variable.
1364         (libc-for-link): Likewise.
1365         (link-libc-deps): Likewise.
1366         (lib%.so): Depend on $(link-libc-deps).  Link with
1367         $(link-libc-args).
1368         (build-module): Link with $(link-libc-args).
1369         (build-module-asneeded): Likewise.
1370         (build-module-helper-objlist): Filter out $(link-libc-deps) from
1371         list of objects.
1372         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1373         target-specific variable.
1374         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1375         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1376         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1377         libc.
1378         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1379         libc and ld.so.
1380         ($(objpfx)libpcprofile.so): Likewise.
1381         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1382         libc_nonshared.a.
1383         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1384         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1385         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1386         $(link-libc-deps).
1387         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1388         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1389         * login/Makefile ($(objpfx)libutil.so): Likewise.
1390         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1391         * math/Makefile ($(objpfx)libm.so): Likewise.
1392         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1393         $(objpfx)libnsl.so): Define libc-for-link as target-specific
1394         variable instead of depending directly on libc.
1395         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1396         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1397         $(link-libc-deps).
1398         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1399         libc.
1400         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1401         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1402         ($(objpfx)libanl.so): Likewise.
1403         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1404         ld.so.
1405         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1406         $(link-libc-deps).
1407         * sysdeps/i386/fpu/Makefile: Remove file.
1408         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1409         ($(objpfx)libm.so): Remove dependency on ld.so.
1411 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
1413         [BZ # 15553]
1414         * nis/yp_xdr.c (XDRMAXNAME): Define.
1415         (XDRMAXRECORD): Define.
1416         (xdr_domainname): Use XDRMAXNAME.
1417         (xdr_mapname): Likewise.
1418         (xdr_peername): Likewise.
1419         (xdr_keydat): Use XDRMAXRECORD.
1420         (xdr_valdat): Likewise.
1422 2013-05-30  Jeff Law  <law@redhat.com>
1424         [BZ #14256]
1425         * manual/errno.texi (ESTALE): Update to account for more than
1426         just NFS file systems.
1427         * sysdeps/gnu/errlist.c: Regenerated.
1429 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1431         [BZ #15465]
1432         * elf/Makefile (tests): Add tst-null-argv.
1433         (modules-names):  Add tst-null-argv-lib.
1434         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1435         (tst-null-argv-ENV): Set environment for tst-null-argv.
1436         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1437         (RTLD_PROGNAME): New macro.
1438         * elf/tst-null-argv.c: New test case.
1439         * elf/tst-null-argv-lib.c: Library for test case.
1440         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1441         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1442         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1443         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1444         * elf/dl-init.c (call_init): Likewise.
1445         (_dl_init): Likewise.
1446         * elf/dl-load.c (print_search_path): Likewise.
1447         (_dl_map_object): Likewise.
1448         * elf/dl-lookup.c (do_lookup_x): Likewise.
1449         (add_dependency): Likewise.
1450         (_dl_lookup_symbol_x): Likewise.
1451         (_dl_debug_bindings): Likewise.
1452         * elf/dl-open.c (_dl_show_scope): Likewise.
1453         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1454         * elf/dl-version.c (match_symbol): Likewise.
1455         (_dl_check_map_versions): Likewise.
1456         * elf/rtld.c (dl_main): Likewise.
1457         (print_unresolved): Use RTLD_PROGNAME.
1458         (print_missing_version): Likewise.
1459         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1460         (elf_machine_rela): Likewise.
1461         * sysdeps/powerpc/powerpc32/dl-machine.c
1462         (__process_machine_rela): Likewise.
1463         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1464         Likewise.
1465         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1466         Likewise.
1467         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1468         Likewise.
1469         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1470         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1471         Likewise.
1472         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1473         Likewise.
1474         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1476 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
1478         * po/be.po: Add descriptive title.
1479         * po/zh_CN.po: Likewise.
1480         * po/header.pot: Likewise.
1482 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
1484         * locale/programs/locarchive.c (create_archive): Inlucde fname in
1485         error message.
1486         (enlarge_archive): Likewise.
1488 2013-05-28  Ben North  <ben@redfrontdoor.org>
1490         * manual/arith.texi (frexp): It is the magnitude of the return
1491         value which lies in [0.5, 1), not the return value itself.
1493 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1495         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1497 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
1499         * stdio-common/bug26.c (main): Correct fscanf template.
1501         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1502         declare _dl_skip_args.
1504         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1505         Don't declare.
1507         * manual/platform.texi: Add missing @end deftypefun.
1509 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
1511         [BZ #15529]
1512         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1513         bit of mantissa of 2^16382.
1514         * math/libm-test.inc (hypot_test_data): Add more tests.
1516         * math/libm-test.inc: Add drem and pow10 to list of tested
1517         functions.
1518         (pow10_test): New function.
1519         (drem_test): Likewise.
1520         (drem_test_tonearest): Likewise.
1521         (drem_test_towardzero): Likewise.
1522         (drem_test_downward): Likewise.
1523         (drem_test_upward): Likewise.
1524         (main): Call the new functions.
1526         * math/libm-test.inc (finite_test_data): Remove.
1527         (finite_test): Run tests from isfinite_test_data.
1528         (gamma_test_data): Remove.
1529         (gamma_test): Run tests from lgamma_test_data.
1530         * sysdeps/i386/fpu/libm-test-ulps: Update.
1531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1533 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1535         * manual/platform.texi: Add PowerPC PPR function set documentation.
1536         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1537         implementation.
1539 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
1541         * math/libm-test.inc (MAX_EXP): Define.
1542         (ULPDIFF): Define.
1543         (ulp): New function.
1544         (check_float_internal): Use ULPDIFF.
1545         (cpow_test): Disable failing test.
1546         (check_ulp): Test ulp() implemetnation.
1547         (main): Call check_ulp before starting tests.
1549 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
1551         * math/gen-libm-test.pl (generate_testfile): Do not handle
1552         START_DATA and END_DATA.
1553         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1554         END_DATA.
1555         (acos_tonearest_test_data): Likewise.
1556         (acos_towardzero_test_data): Likewise.
1557         (acos_downward_test_data): Likewise.
1558         (acos_upward_test_data): Likewise.
1559         (acosh_test_data): Likewise.
1560         (asin_test_data): Likewise.
1561         (asin_tonearest_test_data): Likewise.
1562         (asin_towardzero_test_data): Likewise.
1563         (asin_downward_test_data): Likewise.
1564         (asin_upward_test_data): Likewise.
1565         (asinh_test_data): Likewise.
1566         (atan_test_data): Likewise.
1567         (atanh_test_data): Likewise.
1568         (atan2_test_data): Likewise.
1569         (cabs_test_data): Likewise.
1570         (cacos_test_data): Likewise.
1571         (cacosh_test_data): Likewise.
1572         (carg_test_data): Likewise.
1573         (casin_test_data): Likewise.
1574         (casinh_test_data): Likewise.
1575         (catan_test_data): Likewise.
1576         (catanh_test_data): Likewise.
1577         (cbrt_test_data): Likewise.
1578         (ccos_test_data): Likewise.
1579         (ccosh_test_data): Likewise.
1580         (ceil_test_data): Likewise.
1581         (cexp_test_data): Likewise.
1582         (cimag_test_data): Likewise.
1583         (clog_test_data): Likewise.
1584         (clog10_test_data): Likewise.
1585         (conj_test_data): Likewise.
1586         (copysign_test_data): Likewise.
1587         (cos_test_data): Likewise.
1588         (cos_tonearest_test_data): Likewise.
1589         (cos_towardzero_test_data): Likewise.
1590         (cos_downward_test_data): Likewise.
1591         (cos_upward_test_data): Likewise.
1592         (cosh_test_data): Likewise.
1593         (cosh_tonearest_test_data): Likewise.
1594         (cosh_towardzero_test_data): Likewise.
1595         (cosh_downward_test_data): Likewise.
1596         (cosh_upward_test_data): Likewise.
1597         (cpow_test_data): Likewise.
1598         (cproj_test_data): Likewise.
1599         (creal_test_data): Likewise.
1600         (csin_test_data): Likewise.
1601         (csinh_test_data): Likewise.
1602         (csqrt_test_data): Likewise.
1603         (ctan_test_data): Likewise.
1604         (ctan_tonearest_test_data): Likewise.
1605         (ctan_towardzero_test_data): Likewise.
1606         (ctan_downward_test_data): Likewise.
1607         (ctan_upward_test_data): Likewise.
1608         (ctanh_test_data): Likewise.
1609         (ctanh_tonearest_test_data): Likewise.
1610         (ctanh_towardzero_test_data): Likewise.
1611         (ctanh_downward_test_data): Likewise.
1612         (ctanh_upward_test_data): Likewise.
1613         (erf_test_data): Likewise.
1614         (erfc_test_data): Likewise.
1615         (exp_test_data): Likewise.
1616         (exp_tonearest_test_data): Likewise.
1617         (exp_towardzero_test_data): Likewise.
1618         (exp_downward_test_data): Likewise.
1619         (exp_upward_test_data): Likewise.
1620         (exp10_test_data): Likewise.
1621         (exp2_test_data): Likewise.
1622         (expm1_test_data): Likewise.
1623         (fabs_test_data): Likewise.
1624         (fdim_test_data): Likewise.
1625         (finite_test_data): Likewise.
1626         (floor_test_data): Likewise.
1627         (fma_test_data): Likewise.
1628         (fma_towardzero_test_data): Likewise.
1629         (fma_downward_test_data): Likewise.
1630         (fma_upward_test_data): Likewise.
1631         (fmax_test_data): Likewise.
1632         (fmin_test_data): Likewise.
1633         (fmod_test_data): Likewise.
1634         (fpclassify_test_data): Likewise.
1635         (frexp_test_data): Likewise.
1636         (gamma_test_data): Likewise.
1637         (hypot_test_data): Likewise.
1638         (ilogb_test_data): Likewise.
1639         (isfinite_test_data): Likewise.
1640         (isgreater_test_data): Likewise.
1641         (isgreaterequal_test_data): Likewise.
1642         (isinf_test_data): Likewise.
1643         (isless_test_data): Likewise.
1644         (islessequal_test_data): Likewise.
1645         (islessgreater_test_data): Likewise.
1646         (isnan_test_data): Likewise.
1647         (isnormal_test_data): Likewise.
1648         (issignaling_test_data): Likewise.
1649         (isunordered_test_data): Likewise.
1650         (j0_test_data): Likewise.
1651         (j1_test_data): Likewise.
1652         (jn_test_data): Likewise.
1653         (ldexp_test_data): Likewise.
1654         (lgamma_test_data): Likewise.
1655         (lrint_test_data): Likewise.
1656         (lrint_tonearest_test_data): Likewise.
1657         (lrint_towardzero_test_data): Likewise.
1658         (lrint_downward_test_data): Likewise.
1659         (lrint_upward_test_data): Likewise.
1660         (llrint_test_data): Likewise.
1661         (llrint_tonearest_test_data): Likewise.
1662         (llrint_towardzero_test_data): Likewise.
1663         (llrint_downward_test_data): Likewise.
1664         (llrint_upward_test_data): Likewise.
1665         (log_test_data): Likewise.
1666         (log10_test_data): Likewise.
1667         (log1p_test_data): Likewise.
1668         (log2_test_data): Likewise.
1669         (logb_test_data): Likewise.
1670         (logb_downward_test_data): Likewise.
1671         (lround_test_data): Likewise.
1672         (llround_test_data): Likewise.
1673         (modf_test_data): Likewise.
1674         (nearbyint_test_data): Likewise.
1675         (nextafter_test_data): Likewise.
1676         (nexttoward_test_data): Likewise.
1677         (pow_test_data): Likewise.
1678         (pow_tonearest_test_data): Likewise.
1679         (pow_towardzero_test_data): Likewise.
1680         (pow_downward_test_data): Likewise.
1681         (pow_upward_test_data): Likewise.
1682         (remainder_test_data): Likewise.
1683         (remainder_tonearest_test_data): Likewise.
1684         (remainder_towardzero_test_data): Likewise.
1685         (remainder_downward_test_data): Likewise.
1686         (remainder_upward_test_data): Likewise.
1687         (remquo_test_data): Likewise.
1688         (rint_test_data): Likewise.
1689         (rint_tonearest_test_data): Likewise.
1690         (rint_towardzero_test_data): Likewise.
1691         (rint_downward_test_data): Likewise.
1692         (rint_upward_test_data): Likewise.
1693         (round_test_data): Likewise.
1694         (scalb_test_data): Likewise.
1695         (scalbn_test_data): Likewise.
1696         (scalbln_test_data): Likewise.
1697         (signbit_test_data): Likewise.
1698         (sin_test_data): Likewise.
1699         (sin_tonearest_test_data): Likewise.
1700         (sin_towardzero_test_data): Likewise.
1701         (sin_downward_test_data): Likewise.
1702         (sin_upward_test_data): Likewise.
1703         (sincos_test_data): Likewise.
1704         (sinh_test_data): Likewise.
1705         (sinh_tonearest_test_data): Likewise.
1706         (sinh_towardzero_test_data): Likewise.
1707         (sinh_downward_test_data): Likewise.
1708         (sinh_upward_test_data): Likewise.
1709         (sqrt_test_data): Likewise.
1710         (tan_test_data): Likewise.
1711         (tan_tonearest_test_data): Likewise.
1712         (tan_towardzero_test_data): Likewise.
1713         (tan_downward_test_data): Likewise.
1714         (tan_upward_test_data): Likewise.
1715         (tanh_test_data): Likewise.
1716         (tgamma_test_data): Likewise.
1717         (trunc_test_data): Likewise.
1718         (y0_test_data): Likewise.
1719         (y1_test_data): Likewise.
1720         (yn_test_data): Likewise.
1721         (significand_test_data): Likewise.
1723         * math/gen-libm-test.pl (@functions): Remove variable.
1724         (generate_testfile): Don't handle START and END lines.
1725         * math/libm-test.inc (START): New macro.
1726         (END): Likewise.
1727         (END_COMPLEX): Likewise.
1728         (acos_test): Use END macro without arguments.
1729         (acos_test_tonearest): Likewise.
1730         (acos_test_towardzero): Likewise.
1731         (acos_test_downward): Likewise.
1732         (acos_test_upward): Likewise.
1733         (acosh_test): Likewise.
1734         (asin_test): Likewise.
1735         (asin_test_tonearest): Likewise.
1736         (asin_test_towardzero): Likewise.
1737         (asin_test_downward): Likewise.
1738         (asin_test_upward): Likewise.
1739         (asinh_test): Likewise.
1740         (atan_test): Likewise.
1741         (atanh_test): Likewise.
1742         (atan2_test): Likewise.
1743         (cabs_test): Likewise.
1744         (cacos_test): Use END_COMPLEX macro without arguments.
1745         (cacosh_test): Likewise.
1746         (carg_test): Use END macro without arguments.
1747         (casin_test): Use END_COMPLEX macro without arguments.
1748         (casinh_test): Likewise.
1749         (catan_test): Likewise.
1750         (catanh_test): Likewise.
1751         (cbrt_test): Use END macro without arguments.
1752         (ccos_test): Use END_COMPLEX macro without arguments.
1753         (ccosh_test): Likewise.
1754         (ceil_test): Use END macro without arguments.
1755         (cexp_test): Use END_COMPLEX macro without arguments.
1756         (cimag_test): Use END macro without arguments.
1757         (clog_test): Use END_COMPLEX macro without arguments.
1758         (clog10_test): Likewise.
1759         (conj_test): Likewise.
1760         (copysign_test): Use END macro without arguments.
1761         (cos_test): Likewise.
1762         (cos_test_tonearest): Likewise.
1763         (cos_test_towardzero): Likewise.
1764         (cos_test_downward): Likewise.
1765         (cos_test_upward): Likewise.
1766         (cosh_test): Likewise.
1767         (cosh_test_tonearest): Likewise.
1768         (cosh_test_towardzero): Likewise.
1769         (cosh_test_downward): Likewise.
1770         (cosh_test_upward): Likewise.
1771         (cpow_test): Use END_COMPLEX macro without arguments.
1772         (cproj_test): Likewise.
1773         (creal_test): Use END macro without arguments.
1774         (csin_test): Use END_COMPLEX macro without arguments.
1775         (csinh_test): Likewise.
1776         (csqrt_test): Likewise.
1777         (ctan_test): Likewise.
1778         (ctan_test_tonearest): Likewise.
1779         (ctan_test_towardzero): Likewise.
1780         (ctan_test_downward): Likewise.
1781         (ctan_test_upward): Likewise.
1782         (ctanh_test): Likewise.
1783         (ctanh_test_tonearest): Likewise.
1784         (ctanh_test_towardzero): Likewise.
1785         (ctanh_test_downward): Likewise.
1786         (ctanh_test_upward): Likewise.
1787         (erf_test): Use END macro without arguments.
1788         (erfc_test): Likewise.
1789         (exp_test): Likewise.
1790         (exp_test_tonearest): Likewise.
1791         (exp_test_towardzero): Likewise.
1792         (exp_test_downward): Likewise.
1793         (exp_test_upward): Likewise.
1794         (exp10_test): Likewise.
1795         (exp2_test): Likewise.
1796         (expm1_test): Likewise.
1797         (fabs_test): Likewise.
1798         (fdim_test): Likewise.
1799         (finite_test): Likewise.
1800         (floor_test): Likewise.
1801         (fma_test): Likewise.
1802         (fma_test_towardzero): Likewise.
1803         (fma_test_downward): Likewise.
1804         (fma_test_upward): Likewise.
1805         (fmax_test): Likewise.
1806         (fmin_test): Likewise.
1807         (fmod_test): Likewise.
1808         (fpclassify_test): Likewise.
1809         (frexp_test): Likewise.
1810         (gamma_test): Likewise.
1811         (hypot_test): Likewise.
1812         (ilogb_test): Likewise.
1813         (isfinite_test): Likewise.
1814         (isgreater_test): Likewise.
1815         (isgreaterequal_test): Likewise.
1816         (isinf_test): Likewise.
1817         (isless_test): Likewise.
1818         (islessequal_test): Likewise.
1819         (islessgreater_test): Likewise.
1820         (isnan_test): Likewise.
1821         (isnormal_test): Likewise.
1822         (issignaling_test): Likewise.
1823         (isunordered_test): Likewise.
1824         (j0_test): Likewise.
1825         (j1_test): Likewise.
1826         (jn_test): Likewise.
1827         (ldexp_test): Likewise.
1828         (lgamma_test): Likewise.
1829         (lrint_test): Likewise.
1830         (lrint_test_tonearest): Likewise.
1831         (lrint_test_towardzero): Likewise.
1832         (lrint_test_downward): Likewise.
1833         (lrint_test_upward): Likewise.
1834         (llrint_test): Likewise.
1835         (llrint_test_tonearest): Likewise.
1836         (llrint_test_towardzero): Likewise.
1837         (llrint_test_downward): Likewise.
1838         (llrint_test_upward): Likewise.
1839         (log_test): Likewise.
1840         (log10_test): Likewise.
1841         (log1p_test): Likewise.
1842         (log2_test): Likewise.
1843         (logb_test): Likewise.
1844         (logb_test_downward): Likewise.
1845         (lround_test): Likewise.
1846         (llround_test): Likewise.
1847         (modf_test): Likewise.
1848         (nearbyint_test): Likewise.
1849         (nextafter_test): Likewise.
1850         (nexttoward_test): Likewise.
1851         (pow_test): Likewise.
1852         (pow_test_tonearest): Likewise.
1853         (pow_test_towardzero): Likewise.
1854         (pow_test_downward): Likewise.
1855         (pow_test_upward): Likewise.
1856         (remainder_test): Likewise.
1857         (remainder_test_tonearest): Likewise.
1858         (remainder_test_towardzero): Likewise.
1859         (remainder_test_downward): Likewise.
1860         (remainder_test_upward): Likewise.
1861         (remquo_test): Likewise.
1862         (rint_test): Likewise.
1863         (rint_test_tonearest): Likewise.
1864         (rint_test_towardzero): Likewise.
1865         (rint_test_downward): Likewise.
1866         (rint_test_upward): Likewise.
1867         (round_test): Likewise.
1868         (scalb_test): Likewise.
1869         (scalbn_test): Likewise.
1870         (scalbln_test): Likewise.
1871         (signbit_test): Likewise.
1872         (sin_test): Likewise.
1873         (sin_test_tonearest): Likewise.
1874         (sin_test_towardzero): Likewise.
1875         (sin_test_downward): Likewise.
1876         (sin_test_upward): Likewise.
1877         (sincos_test): Likewise.
1878         (sinh_test): Likewise.
1879         (sinh_test_tonearest): Likewise.
1880         (sinh_test_towardzero): Likewise.
1881         (sinh_test_downward): Likewise.
1882         (sinh_test_upward): Likewise.
1883         (sqrt_test): Likewise.
1884         (tan_test): Likewise.
1885         (tan_test_tonearest): Likewise.
1886         (tan_test_towardzero): Likewise.
1887         (tan_test_downward): Likewise.
1888         (tan_test_upward): Likewise.
1889         (tanh_test): Likewise.
1890         (tgamma_test): Likewise.
1891         (trunc_test): Likewise.
1892         (y0_test): Likewise.
1893         (y1_test): Likewise.
1894         (yn_test): Likewise.
1895         (significand_test): Likewise.
1897 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
1899         [BZ #15381]
1900         * libio/genops.c (_IO_no_init): Initialize wide struct info.
1902 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
1904         [BZ #14894]
1905         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1906         __ppc_mdoio and __ppc_mdoom.
1907         * manual/platform.texi: Document new functions __ppc_yield,
1908         __ppc_mdoio and __ppc_mdoom.
1910 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
1912         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1913         (main): Mention "tls" pseudo-hwcap is legacy.
1914         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1916 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
1918         * math/gen-libm-test.pl (parse_args): Output only string of
1919         arguments as text for test name, not full call or descriptions of
1920         tests for extra outputs.
1921         (generate_testfile): Do not pass function name to parse_args.
1922         Generate this_func variable from START.
1923         * math/libm-test.inc (struct test_f_f_data): Rename test_name
1924         field to arg_str.
1925         (struct test_ff_f_data): Likewise.
1926         (test_ff_f_data_nexttoward): Likewise.
1927         (struct test_fi_f_data): Likewise.
1928         (struct test_fl_f_data): Likewise.
1929         (struct test_if_f_data): Likewise.
1930         (struct test_fff_f_data): Likewise.
1931         (struct test_c_f_data): Likewise.
1932         (struct test_f_f1_data): Likewise.  Remove field extra_name.
1933         (struct test_fF_f1_data): Likewise.
1934         (struct test_ffI_f1_data): Likewise.
1935         (struct test_c_c_data): Rename test_name field to arg_str.
1936         (struct test_cc_c_data): Likewise.
1937         (struct test_f_i_data): Likewise.
1938         (struct test_ff_i_data): Likewise.
1939         (struct test_f_l_data): Likewise.
1940         (struct test_f_L_data): Likewise.
1941         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
1942         and extra2_name.
1943         (COMMON_TEST_SETUP): New macro.
1944         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1945         (COMMON_TEST_CLEANUP): Likewise.
1946         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1947         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
1948         macros.
1949         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1950         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
1951         macros.
1952         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1953         (RUN_TEST_fff_f): Take argument string.  Call new setup and
1954         cleanup macros.
1955         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1956         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
1957         macros.
1958         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1959         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
1960         macros.
1961         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1962         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
1963         cleanup macros.
1964         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1965         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
1966         cleanup macros.
1967         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1968         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
1969         cleanup macros.
1970         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1971         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
1972         macros.
1973         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1974         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
1975         macros.
1976         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1977         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
1978         macros.
1979         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1980         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
1981         cleanup macros.
1982         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1983         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
1984         cleanup macros.
1985         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1986         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
1987         macros.
1988         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1989         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
1990         cleanup macros.
1991         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1992         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
1993         macros.
1994         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1995         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
1996         macros.
1997         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1998         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
1999         cleanup macros.
2000         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2002 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
2004         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2005         to _sifields.sigfault.
2006         (si_addr_lsb): Define new macro.
2007         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2008         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2009         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2011 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
2013         [BZ #15441]
2014         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2015         returns -1.
2016         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2017         null return -1.
2018         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2019         loading the domain.
2021 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
2023         * math/gen-libm-test.pl (parse_args): Do not include expected
2024         result in test name.
2025         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2026         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2027         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2028         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2029         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2032 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2034         * benchtests/Makefile: Sort function entries.
2036         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2037         tanh, asinh, acosh, atanh.
2038         * benchtests/acos-inputs: New file.
2039         * benchtests/acosh-inputs: New file.
2040         * benchtests/asin-inputs: New file.
2041         * benchtests/asinh-inputs: New file.
2042         * benchtests/atanh-inputs: New file.
2043         * benchtests/cosh-inputs: New file.
2044         * benchtests/log-inputs: New file.
2045         * benchtests/sinh-inputs: New file.
2046         * benchtests/tanh-inputs: New file.
2048 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
2050         [BZ #15339]
2051         * posix/tst-getaddrinfo4.c: New test.
2052         * posix/Makefile (tests): Add it.
2054 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2056         [BZ #15339]
2057         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2058         when no services were used.
2059         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2060         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2062 2013-05-21  Andreas Schwab  <schwab@suse.de>
2064         [BZ #15014]
2065         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2066         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2067         successful.
2068         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2069         redundant variable declarations and reallocation of buffer when
2070         parsing as IPv6 address.  Always set NSS status when called from
2071         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
2072         buffer too small.  Correct computation of needed size.
2073         * nss/Makefile (tests): Add test-digits-dots.
2074         * nss/test-digits-dots.c: New test.
2076 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2078         * benchtests/Makefile: Remove instructions for adding
2079         benchmark tests.
2080         * benchtests/README: New file to explain how to execute and
2081         enhance the benchmark tests.
2083 2013-05-21  Andreas Schwab  <schwab@suse.de>
2085         [BZ #15493]
2086         * setjmp/Makefile (tests): Add tst-sigsetjmp.
2087         * setjmp/tst-sigsetjmp.c: New test.
2089 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
2091         * sysdeps/x86_64/memset.S (memset): New implementation.
2092         (__bzero): Likewise.
2093         (__memset_tail): New function.
2095 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
2097         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2098         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2099         __memcpy_sse2_unaligned ifunc selection.
2100         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2101         Add memcpy-sse2-unaligned.S.
2102         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2103         Add: __memcpy_sse2_unaligned.
2105 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
2107         [BZ #15490]
2108         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2109         math_force_eval before restoring floating-point envrionment.
2110         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2111         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2112         Likewise.
2113         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2114         <math_private.h>.
2115         (__nearbyintl): Use math_force_eval before restoring
2116         floating-point environment.
2117         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2119         * math/gen-libm-test.pl (special_functions): Remove.
2120         (parse_args): Don't handle TEST_extra.  Handle functions with no
2121         return value.
2122         * math/libm-test.inc (struct test_sincos_data): Replace with
2123         struct test_fFF_11_data.
2124         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2125         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2126         (sincos_test_data): Change element type to struct
2127         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
2128         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2129         RUN_TEST_LOOP_sincos.
2130         * math/README.libm-test: Don't mention special handling of
2131         individual functions.
2132         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2133         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2134         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2135         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2136         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2139         * math/gen-libm-test.pl (get_variable): Remove function.
2140         (parse_args): Don't show pointer parameters to call in test
2141         names.  Use "extra output N" in test names for extra outputs
2142         rather than naming variables.
2144 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
2146         [BZ #15488]
2147         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2148         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2149         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2150         double tests.
2151         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2152         disable.
2153         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2154         check_long_double.
2156         * math/gen-libm-test.pl (@tests): Remove variable.
2157         ($count): Likewise.
2158         (new_test): Remove function.
2159         (show_exceptions): New function.
2160         (special_functions): Use show_exceptions instead of new_test.
2161         (parse_args): Likewise.
2162         (generate_testfile): Pass only function name in generated call to
2163         print_max_error or print_complex_max_error.
2164         (get_ulps): Do not handle complex tests specially.
2165         (output_test): Rename to ...
2166         (get_all_ulps_for_test): ... this.  Return a string rather than
2167         printing to a file.  Require ulps to be present.
2168         (output_ulps): Generate arrays rather than #defines.
2169         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2170         (struct ulp_data): New type.
2171         (BUILD_COMPLEX_ULP): Remove macro.
2172         (compare_ulp_data): New function.
2173         (find_ulps): Likewise.
2174         (find_test_ulps): Likewise.
2175         (find_function_ulps): Likewise.
2176         (find_complex_function_ulps): Likewise.
2177         (print_max_error): Determine allowed ulps using
2178         find_function_ulps.
2179         (print_complex_max_error): Determine allowed ulps using
2180         find_complex_function_ulps.
2181         (check_float_internal): Determine max ulps using find_test_ulps.
2182         (check_float): Do not take max_ulp parameter.  Update call to
2183         check_float_internal.
2184         (check_complex): Likewise.
2185         (check_int): Do not take max_ulp parameter.
2186         (check_long): Likewise.
2187         (check_bool): Likewise.
2188         (check_longlong): Likewise.
2189         (struct test_f_f_data): Remove max_ulp field.
2190         (struct test_ff_f_data): Likewise.
2191         (struct test_ff_f_data_nexttoward): Likewise.
2192         (struct test_fi_f_data): Likewise.
2193         (struct test_fl_f_data): Likewise.
2194         (struct test_if_f_data): Likewise.
2195         (struct test_fff_f_data): Likewise.
2196         (struct test_c_f_data): Likewise.
2197         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2198         (struct test_fF_f1_data): Likewise.
2199         (struct test_ffI_f1_data): Likewise.
2200         (struct test_c_c_data): Remove max_ulp field.
2201         (struct test_cc_c_data): Likewise.
2202         (struct test_f_i_data): Likewise.
2203         (struct test_ff_i_data): Likewise.
2204         (struct test_f_l_data): Likewise.
2205         (struct test_f_L_data): Likewise.
2206         (struct test_sincos_data): Likewise.
2207         (RUN_TEST_f_f): Do not handle ulps.
2208         (RUN_TEST_LOOP_f_f): Likewise.
2209         (RUN_TEST_2_f): Likewise.
2210         (RUN_TEST_LOOP_2_f): Likewise.
2211         (RUN_TEST_fff_f): Likewise.
2212         (RUN_TEST_LOOP_fff_f): Likewise.
2213         (RUN_TEST_c_f): Likewise.
2214         (RUN_TEST_LOOP_c_f): Likewise.
2215         (RUN_TEST_f_f1): Likewise.
2216         (RUN_TEST_LOOP_f_f1): Likewise.
2217         (RUN_TEST_fF_f1): Likewise.
2218         (RUN_TEST_LOOP_fF_f1): Likewise.
2219         (RUN_TEST_fI_f1): Likewise.
2220         (RUN_TEST_LOOP_fI_f1): Likewise.
2221         (RUN_TEST_ffI_f1): Likewise.
2222         (RUN_TEST_LOOP_ffI_f1): Likewise.
2223         (RUN_TEST_c_c): Likewise.
2224         (RUN_TEST_LOOP_c_c): Likewise.
2225         (RUN_TEST_cc_c): Likewise.
2226         (RUN_TEST_LOOP_cc_c): Likewise.
2227         (RUN_TEST_f_i): Likewise.
2228         (RUN_TEST_LOOP_f_i): Likewise.
2229         (RUN_TEST_f_i_tg): Likewise.
2230         (RUN_TEST_LOOP_f_i_tg): Likewise.
2231         (RUN_TEST_ff_i_tg): Likewise.
2232         (RUN_TEST_LOOP_ff_i_tg): Likewise.
2233         (RUN_TEST_f_b): Likewise.
2234         (RUN_TEST_LOOP_f_b): Likewise.
2235         (RUN_TEST_f_b_tg): Likewise.
2236         (RUN_TEST_LOOP_f_b_tg): Likewise.
2237         (RUN_TEST_f_l): Likewise.
2238         (RUN_TEST_LOOP_f_l): Likewise.
2239         (RUN_TEST_f_L): Likewise.
2240         (RUN_TEST_LOOP_f_L): Likewise.
2241         (RUN_TEST_sincos): Likewise.
2242         (RUN_TEST_LOOP_sincos): Likewise.
2244 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
2246         [BZ #15480]
2247         [BZ #15485]
2248         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2249         main case of finite arguments, set rounding mode to FE_TONEAREST
2250         and discard exceptions.
2251         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2252         exceptions.
2253         (remainder_tonearest_test_data): New variable.
2254         (remainder_test_tonearest): New function.
2255         (remainder_towardzero_test_data): New variable.
2256         (remainder_test_towardzero): New function.
2257         (remainder_downward_test_data): New variable.
2258         (remainder_test_downward): New function.
2259         (remainder_upward_test_data): New variable.
2260         (remainder_test_upward): New function.
2261         (main): Call the new test functions.
2263         * math/libm-test.inc (struct test_f_f1_data): Remove field
2264         extra_init.
2265         (struct test_fF_f1_data): Likewise.
2266         (struct test_ffI_f1_data): Likewise.
2267         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
2268         based on value of EXTRA_EXPECTED.
2269         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2270         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
2271         EXTRA_VAR based on value of EXTRA_EXPECTED.
2272         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2273         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
2274         EXTRA_VAR based on value of EXTRA_EXPECTED.
2275         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2276         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
2277         EXTRA_VAR based on value of EXTRA_EXPECTED.
2278         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2279         * math/gen-libm-test.pl (parse_args): Don't output initializers
2280         for extra output values.
2282         * math/libm-test.inc (check_int): Expect result to be exactly
2283         equal to expected value and do not handle ulps.
2284         (check_long): Likewise.
2285         (check_longlong): Likewise.
2287         * math/libm-test.inc (ceil_test_data): Test for "inexact"
2288         exceptions.
2289         (cimag_test_data): Likewise.
2290         (conj_test_data): Likewise.
2291         (copysign_test_data): Likewise.
2292         (cproj_test_data): Likewise.
2293         (creal_test_data): Likewise.
2294         (fabs_test_data): Likewise.
2295         (fdim_test_data): Likewise.
2296         (finite_test_data): Likewise.
2297         (floor_test_data): Likewise.
2298         (fmax_test_data): Likewise.
2299         (fmin_test_data): Likewise.
2300         (fmod_test_data): Likewise.
2301         (fpclassify_test_data): Likewise.
2302         (frexp_test_data): Likewise.
2303         (ilogb_test_data): Likewise.
2304         (isfinite_test_data): Likewise.
2305         (isgreater_test_data): Likewise.
2306         (isgreaterequal_test_data): Likewise.
2307         (isinf_test_data): Likewise.
2308         (isless_test_data): Likewise.
2309         (islessequal_test_data): Likewise.
2310         (islessgreater_test_data): Likewise.
2311         (isnan_test_data): Likewise.
2312         (isnormal_test_data): Likewise.
2313         (issignaling_test_data): Likewise.
2314         (isunordered_test_data): Likewise.
2315         (ldexp_test_data): Likewise.
2316         (lrint_test_data): Likewise.
2317         (lrint_test_data) [TEST_FLOAT]: Disable one test.
2318         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2319         (lrint_tonearest_test_data): Test for "inexact" exceptions.
2320         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2321         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2322         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2323         test input.
2324         (lrint_towardzero_test_data): Test for "inexact" exceptions.
2325         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2326         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2327         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2328         that test input.
2329         (lrint_downward_test_data): Test for "inexact" exceptions.
2330         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2331         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2332         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2333         test input.
2334         (lrint_upward_test_data): Test for "inexact" exceptions.
2335         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2336         test input.
2337         (llrint_test_data): Test for "inexact" exceptions.
2338         (llrint_test_data) [TEST_FLOAT]: Disable one test.
2339         (llrint_tonearest_test_data): Test for "inexact" exceptions.
2340         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2341         (llrint_towardzero_test_data): Test for "inexact" exceptions.
2342         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2343         (llrint_downward_test_data): Test for "inexact" exceptions.
2344         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2345         (llrint_upward_test_data): Test for "inexact" exceptions.
2346         (logb_test_data): Likewise.
2347         (logb_downward_test_data): Likewise.
2348         (nextafter_test_data): Likewise.
2349         (nexttoward_test_data): Likewise.
2350         (remainder_test_data): Likewise.
2351         (remquo_test_data): Likewise.
2352         (scalbn_test_data): Likewise.
2353         (scalbln_test_data): Likewise.
2354         (signbit_test_data): Likewise.
2355         (sqrt_test_data): Likewise.
2356         (significand_test_data): Likewise.
2358 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2360         [BZ #15424]
2361         * benchtests/bench-modf.c (struct args): Mark arg0 as
2362         volatile.
2363         * scripts/bench.pl: Mark members of struct args as volatile.
2365 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2367         [BZ # 15497]
2368         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2369         negative infinity on POWER6 or lower.
2370         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2372 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
2374         [BZ #15442]
2375         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2376         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2377         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2378         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2379         (_FP_SETQNAN): New macro.
2380         (_FP_SETQNAN_SEMIRAW): Likewise.
2381         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2382         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2383         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2384         (FP_EXTEND): Use _FP_FRAC_SNANP.
2385         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2386         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2387         into account.
2388         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2389         New macro.
2390         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2391         Likewise.
2393 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
2395         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2396         with DIVIDE_BY_ZERO_EXCEPTION.
2397         (gamma_test_data): Likewise.
2398         (lgamma_test_data): Likewise.
2399         (log_test_data): Likewise.
2400         (log10_test_data): Likewise.
2401         (log2_test_data): Likewise.
2402         (tgamma_test_data): Likewise.
2404         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2405         (acos_test_tonearest): Likewise.
2406         (acos_test_towardzero): Likewise.
2407         (acos_test_downward): Likewise.
2408         (acos_test_upward): Likewise.
2409         (acosh_test): Likewise.
2410         (asin_test): Likewise.
2411         (asin_test_tonearest): Likewise.
2412         (asin_test_towardzero): Likewise.
2413         (asin_test_downward): Likewise.
2414         (asin_test_upward): Likewise.
2415         (asinh_test): Likewise.
2416         (atan_test): Likewise.
2417         (atanh_test): Likewise.
2418         (atan2_test): Likewise.
2419         (cabs_test): Likewise.
2420         (cacos_test): Likewise.
2421         (cacosh_test): Likewise.
2422         (casin_test): Likewise.
2423         (casinh_test): Likewise.
2424         (catan_test): Likewise.
2425         (catanh_test): Likewise.
2426         (cbrt_test): Likewise.
2427         (ccos_test): Likewise.
2428         (ccosh_test): Likewise.
2429         (cexp_test): Likewise.
2430         (clog_test): Likewise.
2431         (clog10_test): Likewise.
2432         (cos_test): Likewise.
2433         (cos_test_tonearest): Likewise.
2434         (cos_test_towardzero): Likewise.
2435         (cos_test_downward): Likewise.
2436         (cos_test_upward): Likewise.
2437         (cosh_test): Likewise.
2438         (cosh_test_tonearest): Likewise.
2439         (cosh_test_towardzero): Likewise.
2440         (cosh_test_downward): Likewise.
2441         (cosh_test_upward): Likewise.
2442         (cpow_test): Likewise.
2443         (csin_test): Likewise.
2444         (csinh_test): Likewise.
2445         (csqrt_test): Likewise.
2446         (ctan_test): Likewise.
2447         (ctan_test_tonearest): Likewise.
2448         (ctan_test_towardzero): Likewise.
2449         (ctan_test_downward): Likewise.
2450         (ctan_test_upward): Likewise.
2451         (ctanh_test): Likewise.
2452         (ctanh_test_tonearest): Likewise.
2453         (ctanh_test_towardzero): Likewise.
2454         (ctanh_test_downward): Likewise.
2455         (ctanh_test_upward): Likewise.
2456         (erf_test): Likewise.
2457         (erfc_test): Likewise.
2458         (exp_test): Likewise.
2459         (exp_test_tonearest): Likewise.
2460         (exp_test_towardzero): Likewise.
2461         (exp_test_downward): Likewise.
2462         (exp_test_upward): Likewise.
2463         (exp10_test): Likewise.
2464         (exp2_test): Likewise.
2465         (expm1_test): Likewise.
2466         (fmod_test): Likewise.
2467         (gamma_test): Likewise.
2468         (hypot_test): Likewise.
2469         (j0_test): Likewise.
2470         (j1_test): Likewise.
2471         (jn_test): Likewise.
2472         (lgamma_test): Likewise.
2473         (log_test): Likewise.
2474         (log10_test): Likewise.
2475         (log1p_test): Likewise.
2476         (log2_test): Likewise.
2477         (logb_test_downward): Likewise.
2478         (pow_test): Likewise.
2479         (pow_test_tonearest): Likewise.
2480         (pow_test_towardzero): Likewise.
2481         (pow_test_downward): Likewise.
2482         (pow_test_upward): Likewise.
2483         (remainder_test): Likewise.
2484         (remquo_test): Likewise.
2485         (sin_test): Likewise.
2486         (sin_test_tonearest): Likewise.
2487         (sin_test_towardzero): Likewise.
2488         (sin_test_downward): Likewise.
2489         (sin_test_upward): Likewise.
2490         (sincos_test): Likewise.
2491         (sinh_test): Likewise.
2492         (sinh_test_tonearest): Likewise.
2493         (sinh_test_towardzero): Likewise.
2494         (sinh_test_downward): Likewise.
2495         (sinh_test_upward): Likewise.
2496         (sqrt_test): Likewise.
2497         (tan_test): Likewise.
2498         (tan_test_tonearest): Likewise.
2499         (tan_test_towardzero): Likewise.
2500         (tan_test_downward): Likewise.
2501         (tan_test_upward): Likewise.
2502         (tanh_test): Likewise.
2503         (tgamma_test): Likewise.
2504         (y0_test): Likewise.
2505         (y1_test): Likewise.
2506         (yn_test): Likewise.
2508         * math/gen-libm-test.pl (adjust_arg): Remove function.
2509         (special_function): Remove argument $in_func.  Only handle
2510         generating output for tables of tests, not inside functions.
2511         (parse_args): Likewise.
2512         (generate_testfile): Remove variable $in_func.  Update call to
2513         parse_args.
2514         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2515         (MINUS_ZERO_INIT): Rename macro to minus_zero.
2516         (PLUS_INFTY_INIT): Rename macro to plus_infty.
2517         (MINUS_INFTY_INIT): Rename macro to minus_infty.
2518         (QNAN_VALUE_INIT): Rename macro to qnan_value.
2519         (MAX_VALUE_INIT): Rename macro to max_value.
2520         (MIN_VALUE_INIT): Rename macro to min_value.
2521         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2522         (plus_zero): Remove variable.
2523         (minus_zero): Likewise.
2524         (plus_infty): Likewise.
2525         (minus_infty): Likewise.
2526         (qnan_value): Likewise.
2527         (max_value): Likewise.
2528         (min_value): Likewise.
2529         (min_subnorm_value): Likewise.
2531 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2533         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2534         uint64_t or uint32_t usage.
2535         * crypt/sha256-block.c: Likewise.
2536         * crypt/sha256-crypt.c: Likewise.
2537         * crypt/sha256.c: Likewise.
2538         * crypt/sha512-block.c: Likewise.
2539         * crypt/sha512-crypt.c: Likewise.
2540         * crypt/sha512.c: Likewise.
2541         * debug/backtrace-tst.c: Likewise.
2542         * debug/pcprofiledump.c: Likewise.
2543         * elf/cache.c: Likewise.
2544         * elf/dl-cache.c: Likewise.
2545         * elf/dl-misc.c: Likewise.
2546         * elf/dl-profile.c: Likewise.
2547         * elf/dl-support.c: Likewise.
2548         * elf/ldconfig.c: Likewise.
2549         * elf/sprof.c: Likewise.
2550         * iconv/dummy-repertoire.c: Likewise.
2551         * iconv/iconv_charmap.c: Likewise.
2552         * iconv/skeleton.c: Likewise.
2553         * iconvdata/8bit-generic.c: Likewise.
2554         * iconvdata/cp737.h: Likewise.
2555         * iconvdata/cp775.h: Likewise.
2556         * iconvdata/ibm1008.h: Likewise.
2557         * iconvdata/ibm1025.h: Likewise.
2558         * iconvdata/ibm1046.h: Likewise.
2559         * iconvdata/ibm1097.h: Likewise.
2560         * iconvdata/ibm1112.h: Likewise.
2561         * iconvdata/ibm1122.h: Likewise.
2562         * iconvdata/ibm1123.h: Likewise.
2563         * iconvdata/ibm1124.h: Likewise.
2564         * iconvdata/ibm1129.h: Likewise.
2565         * iconvdata/ibm1130.h: Likewise.
2566         * iconvdata/ibm1132.h: Likewise.
2567         * iconvdata/ibm1133.h: Likewise.
2568         * iconvdata/ibm1137.h: Likewise.
2569         * iconvdata/ibm1140.h: Likewise.
2570         * iconvdata/ibm1141.h: Likewise.
2571         * iconvdata/ibm1142.h: Likewise.
2572         * iconvdata/ibm1143.h: Likewise.
2573         * iconvdata/ibm1144.h: Likewise.
2574         * iconvdata/ibm1145.h: Likewise.
2575         * iconvdata/ibm1146.h: Likewise.
2576         * iconvdata/ibm1147.h: Likewise.
2577         * iconvdata/ibm1148.h: Likewise.
2578         * iconvdata/ibm1149.h: Likewise.
2579         * iconvdata/ibm1153.h: Likewise.
2580         * iconvdata/ibm1154.h: Likewise.
2581         * iconvdata/ibm1155.h: Likewise.
2582         * iconvdata/ibm1156.h: Likewise.
2583         * iconvdata/ibm1157.h: Likewise.
2584         * iconvdata/ibm1158.h: Likewise.
2585         * iconvdata/ibm1160.h: Likewise.
2586         * iconvdata/ibm1161.h: Likewise.
2587         * iconvdata/ibm1162.h: Likewise.
2588         * iconvdata/ibm1163.h: Likewise.
2589         * iconvdata/ibm1164.h: Likewise.
2590         * iconvdata/ibm1166.h: Likewise.
2591         * iconvdata/ibm1167.h: Likewise.
2592         * iconvdata/ibm12712.h: Likewise.
2593         * iconvdata/ibm1390.h: Likewise.
2594         * iconvdata/ibm1399.h: Likewise.
2595         * iconvdata/ibm16804.h: Likewise.
2596         * iconvdata/ibm4517.h: Likewise.
2597         * iconvdata/ibm4899.h: Likewise.
2598         * iconvdata/ibm4909.h: Likewise.
2599         * iconvdata/ibm4971.h: Likewise.
2600         * iconvdata/ibm5347.h: Likewise.
2601         * iconvdata/ibm803.h: Likewise.
2602         * iconvdata/ibm856.h: Likewise.
2603         * iconvdata/ibm901.h: Likewise.
2604         * iconvdata/ibm902.h: Likewise.
2605         * iconvdata/ibm9030.h: Likewise.
2606         * iconvdata/ibm9066.h: Likewise.
2607         * iconvdata/ibm921.h: Likewise.
2608         * iconvdata/ibm922.h: Likewise.
2609         * iconvdata/ibm9448.h: Likewise.
2610         * iconvdata/isiri-3342.h: Likewise.
2611         * iconvdata/jis0201.h: Likewise.
2612         * include/link.h: Likewise.
2613         * include/netdb.h: Likewise.
2614         * inet/check_native.c: Likewise.
2615         * inet/check_pf.c: Likewise.
2616         * inet/getipv4sourcefilter.c: Likewise.
2617         * inet/getnameinfo.c: Likewise.
2618         * inet/getsourcefilter.c: Likewise.
2619         * inet/htonl.c: Likewise.
2620         * inet/setipv4sourcefilter.c: Likewise.
2621         * inet/setsourcefilter.c: Likewise.
2622         * inet/test-inet6_opt.c: Likewise.
2623         * inet/tst-network.c: Likewise.
2624         * locale/C-collate.c: Likewise.
2625         * locale/C-ctype.c: Likewise.
2626         * locale/C-time.c: Likewise.
2627         * locale/C-translit.h: Likewise.
2628         * locale/loadarchive.c: Likewise.
2629         * locale/programs/3level.h: Likewise.
2630         * locale/programs/charmap.c: Likewise.
2631         * locale/programs/charmap.h: Likewise.
2632         * locale/programs/ld-address.c: Likewise.
2633         * locale/programs/ld-collate.c: Likewise.
2634         * locale/programs/ld-ctype.c: Likewise.
2635         * locale/programs/ld-identification.c: Likewise.
2636         * locale/programs/ld-measurement.c: Likewise.
2637         * locale/programs/ld-messages.c: Likewise.
2638         * locale/programs/ld-monetary.c: Likewise.
2639         * locale/programs/ld-name.c: Likewise.
2640         * locale/programs/ld-numeric.c: Likewise.
2641         * locale/programs/ld-paper.c: Likewise.
2642         * locale/programs/ld-telephone.c: Likewise.
2643         * locale/programs/ld-time.c: Likewise.
2644         * locale/programs/linereader.c: Likewise.
2645         * locale/programs/locale.c: Likewise.
2646         * locale/programs/locarchive.c: Likewise.
2647         * locale/programs/locfile.h: Likewise.
2648         * locale/programs/repertoire.c: Likewise.
2649         * locale/programs/simple-hash.c: Likewise.
2650         * locale/programs/simple-hash.h: Likewise.
2651         * malloc/memusage.c: Likewise.
2652         * malloc/memusagestat.c: Likewise.
2653         * nis/nis_defaults.c: Likewise.
2654         * nis/nis_hash.c: Likewise.
2655         * nis/nis_print.c: Likewise.
2656         * nis/nis_xdr.c: Likewise.
2657         * nscd/connections.c: Likewise.
2658         * nscd/hstcache.c: Likewise.
2659         * nscd/nscd_gethst_r.c: Likewise.
2660         * nscd/nscd_getserv_r.c: Likewise.
2661         * nscd/nscd_helper.c: Likewise.
2662         * nscd/servicescache.c: Likewise.
2663         * nss/makedb.c: Likewise.
2664         * nss/nss_db/db-XXX.c: Likewise.
2665         * nss/nss_db/db-initgroups.c: Likewise.
2666         * nss/nss_db/db-netgrp.c: Likewise.
2667         * nss/nss_files/files-network.c: Likewise.
2668         * nss/nss_files/files-parse.c: Likewise.
2669         * posix/bug-regex5.c: Likewise.
2670         * posix/fnmatch_loop.c: Likewise.
2671         * posix/regcomp.c: Likewise.
2672         * posix/regexec.c: Likewise.
2673         * posix/tst-rfc3484-2.c: Likewise.
2674         * posix/tst-rfc3484-3.c: Likewise.
2675         * posix/tst-rfc3484.c: Likewise.
2676         * resolv/nss_dns/dns-canon.c: Likewise.
2677         * resolv/nss_dns/dns-network.c: Likewise.
2678         * resolv/res_init.c: Likewise.
2679         * resolv/res_mkquery.c: Likewise.
2680         * resolv/tst-aton.c: Likewise.
2681         * stdlib/cxa_atexit.c: Likewise.
2682         * stdlib/cxa_finalize.c: Likewise.
2683         * stdlib/gen-fpioconst.c: Likewise.
2684         * stdlib/strtol_l.c: Likewise.
2685         * string/tst-endian.c: Likewise.
2686         * sunrpc/auth_des.c: Likewise.
2687         * sunrpc/clnt_udp.c: Likewise.
2688         * sunrpc/rtime.c: Likewise.
2689         * sunrpc/svcauth_des.c: Likewise.
2690         * sunrpc/xdr.c: Likewise.
2691         * sunrpc/xdr_intXX_t.c: Likewise.
2692         * sunrpc/xdr_rec.c: Likewise.
2693         * sysdeps/generic/ldconfig.h: Likewise.
2694         * sysdeps/generic/ldsodefs.h: Likewise.
2695         * sysdeps/generic/memusage.h: Likewise.
2696         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2697         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2698         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2699         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2700         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2701         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2702         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2703         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2704         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2705         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2706         * sysdeps/posix/getaddrinfo.c: Likewise.
2707         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2708         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2709         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2710         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2711         * sysdeps/powerpc/test-gettimebase.c: Likewise.
2712         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2713         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2714         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2715         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2716         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2717         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2718         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2719         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2720         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2721         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2722         * sysdeps/x86_64/dl-tls.h: Likewise.
2723         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2724         * time/alt_digit.c: Likewise.
2725         * time/era.c: Likewise.
2726         * wcsmbs/tst-c16c32-1.c: Likewise.
2728 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
2730         * math/libm-test.inc (struct test_sincos_data): New type.
2731         (RUN_TEST_LOOP_sincos): New macro.
2732         (sincos_test_data): New variable.
2733         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2735 2013-05-16  Richard Henderson  <rth@redhat.com>
2737         * math/atest-exp2.c (LIMB64): New macro.
2738         (CONSTSZ): New macro.
2739         (mp_exp1, mp_exp_m1, mp_log2): New variables.
2740         (hexdig): Move ...
2741         (print_mpn_fp): ... to function scope.
2742         (read_mpn_hex): Remove.
2743         (get_log2): Remove.
2744         (exp2_mpn): Use mp_log2.
2745         (main): Use mp_exp1.
2747 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
2749         * math/libm-test.inc: Remove comment about not testing "inexact"
2750         exceptions.
2751         (INEXACT_EXCEPTION): New macro.
2752         (NO_INEXACT_EXCEPTION): Likewise.
2753         (INVALID_EXCEPTION_OK): Update value.
2754         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2755         (OVERFLOW_EXCEPTION_OK): Likewise.
2756         (UNDERFLOW_EXCEPTION_OK): Likewise.
2757         (IGNORE_ZERO_INF_SIGN): Likewise.
2758         (ERRNO_UNCHANGED): Likewise.
2759         (ERRNO_EDOM): Likewise.
2760         (ERRNO_ERANGE): Likewise.
2761         (test_exceptions): Handle testing "inexact" exceptions.
2762         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2763         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2764         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2765         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2766         INEXACT_EXCEPTION.
2767         (rint_towardzero_test_data): Likewise.
2768         (rint_downward_test_data): Likewise.
2769         (rint_upward_test_data): Likewise.
2771         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2772         with OVERFLOW_EXCEPTION.
2773         (exp10_test_data): Likewise.
2774         (exp2_test_data): Likewise.
2775         (expm1_test_data): Likewise.
2776         (lgamma_test_data): Likewise.
2777         (pow_test_data): Likewise.
2778         (tgamma_test_data): Likewise.
2779         (yn_test_data): Remove duplicate test of overflow.
2781         * math/libm-test.inc (struct test_cc_c_data): New type.
2782         (RUN_TEST_LOOP_cc_c): New macro.
2783         (cpow_test_data): New variable.
2784         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2786         * math/libm-test.inc (struct test_f_L_data): New type.
2787         (RUN_TEST_LOOP_f_L): New macro.
2788         (llrint_test_data): New variable.
2789         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2790         (llrint_tonearest_test_data): New variable.
2791         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2792         (llrint_towardzero_test_data): New variable.
2793         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2794         (llrint_downward_test_data): New variable.
2795         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2796         (llrint_upward_test_data): New variable.
2797         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2798         (llround_test_data): New variable.
2799         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2801 2013-05-13  Peter Collingbourne  <pcc@google.com>
2803         * math/atest-exp2.c (get_log2): Remove const attribute.
2805 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
2807         * math/libm-test.inc (struct test_f_l_data): New type.
2808         (RUN_TEST_LOOP_f_l): New macro.
2809         (lrint_test_data): New variable.
2810         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2811         (lrint_tonearest_test_data): New variable.
2812         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2813         (lrint_towardzero_test_data): New variable.
2814         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2815         (lrint_downward_test_data): New variable.
2816         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2817         (lrint_upward_test_data): New variable.
2818         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2819         (lround_test_data): New variable.
2820         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2822 2013-05-15  Peter Collingbourne  <pcc@google.com>
2824         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2825         (EXTRACT_WORDS64) Use where appropriate.
2826         (INSERT_WORDS64) Likewise.
2828         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2829         constraints with x constraints.
2830         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2832         * malloc/obstack.c (_obstack_compat): Add initializer.
2834 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
2836         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2837         si_trapno and add si_addr_lsb to _sifields.sigfault.
2838         (si_trapno): Remove macro.
2839         (si_addr_lsb): Define new macro.
2840         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2842 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
2844         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2845         instead of TEST_f_l.
2846         (llrint_test_tonearest): Likewise.
2847         (llrint_test_towardzero): Likewise.
2848         (llrint_test_downward): Likewise.
2849         (llrint_test_upward): Likewise.
2850         (llround_test): Likewise.
2852         * math/libm-test.inc (struct test_f_i_data): Add comment.
2853         (RUN_TEST_LOOP_f_b): New macro.
2854         (RUN_TEST_LOOP_f_b_tg): Likewise.
2855         (finite_test_data): New variable.
2856         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2857         (isfinite_test_data): New variable.
2858         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2859         (isinf_test_data): New variable.
2860         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2861         (isnan_test_data): New variable.
2862         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2863         (isnormal_test_data): New variable.
2864         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2865         (issignaling_test_data): New variable.
2866         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2867         (signbit_test_data): New variable.
2868         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2870         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2871         with INVALID_EXCEPTION.
2872         (acosh_test_data): Likewise.
2873         (asin_test_data): Likewise.
2874         (atanh_test_data): Likewise.
2875         (fmod_test_data): Likewise.
2876         (log_test_data): Likewise.
2877         (log10_test_data): Likewise.
2878         (log2_test_data): Likewise.
2879         (pow_test_data): Likewise.
2880         (sqrt_test_data): Likewise.
2881         (y0_test_data): Likewise.
2882         (y1_test_data): Likewise.
2883         (yn_test_data): Likewise.
2885         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2886         function contents.
2888         * math/libm-test.inc (struct test_ff_i_data): New type.
2889         (RUN_TEST_LOOP_ff_i_tg): New macro.
2890         (isgreater_test_data): New variable.
2891         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2892         (isgreaterequal_test_data): New variable.
2893         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2894         (isless_test_data): New variable.
2895         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2896         (islessequal_test_data): New variable.
2897         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2898         (islessgreater_test_data): New variable.
2899         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2900         (isunordered_test_data): New variable.
2901         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2903 2013-05-14  David S. Miller  <davem@davemloft.net>
2905         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2907 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
2909         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2911         * math/libm-test.inc (struct test_fF_f1_data): Change type of
2912         extra_test to int.
2913         (struct test_f_i_data): Change type of max_ulp to int.
2915         * math/libm-test.inc (test_ffI_f1_data): New type.
2916         (RUN_TEST_LOOP_ffI_f1): New macro.
2917         (remquo_test_data): New variable.
2918         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2920         * setjmp/tst-setjmp-fp.c: New file.
2921         * setjmp/Makefile (tests): Add tst-setjmp-fp.
2922         (link-libm): New variable.
2923         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2925         * math/libm-test.inc (struct test_f_i_data): New type.
2926         (RUN_TEST_LOOP_f_i): New macro.
2927         (RUN_TEST_LOOP_f_i_tg): Likewise.
2928         (fpclassify_test_data): New variable.
2929         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2930         (ilogb_test_data): New variable.
2931         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2933         * math/libm-test.inc (scalbln_test): Correct function name in END
2934         call.
2936         * math/libm-test.inc (struct test_f_f1_data): Add comment.
2937         (RUN_TEST_LOOP_fI_f1): New macro.
2938         (frexp_test_data): New variable.
2939         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2941         * math/libm-test.inc (struct test_fF_f1_data): New type.
2942         (RUN_TEST_LOOP_fF_f1): New macro.
2943         (modf_test_data): New variable.
2944         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2946         * math/libm-test.inc (struct test_f_f1_data): New type.
2947         (RUN_TEST_LOOP_f_f1): New macro.
2948         (gamma_test_data): New variable.
2949         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2950         (lgamma_test_data): New variable.
2951         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2953 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
2955         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2956         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2957         (main): Comment "tls" pseudo-hwcap.
2959 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
2961         * math/libm-test.inc (struct test_fl_f_data): New type.
2962         (RUN_TEST_LOOP_fl_f): New variable.
2963         (scalbln_test_data): New variable.
2964         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2966         * math/libm-test.inc (struct test_fi_f_data): New type.
2967         (RUN_TEST_LOOP_fi_f): New macro.
2968         (ldexp_test_data): New variable.
2969         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2970         (scalbn_test_data): New variable.
2971         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2973         * math/libm-test.inc (struct test_c_f_data): New type.
2974         (RUN_TEST_LOOP_c_f): New macro.
2975         (cabs_test_data): New variable.
2976         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2977         (carg_test_data): New variable.
2978         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2979         (cimag_test_data): New variable.
2980         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2981         (creal_test_data): New variable.
2982         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2984         * math/libm-test.inc (struct test_if_f_data): New type.
2985         (RUN_TEST_LOOP_if_f): New macro.
2986         (jn_test_data): New variable.
2987         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2988         (yn_test_data): New variable.
2989         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2991         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2993 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2995         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2996         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2998 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3000         * benchtests/Makefile (CPPFLAGS-nonlib): Add
3001         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3002         (bench-deps): Add bench-timing.h.
3003         * benchtests-bench-skeleton.c: Include bench-timing.h.
3004         (main): Use TIMING_* macros instead of clock_gettime.
3005         * benchtests/bench-timing.h: New file.
3007         [BZ #14582]
3008         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3009         Renamed from _LIB_VERSION.
3010         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3012 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
3014         * math/libm-test.inc (struct test_fff_f_data): New type.
3015         (RUN_TEST_LOOP_fff_f): New macro.
3016         (fma_test_data): New variable.
3017         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3018         (fma_towardzero_test_data): New variable.
3019         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3020         (fma_downward_test_data): New variable.
3021         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3022         (fma_upward_test_data): New variable.
3023         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3025         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3026         (struct test_c_c_data): New type.
3027         (RUN_TEST_LOOP_c_c): New macro.
3028         (cacos_test_data): New variable.
3029         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3030         (cacosh_test_data): New variable.
3031         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3032         (casin_test_data): New variable.
3033         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3034         (casinh_test_data): New variable.
3035         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3036         (catan_test_data): New variable.
3037         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3038         (catanh_test_data): New variable.
3039         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3040         (ccos_test_data): New variable.
3041         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3042         (ccosh_test_data): New variable.
3043         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3044         (cexp_test_data): New variable.
3045         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3046         (clog_test_data): New variable.
3047         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3048         (clog10_test_data): New variable.
3049         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3050         (conj_test_data): New variable.
3051         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3052         (cproj_test_data): New variable.
3053         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3054         (csin_test_data): New variable.
3055         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3056         (csinh_test_data): New variable.
3057         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3058         (csqrt_test_data): New variable.
3059         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3060         (ctan_test_data): New variable.
3061         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3062         (ctan_tonearest_test_data): New variable.
3063         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3064         (ctan_towardzero_test_data): New variable.
3065         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3066         (ctan_downward_test_data): New variable.
3067         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3068         (ctan_upward_test_data): New variable.
3069         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3070         (ctanh_test_data): New variable.
3071         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3072         (ctanh_tonearest_test_data): New variable.
3073         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3074         (ctanh_towardzero_test_data): New variable.
3075         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3076         (ctanh_downward_test_data): New variable.
3077         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3078         (ctanh_upward_test_data): New variable.
3079         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3080         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3081         of BUILD_COMPLEX.
3083         * math/libm-test.inc (struct test_ff_f_data): New type.
3084         (struct test_ff_f_data_nexttoward): Likewise.
3085         (RUN_TEST_LOOP_2_f): New macro.
3086         (RUN_TEST_LOOP_ff_f): Likewise.
3087         (atan2_test_data): New variable.
3088         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3089         (copysign_test_data): New variable.
3090         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3091         (fdim_test_data): New variable.
3092         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3093         (fmax_test_data): New variable.
3094         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3095         (fmin_test_data): New variable.
3096         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3097         (fmod_test_data): New variable.
3098         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3099         (hypot_test_data): New variable.
3100         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3101         (nextafter_test_data): New variable.
3102         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3103         (nexttoward_test_data): New variable.
3104         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3105         (pow_test_data): New variable.
3106         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3107         (pow_tonearest_test_data): New variable.
3108         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3109         (pow_towardzero_test_data): New variable.
3110         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3111         (pow_downward_test_data): New variable.
3112         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3113         (pow_upward_test_data): New variable.
3114         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3115         (remainder_test_data): New variable.
3116         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3117         (scalb_test_data): New variable.
3118         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3119         * sysdeps/i386/fpu/libm-test-ulps: Update.
3121 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
3123         * math/libm-test.inc (fma_test): Use max_value instead of local
3124         variable fltmax.
3125         (nextafter_test): Likewise.
3127         * math/libm-test.inc (acos_towardzero_test_data): New variable.
3128         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3129         (acos_downward_test_data): New variable.
3130         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3131         (acos_upward_test_data): New variable.
3132         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3133         (acosh_test_data): New variable.
3134         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3135         (asin_test_data): New variable.
3136         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3137         (asin_tonearest_test_data): New variable.
3138         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3139         (asin_towardzero_test_data): New variable.
3140         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3141         (asin_downward_test_data): New variable.
3142         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3143         (asin_upward_test_data): New variable.
3144         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3145         (asinh_test_data): New variable.
3146         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3147         (atan_test_data): New variable.
3148         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3149         (atanh_test_data): New variable.
3150         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3151         (cbrt_test_data): New variable.
3152         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3153         (ceil_test_data): New variable.
3154         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3155         (cos_test_data): New variable.
3156         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3157         (cos_tonearest_test_data): New variable.
3158         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3159         (cos_towardzero_test_data): New variable.
3160         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3161         (cos_downward_test_data): New variable.
3162         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3163         (cos_upward_test_data): New variable.
3164         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3165         (cosh_test_data): New variable.
3166         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3167         (cosh_tonearest_test_data): New variable.
3168         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3169         (cosh_towardzero_test_data): New variable.
3170         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3171         (cosh_downward_test_data): New variable.
3172         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3173         (cosh_upward_test_data): New variable.
3174         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3175         (erf_test_data): New variable.
3176         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3177         (erfc_test_data): New variable.
3178         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3179         (exp_test_data): New variable.
3180         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3181         (exp_tonearest_test_data): New variable.
3182         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3183         (exp_towardzero_test_data): New variable.
3184         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3185         (exp_downward_test_data): New variable.
3186         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3187         (exp_upward_test_data): New variable.
3188         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3189         (exp10_test_data): New variable.
3190         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3191         (exp2_test_data): New variable.
3192         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3193         (expm1_test_data): New variable.
3194         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3195         (fabs_test_data): New variable.
3196         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3197         (floor_test_data): New variable.
3198         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3199         (j0_test_data): New variable.
3200         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3201         (j1_test_data): New variable.
3202         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3203         (log_test_data): New variable.
3204         (log_test): Run tests with RUN_TEST_LOOP_f_f.
3205         (log10_test_data): New variable.
3206         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3207         (log1p_test_data): New variable.
3208         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3209         (log2_test_data): New variable.
3210         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3211         (logb_test_data): New variable.
3212         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3213         (logb_downward_test_data): New variable.
3214         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3215         (nearbyint_test_data): New variable.
3216         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3217         (rint_test_data): New variable.
3218         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3219         (rint_tonearest_test_data): New variable.
3220         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3221         (rint_towardzero_test_data): New variable.
3222         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3223         (rint_downward_test_data): New variable.
3224         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3225         (rint_upward_test_data): New variable.
3226         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3227         (round_test_data): New variable.
3228         (round_test): Run tests with RUN_TEST_LOOP_f_f.
3229         (sin_test_data): New variable.
3230         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3231         (sin_tonearest_test_data): New variable.
3232         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3233         (sin_towardzero_test_data): New variable.
3234         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3235         (sin_downward_test_data): New variable.
3236         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3237         (sin_upward_test_data): New variable.
3238         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3239         (sinh_test_data): New variable.
3240         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3241         (sinh_tonearest_test_data): New variable.
3242         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3243         (sinh_towardzero_test_data): New variable.
3244         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3245         (sinh_downward_test_data): New variable.
3246         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3247         (sinh_upward_test_data): New variable.
3248         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3249         (sqrt_test_data): New variable.
3250         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3251         (tan_test_data): New variable.
3252         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3253         (tan_tonearest_test_data): New variable.
3254         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3255         (tan_towardzero_test_data): New variable.
3256         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3257         (tan_downward_test_data): New variable.
3258         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3259         (tan_upward_test_data): New variable.
3260         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3261         (tanh_test_data): New variable.
3262         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3263         (tgamma_test_data): New variable.
3264         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3265         (trunc_test_data): New variable.
3266         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3267         (y0_test_data): New variable.
3268         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3269         (y1_test_data): New variable.
3270         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3271         (significand_test_data): New variable.
3272         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3274 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
3276         [BZ #12387]
3277         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3279 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
3281         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3283 2013-05-10  Andreas Jaeger  <aj@suse.de>
3285         [BZ #15448]
3286         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3287         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3289 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
3291         * math/gen-libm-test.pl (adjust_arg): New function.
3292         (special_functions): Handle generating output in both functions
3293         and arrays.
3294         (parse_args): Likewise.
3295         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
3296         $in_func argument to parse_args.
3297         * math/libm-test.inc (struct test_f_f_data): New type.
3298         (IF_ROUND_INIT_): New macro.
3299         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3300         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3301         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3302         (IF_ROUND_INIT_FE_UPWARD): Likewise.
3303         (ROUND_RESTORE_): Likewise.
3304         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3305         (ROUND_RESTORE_FE_TONEAREST): Likewise.
3306         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3307         (ROUND_RESTORE_FE_UPWARD): Likewise.
3308         (RUN_TEST_LOOP_f_f): New macro.
3309         (acos_test_data): New variable.
3310         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3311         (acos_tonearest_test_data): New variable.
3312         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3314 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3316         * benchtests/bench-skeleton.c (startup): Fix coding style.
3318 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
3320         [BZ #6809]
3321         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3322         negative infinity argument.
3323         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3324         negative infinity argument.
3325         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3326         negative infinity argument.
3327         * math/libm-test.inc (tgamma_test): Expect errno to be set for
3328         domain errors.
3330 2013-05-10  Florian Weimer  <fweimer@redhat.com>
3332         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3333         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3334         * iconv/iconv_prog.c (main): Likewise.
3335         * locale/programs/charmap-dir.c (charmap_readdir)
3336         (fopen_uncompressed): Likewise.
3337         * locale/programs/locfile.c (siblings_uncached)
3338         (write_locale_data): Use lstat64 instead of lstat.
3339         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3340         stat.
3342 2013-05-10  Andreas Jaeger  <aj@suse.de>
3344         [BZ #15395]
3345         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3346         localization.
3347         Include <locale.h>.
3349 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
3351         * elf/dl-close.c (_dl_close_worker): Add comments.
3353 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
3355         [BZ #15359]
3356         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3357         high part of pi/2.
3358         (__ieee754_rem_pio2l): Update comments.
3360         [BZ #15429]
3361         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3362         high part of pi/2.
3363         (__ieee754_rem_pio2l): Update comments.
3365         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3366         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3368         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3369         M_PI_4l.
3371         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3372         (M_PI_34_LOG10El): Likewise.
3373         (M_PI2_LOG10El): Likewise.
3374         (M_PI4_LOG10El): Likewise.
3375         (M_PI_LOG10El): Likewise.
3377 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3379         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3381 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
3383         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3384         (MINUS_ZERO_INIT): Likewise.
3385         (PLUS_INFTY_INIT): Likewise.
3386         (MINUS_INFTY_INIT): Likewise.
3387         (QNAN_VALUE_INIT): Likewise.
3388         (MAX_VALUE_INIT): Likewise.
3389         (MIN_VALUE_INIT): Likewise.
3390         (MIN_SUBNORM_VALUE_INIT): Likewise.
3391         (plus_zero): Initialize with PLUS_ZERO_INIT.
3392         (minus_zero): Initialize with MINUS_ZERO_INIT.
3393         (plus_infty): Initialize with PLUS_INFTY_INIT.
3394         (minus_infty): Initialize with MINUS_INFTY_INIT.
3395         (qnan_value): Initialize with QNAN_VALUE_INIT.
3396         (max_value): Initialize with MAX_VALUE_INIT.
3397         (min_value): Initialize with MIN_VALUE_INIT.
3398         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3400         * math/libm-test.inc (RUN_TEST_if_f): New macro.
3401         (jn_test): Use TEST_if_f instead of TEST_ff_f.
3402         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3403         (yn_test): Use TEST_if_f instead of TEST_ff_f.
3405         * math/libm-test.inc (RUN_TEST_f_f): New macro.
3406         (RUN_TEST_2_f): Likewise.
3407         (RUN_TEST_ff_f): Likewise.
3408         (RUN_TEST_fi_f): Likewise.
3409         (RUN_TEST_fl_f): Likewise.
3410         (RUN_TEST_fff_f): Likewise.
3411         (RUN_TEST_c_f): Likewise.
3412         (RUN_TEST_f_f1): Likewise.
3413         (RUN_TEST_fF_f1): Likewise.
3414         (RUN_TEST_fI_f1): Likewise.
3415         (RUN_TEST_ffI_f1): Likewise.
3416         (RUN_TEST_c_c): Likewise.
3417         (RUN_TEST_cc_c): Likewise.
3418         (RUN_TEST_f_i): Likewise.
3419         (RUN_TEST_f_i_tg): Likewise.
3420         (RUN_TEST_ff_i_tg): Likewise.
3421         (RUN_TEST_f_b): Likewise.
3422         (RUN_TEST_f_b_tg): Likewise.
3423         (RUN_TEST_f_l): Likewise.
3424         (RUN_TEST_f_L): Likewise.
3425         (RUN_TEST_sincos): Likewise.
3426         * math/gen-libm-test.pl (new_test): Take new argument to indicate
3427         whether to show exceptions.  Do not include ");\n" in return
3428         value.
3429         (special_functions): Output call to RUN_TEST_sincos instead of
3430         check_float calls.  Update calls to new_test.
3431         (parse_args): Output call to single RUN_TEST_* macro instead of
3432         check_* calls and other assignments.  Update calls to new_test.
3434         [BZ #2546]
3435         [BZ #2560]
3436         [BZ #5159]
3437         [BZ #15426]
3438         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3439         input to result for tgamma overflow.
3440         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3441         (gamma_coeff): New variable.
3442         (NCOEFF): New macro.
3443         (gamma_positive): New function.
3444         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3445         underflow here.  Use gamma_positive instead of exp (lgamma) for
3446         other arguments.
3447         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3448         (gamma_coeff): New variable.
3449         (NCOEFF): New macro.
3450         (gammaf_positive): New function.
3451         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3452         underflow here.  Use gamma_positive instead of exp (lgamma) for
3453         other arguments.
3454         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3455         (gamma_coeff): New variable.
3456         (NCOEFF): New macro.
3457         (gammal_positive): New function.
3458         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3459         underflow here.  Use gamma_positive instead of exp (lgamma) for
3460         other arguments.
3461         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3462         (gamma_coeff): New variable.
3463         (NCOEFF): New macro.
3464         (gammal_positive): New function.
3465         (__ieee754_gammal_r): Handle positive infinity, overflow and
3466         underflow here.  Handle NaN the same as positive infinity.  Remove
3467         check x < 0xffffffff for negative integers.  Use gamma_positive
3468         instead of exp (lgamma) for other arguments.
3469         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3470         (gamma_coeff): New variable.
3471         (NCOEFF): New macro.
3472         (gammal_positive): New function.
3473         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3474         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3475         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3476         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3477         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3478         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3479         * sysdeps/generic/math_private.h (__gamma_productf): New
3480         prototype.
3481         (__gamma_product): Likewise.
3482         (__gamma_productl): Likewise.
3483         * math/Makefile (libm-calls): Add gamma_product.
3484         * math/libm-test.inc (tgamma_test): Add more tests.
3485         * sysdeps/i386/fpu/libm-test-ulps: Update.
3486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3488 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
3490         * benchtests/bench-skeleton.c (main): Preheat CPU.
3492 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
3494         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3496 2013-05-07  Roland McGrath  <roland@hack.frob.com>
3498         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3499         and _dl_skip_args_internal.
3501 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
3503         * manual/message.texi (Message Translation): Talk about users.
3504         Message to key mapping impacts design.
3506 2013-05-06  Roland McGrath  <roland@hack.frob.com>
3508         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3510         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3512         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3513         * sysdeps/wordsize-64/glob64.c: ... here.
3515         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3516         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3517         New macros.
3519         * debug/getlogin_r_chk.c: Moved to ...
3520         * login/getlogin_r_chk.c: ... here.
3521         * debug/Makefile (routines): Move getlogin_r_chk to ...
3522         * login/Makefile (routines): ... here.
3523         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3524         * login/Versions (libc: GLIBC_2.4): ... here.
3526         * io/poll.c (__poll): Renamed from poll.
3527         Add libc_hidden_def.
3528         (poll): Define as weak alias.
3530         * debug/ptsname_r_chk.c: Moved to ...
3531         * login/ptsname_r_chk.c: ... here.
3532         * debug/Makefile (routines): Move ptsname_r_chk to ...
3533         * login/Makefile (routines): ... here.
3534         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3535         * login/Versions (libc: GLIBC_2.4): ... here.
3537         * posix/getlogin.c: Moved to ...
3538         * login/getlogin.c: ... here.
3539         * posix/getlogin_r.c: Moved to ...
3540         * login/getlogin_r.c: ... here.
3541         * posix/getlogin_r.c: Moved to ...
3542         * login/getlogin_r.c: ... here.
3543         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3544         * login/Makefile (routines): ... here.
3545         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3546         * login/Versions (libc: GLIBC_2.0): ... here.
3548         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3549         (setrlimit): Define as weak alias.
3551         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3552         Call __ names for open, ftruncate, and close.
3553         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3554         (truncate): Define as weak alias.
3556 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
3558         * math/gen-libm-test.pl (parse_args): Initialize x before each
3559         test of frexp, modf and remquo.
3561         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3562         test signgam value.
3564 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3566         [BZ #15418]
3567         [BZ #15419]
3568         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3569         internal tests.
3570         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3572 2013-05-06  Roland McGrath  <roland@hack.frob.com>
3574         * elf/dl-writev.h: New file.
3575         * elf/dl-misc.c: Include it.
3576         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3577         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3579 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
3581         * math/libm-test.inc (noXFails): Remove variable.
3582         (noXPasses): Likewise.
3583         (BUILD_COMPLEX_INT): Remove macro.
3584         (print_screen): Remove xfail argument.
3585         (print_screen_max_error): Likewise.
3586         (update_stats): Likewise.
3587         (print_max_error): Likewise.  Update calls to other affected
3588         functions.
3589         (print_complex_max_error): Likewise.
3590         (test_single_exception): Update calls to print_screen.
3591         (test_single_errno): Likewise.
3592         (check_float_internal): Remove xfail argument.  Update calls to
3593         other affected functions.
3594         (check_float): Likewise.
3595         (check_complex): Likewise.
3596         (check_int): Likewise.
3597         (check_long): Likewise.
3598         (check_bool): Likewise.
3599         (check_longlong): Likewise.
3600         (main): Don't print noXFails and noXPasses.
3601         * math/gen-libm-test.pl (top level): Don't mention expected
3602         failure handling in comment.
3603         (new_test): Don't handle expected failures.
3604         (parse_args): Don't mention expected failure handling in comment.
3605         (generate_testfile): Don't handle expected failures.
3606         (parse_ulps): Likewise.
3607         (print_ulps_file): Likewise.
3608         (get_failure): Remove function.
3609         (output_test): Don't handle expected failures.
3610         * make/README.libm-test: Don't mention expected failure handling.
3612         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
3613         (minus_zero): Likewise.
3614         (plus_infty): Likewise.
3615         (minus_infty): Likewise.
3616         (qnan_value): Likewise.
3617         (max_value): Likewise.
3618         (min_value): Likewise.
3619         (min_subnorm_value): Likewise.
3620         (initialize): Do not initialize those variables dynamically.
3622 2013-05-03  Roland McGrath  <roland@hack.frob.com>
3624         * io/open.c (__open_2): Moved to ...
3625         * io/open_2.c: ... this new file.
3626         * io/open64.c (__open64_2): Moved to ...
3627         * io/open64_2.c: ... this new file.
3628         * io/openat.c (__openat_2): Moved to ...
3629         * io/openat_2.c: ... this new file.
3630         * io/openat64.c (__openat64_2): Moved to ...
3631         * io/openat64_2.c: ... this new file.
3632         * io/Makefile (routines): Add them.
3633         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3634         * sysdeps/unix/sysv/linux/open_2.c: File removed.
3635         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3636         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3637         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3638         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3639         (__openat64): Add hidden_ver.
3640         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3641         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3643         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3644         Separately conditionalize setting of GLRO(dl_sysinfo) so
3645         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3646         as well, but the actual setting is only under [NEED_DL_SYSINFO].
3648 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3650         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3651         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3652         definition.
3653         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3654         * sysdeps/unix/sysv/linux/powerpc/init-first.c
3655         (_libc_vdso_platform_setup): Add __vdso_time initialization.
3656         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3657         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3659 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
3661         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3662         test signgam value.
3664         * math/libm-test.inc (hypot_test): Do not use
3665         IGNORE_ZERO_INF_SIGN.
3667 2013-05-03  Andreas Jaeger  <aj@suse.de>
3669         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3670         Linux 3.9.
3671         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3672         (PF_MAX): Adjust for VSOCK change.
3674 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3676         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3678 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
3680         [BZ #15264]
3681         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3682         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3683         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3685 2013-05-02  David S. Miller  <davem@davemloft.net>
3687         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3689 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
3691         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3693 2013-05-01  Roland McGrath  <roland@hack.frob.com>
3695         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3697 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
3699         [BZ #14952]
3700         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3701         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3702         Use __attribute__ ((__gnu_inline__)).
3703         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3704         Don't use __attribute__ ((__gnu_inline__)).
3706 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
3708         [BZ #15423]
3709         * math/s_catan.c (__catan): Handle small real or imaginary part of
3710         input specially to avoid spurious underflow.
3711         * math/s_catanf.c (__catanf): Likewise.
3712         * math/s_catanh.c (__catanh): Likewise.
3713         * math/s_catanhf.c (__catanhf): Likewise.
3714         * math/s_catanhl.c (__catanhl): Likewise.
3715         * math/s_catanl.c (__catanl): Likewise.
3716         * math/libm-test.inc (catan_test): Add more tests.
3717         (catanh_test): Likewise.
3718         * sysdeps/i386/fpu/libm-test-ulps: Update.
3719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3721 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3723         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3725 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
3727         [BZ #15416]
3728         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3729         accurately for denominator in atan2.
3730         * math/s_catanf.c (__catanf): Likewise.
3731         * math/s_catanh.c (__catanh): Likewise.
3732         * math/s_catanhf.c (__catanhf): Likewise.
3733         * math/s_catanhl.c (__catanhl): Likewise.
3734         * math/s_catanl.c (__catanl): Likewise.
3735         * math/libm-test.inc (catan_test): Add more tests.
3736         (catanh_test): Likewise.
3737         * sysdeps/i386/fpu/libm-test-ulps: Update.
3738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3740 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3742         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3744         * benchtests/Makefile (bench): Remove slow benchmarks.
3745         * benchtests/atan-inputs: Add slow benchmark inputs.
3746         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3747         (BENCH_FUNC): Accept variant offset.
3748         (VARIANT): Define.
3749         * benchtests/bench-skeleton.c (main): Run benchmark for each
3750         variant.
3751         * benchtests/cos-inputs: Add slow benchmark inputs.
3752         * benchtests/exp-inputs: Likewise.
3753         * benchtests/pow-inputs: Likewise.
3754         * benchtests/sin-inputs: Likewise.
3755         * benchtests/slowatan-inputs: Remove.
3756         * benchtests/slowatan.c: Remove.
3757         * benchtests/slowcos-inputs: Remove.
3758         * benchtests/slowcos.c: Remove.
3759         * benchtests/slowexp-inputs: Remove.
3760         * benchtests/slowexp.c: Remove.
3761         * benchtests/slowpow-inputs: Remove.
3762         * benchtests/slowpow.c: Remove.
3763         * benchtests/slowsin-inputs: Remove.
3764         * benchtests/slowsin.c: Remove.
3765         * benchtests/slowtan-inputs: Remove.
3766         * benchtests/slowtan.c: Remove.
3767         * benchtests/tan-inputs: Add slow benchmark inputs.
3768         * scripts/bench.pl: Parse comments and directives.
3770         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
3771         in CPPFLAGS.
3772         ($(objpfx)bench-%.c): Remove *-ITER.
3773         * benchtests/bench-modf.c: Remove definition of ITER.
3774         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3775         (main): Loop for DURATION seconds instead of fixed number of
3776         iterations.
3777         * scripts/bench.pl: Don't expect iterations in parameters.
3779 2013-04-29  Roland McGrath  <roland@hack.frob.com>
3781         * io/fchdir.c (__fchdir): Renamed from fchdir.
3782         (fchdir): Define as weak alias.
3784 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
3786         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3787         (ERRNO_EDOM): Likewise.
3788         (ERRNO_ERANGE): Likewise.
3789         (noErrnoTests): New variable.
3790         (init_max_error): Set errno to 0.
3791         (test_single_errno): New function.
3792         (test_errno): Likewise.
3793         (check_float_internal): Call test_errno.  Set errno to 0.
3794         (check_complex): Refer to errno tests in comment.
3795         (check_int): Call test_errno.  Set errno to 0.
3796         (check_long): Likewise.
3797         (check_bool): Likewise.
3798         (check_longlong): Likewise.
3799         (cos_test): Use ERRNO_* flags for errno tests instead of
3800         check_int.
3801         (expm1_test): Likewise.
3802         (fmod_test): Likewise.
3803         (ilogb_test): Likewise.
3804         (lgamma_test): Likewise.
3805         (pow_test): Likewise.
3806         (remainder_test): Likewise.
3807         (sin_test): Likewise.
3808         (tan_test): Likewise.
3809         (yn_test): Likewise.
3810         (initialize): Set errno to 0.
3811         (main): Print number of errno tests.
3812         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3814 2013-04-29  Andreas Jaeger  <aj@suse.de>
3816         [BZ #15084]
3817         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3818         and RES_USEVC.
3820         [BZ #15085]
3821         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3822         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3823         unimplemented.
3825         [BZ #15380]
3826         * stdlib/random.c (__initstate): Return NULL if
3827         __initstate fails.
3829         [BZ #15086]
3830         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3831         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3832         RES_SNGLKUPREOP.
3834 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3838 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
3840         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3841         of individual tests.
3842         (casin_test): Likewise.
3843         (casinh_test): Likewise.
3845 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
3847         [BZ #15409]
3848         * math/s_catan.c (__catan): Handle arguments with large real or
3849         imaginary part separately without squaring.
3850         * math/s_catanf.c (__catanf): Likewise.
3851         * math/s_catanh.c (__catanh): Likewise.
3852         * math/s_catanhf.c (__catanhf): Likewise.
3853         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3854         and redefine.
3855         (__catanhl): Handle arguments with large real or imaginary part
3856         separately without squaring.
3857         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3858         and redefine.
3859         (__catanl): Handle arguments with large real or imaginary part
3860         separately without squaring.
3861         * math/libm-test.inc (catan_test): Add more tests.
3862         (catanh_test): Likewise.
3863         * sysdeps/i386/fpu/libm-test-ulps: Update.
3864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3866 2013-04-27  Andreas Jaeger  <aj@suse.de>
3868         [BZ #15007]
3869         * stdlib/stdlib.h: Update guards for qecvt.
3870         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3871         <stdlib.h>.
3873 2013-04-27  Allan McRae  <allan@archlinux.org>
3875         * sysdeps/i386/fpu/libm-test-ulps: Update.
3877 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
3879         [BZ #15406]
3880         * math/s_catan.c: Include <float.h>.
3881         (__catan): Ensure underflow exception occurs for underflowed
3882         result.
3883         * math/s_catanf.c: Include <float.h>.
3884         (__catanf): Ensure underflow exception occurs for underflowed
3885         result.
3886         * math/s_catanh.c: Include <float.h>.
3887         (__catanh): Ensure underflow exception occurs for underflowed
3888         result.
3889         * math/s_catanhf.c: Include <float.h>.
3890         (__catanhf): Ensure underflow exception occurs for underflowed
3891         result.
3892         * math/s_catanhl.c: Include <float.h>.
3893         (__catanhl): Ensure underflow exception occurs for underflowed
3894         result.
3895         * math/s_catanl.c: Include <float.h>.
3896         (__catanl): Ensure underflow exception occurs for underflowed
3897         result.
3898         * math/libm-test.inc (catan_test): Add more tests.
3899         (catanh_test): Likewise.
3901         [BZ #15405]
3902         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3903         underflowed result.
3904         * math/s_ccoshf.c (__ccoshf): Likewise.
3905         * math/s_ccoshl.c (__ccoshl): Likewise.
3906         * math/s_csin.c (__csin): Likewise.
3907         * math/s_csinf.c (__csinf): Likewise.
3908         * math/s_csinh.c (__csinh): Likewise.
3909         * math/s_csinhf.c (__csinhf): Likewise.
3910         * math/s_csinhl.c (__csinhl): Likewise.
3911         * math/s_csinl.c (__csinl): Likewise.
3912         * math/libm-test.inc (ccos_test): Add more tests.
3913         (ccosh_test): Likewise.
3914         (csin_test): Likewise.
3915         (csinh_test): Likewise.
3917 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3919         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3920         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3921         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3922         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3923         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3924         powerpc/power5+/fpu folders.
3925         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3928 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
3930         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3932 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
3934         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3935         additions to variable.
3936         [$(config-machine) = x86_64] (modules-names): Likewise.
3937         ($(objpfx)tst-audit3): Remove dependency.
3938         ($(objpfx)tst-audit3.out): Likewise.
3939         ($(objpfx)tst-audit4): Likewise.
3940         ($(objpfx)tst-audit4.out): Likewise.
3941         ($(objpfx)tst-audit5): Likewise.
3942         ($(objpfx)tst-audit5.out): Likewise.
3943         ($(objpfx)tst-audit6): Likewise.
3944         ($(objpfx)tst-audit6.out): Likewise.
3945         ($(objpfx)tst-audit7): Likewise.
3946         ($(objpfx)tst-audit7.out): Likewise.
3947         (tst-audit3-ENV): Remove variable.
3948         (tst-audit4-ENV): Likewise.
3949         (tst-audit5-ENV): Likewise.
3950         (tst-audit6-ENV): Likewise.
3951         (tst-audit7-ENV): Likewise.
3952         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3953         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3954         addition to variable.
3955         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3956         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3957         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3958         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3959         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3960         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3961         tst-audit3, tst-audit4 and tst-audit5.
3962         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3963         tst-audit6 and tst-audit7.
3964         [$(subdir) = elf] (modules-names): Add audit modules for those
3965         tests.
3966         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3967         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3968         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3969         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3970         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3971         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3972         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3973         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3974         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3975         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3976         [$(subdir) = elf] (tst-audit3-ENV): New variable.
3977         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3978         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3979         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3980         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3981         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3982         Likewise.
3983         [$(subdir) = elf && $(config-cflags-avx) = yes]
3984         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3985         [$(subdir) = elf && $(config-cflags-avx) = yes]
3986         (CFLAGS-tst-auditmod4a.c): Likewise.
3987         [$(subdir) = elf && $(config-cflags-avx) = yes]
3988         (CFLAGS-tst-auditmod4b.c): Likewise.
3989         [$(subdir) = elf && $(config-cflags-avx) = yes]
3990         (CFLAGS-tst-auditmod6b.c): Likewise.
3991         [$(subdir) = elf && $(config-cflags-avx) = yes]
3992         (CFLAGS-tst-auditmod6c.c): Likewise.
3993         [$(subdir) = elf && $(config-cflags-avx) = yes]
3994         (CFLAGS-tst-auditmod7b.c): Likewise.
3995         * elf/tst-audit3.c: Move to ...
3996         * sysdeps/x86_64/tst-audit3.c: ... here.
3997         * elf/tst-audit4.c: Move to ...
3998         * sysdeps/x86_64/tst-audit4.c: ... here.
3999         * elf/tst-audit5.c: Move to ...
4000         * sysdeps/x86_64/tst-audit5.c: ... here.
4001         * elf/tst-audit6.c: Move to ...
4002         * sysdeps/x86_64/tst-audit6.c: ... here.
4003         * elf/tst-audit7.c: Move to ...
4004         * sysdeps/x86_64/tst-audit7.c: ... here.
4005         * elf/tst-auditmod3a.c: Move to ...
4006         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4007         * elf/tst-auditmod3b.c: Move to ...
4008         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4009         * elf/tst-auditmod4a.c: Move to ...
4010         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4011         * elf/tst-auditmod4b.c: Move to ...
4012         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4013         * elf/tst-auditmod5a.c: Move to ...
4014         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4015         * elf/tst-auditmod5b.c: Move to ...
4016         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4017         * elf/tst-auditmod6a.c: Move to ...
4018         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4019         * elf/tst-auditmod6b.c: Move to ...
4020         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4021         * elf/tst-auditmod6c.c: Move to ...
4022         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4023         * elf/tst-auditmod7a.c: Move to ...
4024         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4025         * elf/tst-auditmod7b.c: Move to ...
4026         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4028 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
4030         [BZ #15366]
4031         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4032         define unconditionally.
4033         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4034         define unconditionally.
4035         (INT8_C, INT16_C, etc.): Likewise.
4037 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
4039         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4040         __ehdr_start with hidden visibility.
4042         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4044 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
4046         * math/libm-test.inc (cos_test): Use accurate hex constants.
4047         (sincost_test): Likewise.
4049 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
4051         * math/libm-test.inc (catan_test): Add more tests.
4052         (catanh_test): Likewise.
4054         * math/s_catanf.c (__catanf): Use suffixed floating-point
4055         constants.
4056         * math/s_catanhf.c (__catanhf): Likewise.
4057         * math/s_catanhl.c (__catanhl): Likewise.
4058         * math/s_catanl.c (__catanl): Likewise.
4060         [BZ #15394]
4061         * math/s_catan.c (__catan): Calculate imaginary part of result
4062         with log1p not log unless computing log of number close to 0.
4063         * math/s_catanf.c (__catanf): Likewise.
4064         * math/s_catanl.c (__catanl): Likewise.
4065         * math/s_catanh.c (__catanh): Calculate real part of result with
4066         log1p not log unless computing log of number close to 0.
4067         * math/s_catanhf.c (__catanhf): Likewise.
4068         * math/s_catanhl.c (__catanhl): Likewise.
4069         * math/libm-test.inc (catan_test): Add more tests.
4070         (catanh_test): Likewise.
4071         * sysdeps/i386/fpu/libm-test-ulps: Update.
4072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4074 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4076         * benchtests/Makefile: Mention files in which fast and slow
4077         paths of math functions are implemented.
4079 2013-04-23  Roland McGrath  <roland@hack.frob.com>
4081         * sysdeps/posix/timespec_get.c: New file.
4083 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4085         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4086         POWER.
4087         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4088         for POWER.
4089         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4090         powerpc/power5/fpu folders.
4091         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4092         * benchtests/Makefile: Add modf testcase.
4093         * benchtests/bench-modf.c: New file: Benchmark test for mo
4095 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4097         [BZ #14888]
4098         * time/Makefile (tests): Add tst-strptime-whitespace.
4099         * time/strptime_l.c (get_number): Use ISSPACE.
4100         (__strptime_internal): Likewise.
4101         * time/tst-strptime-whitespace.c: New test case.
4103 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
4105         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4106         member.
4107         (_nss_files_init): Set it here.
4109 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
4111         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4112         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4113         unsigned.
4115 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
4117         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4119 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4121         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4122         size just once.
4124 2013-04-21  David S. Miller  <davem@davemloft.net>
4126         * po/ru.po: Update Russion translation from translation project.
4128 2013-04-17  Adam Conrad  <adconrad@0c3.net>
4130         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4131         and setfsgid.
4133 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
4135         * configure.in: Remove i386 configure warning. Remove i386 case.
4136         * configure: Regenerate.
4137         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
4138         Add example to error message.
4139         * sysdeps/i386/configure: Regenerate.
4141 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4143         * benchtests/Makefile (bench): Add cos, tan, slowcos and
4144         slowtan.
4145         * benchtests/cos-inputs: New file.
4146         * benchtests/slowcos-inputs: New file.
4147         * benchtests/slowcos.c: New file.
4148         * benchtests/slowtan-inputs: New file.
4149         * benchtests/slowtan.c: New file.
4150         * benchtests/tan-inputs: New file.
4152 2013-04-16  Roland McGrath  <roland@hack.frob.com>
4154         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4155         considered kosher.
4157 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4159         * benchtests/Makefile: Include cppflags-iterator.mk to add
4160         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4162         * Makefile.in (bench-clean): New target.
4163         * benchtests/Makefile (bench-clean): Likewise.
4165 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
4167         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4169 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
4171         * stdio-common/tstdiomisc.c: Fix coding-style violation.
4173 2013-04-15  Andreas Schwab  <schwab@suse.de>
4175         * nscd/grpcache.c (cache_addgr): Properly check for short write.
4176         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4177         * nscd/pwdcache.c (cache_addpw): Likewise.
4178         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
4179         more than recsize.
4181 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4183         * benchtests/Makefile (bench): Write all output to
4184         bench-out.tmp together.
4186 2013-04-15  Andreas Schwab  <schwab@suse.de>
4188         * nscd/nscd.c (main): Don't fork again after closing files.
4190 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4192         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4194         * benchtests/Rules (bench-deps): Collect dependencies into a
4195         single variable.  Add Makefile to dependencies.
4196         ($(objpfx)bench-%.c): Depend on bench-deps.
4198 2013-04-12  Roland McGrath  <roland@hack.frob.com>
4199             Xavier Roche  <roche+kml2@exalead.com>
4201         [BZ #15361]
4202         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4203         just that it's a file descriptor.
4204         * manual/llio.texi (Synchronizing AIO Operations): Update description
4205         for EBADF error from aio_fsync.
4207 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4209         * Rules (bench): Move target definition...
4210         * benchtests/Makefile: ... here.
4212 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
4214         * math/libm-test.inc (cos_test): Fix PI/2 test.
4215         (sincos_test): Likewise.
4216         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4217         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4219 2013-04-11  Andreas Schwab  <schwab@suse.de>
4221         [BZ #13988]
4222         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4223         accept exponent character only when digits were seen.
4224         * stdio-common/Makefile (tests): Add bug26.
4225         * stdio-common/bug26.c: New file.
4227         [BZ #14293]
4228         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4229         non-freeable.
4231 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4233         * Makeconfig (rtld-prefix): Define built linker prefix.
4234         * Rules (run-bench): Use it.
4235         * math/Makefile (run-regen-ulps): Likewise.
4237         * Rules (bench): Remove eval.
4239 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4240             Roland McGrath  <roland@hack.frob.com>
4241             Ondrej Bilka  <neleai@seznam.cz>
4243         [BZ #15346]
4244         * time/getdate.c: Include ctype.h and alloca.h.
4245         (__getdate_r): Trim leading and trailing spaces of input.
4246         * time/tst-getdate.c (tests): Add tests with leading and
4247         trailing spaces.
4249 2013-04-08  Roland McGrath  <roland@hack.frob.com>
4251         [BZ #14280]
4252         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4253         when computing value.
4255 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4257         * math/README.libm-test (How can I generate "libm-test-ulps"?):
4258         Use testrun.sh to run libm tests.
4260         [BZ #15309]
4261         * elf/dl-open.c (dl_open_worker): memset all of seen array.
4263 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
4265         [BZ #15264]
4266         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4268 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4270         * Makefile.in (regen-ulps): New target.
4271         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4272         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4273         [ifneq (no,$(PERL)] (regen-ulps): New target.
4274         [ifeq (no,$(PERL)] (regen-ulps): New target.
4275         * math/libm-test.inc (ulps_file_name): Define.
4276         (output_dir): New variable.
4277         (options): Add "output-dir" option.
4278         (parse_opt): Handle 'o' case.
4279         (main): If output_dir is non-NULL use it as a prefix
4280         otherwise use "".
4281         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4283 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4285         [BZ #10060, #10062]
4286         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4287         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4288         fail configure if __sync_val_compare_and_swap is not inlined.
4289         * sysdeps/i386/configure: Regenerate.
4290         * configure.in: Build for i686 when configured for i386.
4291         * configure: Regenerate.
4292         * README: Remove i386 reference.
4294 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4296         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4297         * sysdeps/s390/s390-64/sysdep.h: Likewise.
4299 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
4301         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4302         (lmsnanval): New variables.
4303         (F): Add conversion tests.
4304         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4305         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4307         * stdio-common/tstdiomisc.c (F): Properly collect individual
4308         tests' results.
4310         [BZ #14686, #15336]
4311         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4312         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4313         Instead, use input NaN values or generate a qNaN by arithmetic
4314         operation.  Also fix bugs to comply with the standard.
4315         * math/libm-test.inc (remainder_test): Add more tests.
4317         [BZ #15335, #15342]
4318         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4319         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4320         input NaN values or generate a qNaN by arithmetic operation.
4322         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4323         unreachable code.
4325         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4326         definitions.
4328 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
4330         [BZ #14478]
4331         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4332         underflowed result.
4333         * math/s_cexpf.c (__cexpf): Likewise.
4334         * math/s_cexpl.c (__cexpl): Likewise.
4335         * math/libm-test.inc (cexp_test): Add more tests.
4337 2013-04-03  Andreas Schwab  <schwab@suse.de>
4339         [BZ #15330]
4340         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4341         order arrays from heap if bigger than alloca cutoff.
4343 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
4345         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4346         (SNAN_TESTS_double): Refer to GCC PR56831.
4347         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4348         GCC PR56828.
4350 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4352         * Rules (bench): Move bench.out after the run is complete.
4354         * Rules (bench): Echo currently running benchmark.
4356         * benchtests/Makefile (bench): Add atan and slowatan.
4357         * benchtests/atan-inputs: New file.
4358         * benchtests/slowatan-inputs: New file.
4359         * benchtests/slowatan.c: New file.
4361         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4362         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4363         its value.
4365         [BZ #15305]
4366         * sysdeps/unix/sysv/linux/kernel-features.h
4367         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4368         __ASSUME_XFS_RESTRICTED_CHOWN.
4369         * sysdeps/unix/sysv/linux/pathconf.c
4370         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4371         Save and restore errno.
4373 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
4375         [BZ #15327]
4376         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4377         arguments using __kernel_casinh.
4378         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4379         arguments using __kernel_casinhf.
4380         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4381         arguments using __kernel_casinhl.
4382         * math/libm-test.inc (cacosh_test): Add more tests.
4383         * sysdeps/i386/fpu/libm-test-ulps: Update.
4384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4386 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4388         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4389         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4391         * bench/Makefile (bench): Add sin and slowsin.
4392         * benchtests/sin-inputs: New file.
4393         * benchtests/slowsin-inputs: New file.
4394         * benchtests/slowsin.c: New file.
4396         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4397         (bench): Add slowexp and slowpow.
4398         (exp-ITER): Increase iterations.
4399         (pow-ITER): Likewise.
4400         * benchtests/exp-inputs: Change input.
4401         * benchtests/pow-inputs: Likewise.
4402         * benchtests/slowexp-inputs: New file.
4403         * benchtests/slowexp.c: New file.
4404         * benchtests/slowpow-inputs: New file.
4405         * benchtests/slowpow.c: New file.
4407 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4409         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4410         instructions.
4411         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4412         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4413         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4414         * benchtests/Makefile: Add rint benchtest.
4415         * benchtests/rint-inputs: Input for rint benchtest.
4417 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
4419         * Versions.def (libm): Add GLIBC_2.18.
4420         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4421         hidden libm prototypes.
4422         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4423         * math/Makefile (libm-calls): Add s_issignaling.
4424         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4425         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
4426         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4427         declaration.
4428         * math/math.h [__USE_GNU] (issignaling): New macro.
4429         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4430         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4431         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4432         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4433         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4434         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4435         * manual/arith.texi (issignaling): New section.
4436         * manual/libm-err-tab.pl (@all_functions): Update comment.
4437         * math/gen-libm-test.pl (parse_args): Apply special handling for
4438         issignaling.
4439         * math/libm-test.inc (print_float, issignaling_test): New
4440         functions.
4441         (check_float_internal): Add issignaling checks.
4442         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4443         default definition.
4444         * sysdeps/powerpc/math-tests.h: New file.
4445         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4446         tests.
4447         * math/test-snan.c (TEST_FUNC): Likewise.
4449 2013-03-30  David S. Miller  <davem@davemloft.net>
4451         * po/de.po: Update from translation team.
4453 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
4455         [BZ #10357]
4456         * math/k_casinh.c (__kernel_casinh): Handle arguments with
4457         imaginary part less than 1.0 and real part less than 0.5
4458         specially.
4459         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4460         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4461         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4462         (cacos_test): Add more tests.
4463         (casin_test): Likewise.
4464         (casinh_test): Likewise.
4465         * sysdeps/i386/fpu/libm-test-ulps: Update.
4466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4468 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4470         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4471         ONE with its value.
4473         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4474         (__pow_mp): Replace ONE and MONE with their values.
4475         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4476         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4477         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4478         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4479         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4480         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4482         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4484         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4485         (__pow_mp): Replace ZERO and MZERO with their values.
4486         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4487         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4488         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4489         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4490         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4491         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4492         (__sqr): Likewise.
4494         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4496         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4498 2013-03-28  Roland McGrath  <roland@hack.frob.com>
4500         * include/stdlib.h [!SHARED] (__call_tls_dtors):
4501         Declare with __attribute__ ((weak)).
4502         * stdlib/exit.c (__libc_atexit) [!SHARED]:
4503         Call __call_tls_dtors only if it's not NULL.
4505 2013-03-28  Roland McGrath  <roland@hack.frob.com>
4507         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4508         didn't do it already, then set _dl_phdr and _dl_phnum based on the
4509         magic __ehdr_start linker symbol if it's defined.
4510         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4511         them up here if it was already done.
4513         * elf/dl-support.c (_dl_phdr): Make pointer to const.
4514         (_dl_aux_init): Use const in cast when setting it.
4515         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4516         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4517         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4519         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4520         Declare them here.
4521         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4522         * csu/libc-tls.c: Nor here.
4523         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4525         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4526         (__libc_message): Never call vsyslog.
4528 2013-03-28  Alan Modra  <amodra@gmail.com>
4530         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4531         Define as empty.
4532         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4533         Likewise.
4535 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4537         [BZ #15214]
4538         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4539         underflow.
4540         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4542 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4544         [BZ #15304]
4545         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4546         Don't add gid passed as argument.
4548         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4550 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
4552         [BZ #15307]
4553         * math/k_casinh.c (__kernel_casinh): Handle arguments with
4554         imaginary part between 1.0 and 1.5 and real part less than 0.5
4555         specially.
4556         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4557         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4558         * math/libm-test.inc (cacos_test): Add more tests.
4559         (casin_test): Likewise.
4560         (casinh_test): Likewise.
4561         * sysdeps/i386/fpu/libm-test-ulps: Update.
4562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4564 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4566         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4567         constants.
4568         (norm): Likewise.
4569         (denorm): Likewise.
4570         (__dbl_mp): Likewise.
4571         (add_magnitudes): Likewise.
4572         (sub_magnitudes): Likewise.
4573         (__add): Likewise.
4574         (__sub): Likewise.
4575         (__mul): Likewise.
4576         (__sqr): Likewise.
4577         (__inv): Likewise.
4578         (__dvd): Likewise.
4580         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4581         commented code.
4582         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4583         (__dubcos): Likewise.
4584         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4585         (__ieee754_acos): Likewise.
4586         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4587         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4588         (__exp1): Likewise.
4589         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4590         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4591         (log1): Likewise.
4592         (my_log2): Likewise.
4593         (checkint): Likewise.
4594         * sysdeps/ieee754/dbl-64/e_remainder.c
4595         (__ieee754_remainder): Likewise.
4596         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4597         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4598         (bsloww): Likewise.
4599         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4601         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4602         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4603         MANTISSA_STORE_T to store computations on mantissa.  Use
4604         macros for rounding and division.
4605         (denorm): Likewise.
4606         (__dbl_mp): Likewise.
4607         (add_magnitudes): Likewise.
4608         (sub_magnitudes): Likewise.
4609         (__mul): Likewise.
4610         (__sqr): Likewise.
4611         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
4612         powers of two in terms of TWOPOW macro.
4613         (mp_no): Make type of mantissa as MANTISSA_T.
4614         [!RADIXI]: Define RADIXI.
4615         [!TWO52]: Define TWO52.
4616         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4618 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4620         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4621         llroundl symbol when building for PPC32.
4623 2013-03-24  Mark H Weaver  <mhw@netris.org>
4625         * manual/arith.texi (Normalization Functions): Fix prototypes for
4626         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4628 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4630         [BZ #13889]
4631         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4632         high value to check if expl overflow.
4633         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4634         to check for underflow and overflow.
4635         * math/libm-test.inc: Add exp test.
4637 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
4639         [BZ #11120]
4640         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4641         with NOT_IN_libc.
4643 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4645         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4646         symbol.
4648 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
4650         * math/gen-libm-test.pl (parse_args, special_functions): Properly
4651         wrap blocks consisting of several statements.
4653         * sysdeps/generic/math-tests.h: New file.
4654         * sysdeps/i386/fpu/math-tests.h: Likewise.
4655         * math/test-snan.c: Include it.
4656         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4658 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
4660         [BZ #15285]
4661         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4662         (__ieee754_j0l): Do not improve calculations using cos of twice
4663         input for inputs above LDBL_MAX / 2.0L.
4664         (__ieee754_y0l): Likewise.
4665         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4666         (__ieee754_j1l): Do not improve calculations using cos of twice
4667         input for inputs above LDBL_MAX / 2.0L.
4668         (__ieee754_y1l): Likewise.
4669         * math/libm-test.inc (j0_test): Add another test.
4670         (j1_test): Likewise.
4671         (y0_test): Likewise.
4672         (y1_test): Likewise.
4673         * sysdeps/i386/fpu/libm-test-ulps: Update.
4675 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4677         * Rules ($(objpfx)bench-%.c): Include code from a C source
4678         file.
4680 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
4682         [BZ #15287]
4683         * math/k_casinh.c (__kernel_casinh): Handle arguments with
4684         imaginary part 1.0 and real part less than 0.5 specially.
4685         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4686         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4687         * math/libm-test.inc (cacos_test): Add more tests.
4688         (casin_test): Likewise.
4689         (casinh_test): Likewise.
4690         * sysdeps/i386/fpu/libm-test-ulps: Update.
4691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4693 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4695         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4696         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4698 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
4700         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4701         * config.make.in (config-cflags-sse4): Remove variable.
4702         (config-cflags-avx): Likewise.
4703         (config-cflags-sse2avx): Likewise.
4704         (config-cflags-novzeroupper): Likewise.
4705         (config-asflags-i686): Likewise.
4706         (have-mfma4): Likewise.
4707         (have-as-vis3): Likewise.
4708         (MIG): Likewise.
4709         * configure.in (MIG): Do not AC_SUBST.
4710         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4711         (libc_cv_cc_sse4): Do not AC_SUBST.
4712         (libc_cv_cc_avx): Likewise.
4713         (libc_cv_cc_sse2avx): Likewise.
4714         (libc_cv_cc_novzeroupper): Likewise.
4715         (libc_cv_cc_fma4): Likewise.
4716         (libc_cv_as_i686): Likewise.
4717         (libc_cv_sparc_as_vis3): Likewise.
4718         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4719         LIBC_CONFIG_VAR.
4720         (config-asflags-i686): Likewise.
4721         (config-cflags-avx): Likewise.
4722         (config-cflags-sse2avx): Likewise.
4723         (have-mfma4): Likewise.
4724         (config-cflags-novzeroupper): Likewise.
4725         * sysdeps/mach/configure.in (MIG): Likewise.
4726         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4727         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4728         LIBC_CONFIG_VAR.
4729         (config-cflags-avx): Likewise.
4730         (config-cflags-sse2avx): Likewise.
4731         (have-mfma4): Likewise.
4732         (config-cflags-novzeroupper): Likewise.
4733         * configure: Regenerated.
4734         * sysdeps/i386/configure: Likewise.
4735         * sysdeps/mach/configure: Likewise.
4736         * sysdeps/sparc/configure: Likewise.
4737         * sysdeps/x86_64/configure: Likewise.
4739 2013-03-20  Roland McGrath  <roland@hack.frob.com>
4741         [BZ #14812]
4742         * locale/programs/localedef.c (options): Put N_ translation marker
4743         on argument names, not just descriptions.
4745 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4747         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4749 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
4751         [BZ #14176]
4752         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4754 2013-03-19  Roland McGrath  <roland@hack.frob.com>
4756         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4757         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4758         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4759         [!BEFORE_ABORT] (before_abort): New function.
4760         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4761         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4762         (writev_for_fatal): New function.
4763         (WRITEV_FOR_FATAL): New macro; call that.
4764         (backtrace_and_maps): New function.
4765         (BEFORE_ABORT): New macro; call that.
4766         (struct str_list): Type removed.
4767         (__libc_message, __libc_fatal): Functions removed.
4768         Include <sysdeps/posix/libc_fatal.c> instead.
4770 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
4772         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4773         constants.
4774         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4775         double constants.
4777 2013-03-19  Andreas Schwab  <schwab@suse.de>
4779         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4780         * sysdeps/gnu/configure: Regenerate.
4782         * configure.in: Substitute libc_cv_rtlddir.
4783         * configure: Regenerate.
4784         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4785         * Makeconfig (rtlddir, inst_rtlddir): New variables.
4786         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4787         * elf/Makefile (install-others, CFLAGS-interp.c)
4788         (ldso_install, common-ldd-rewrite): Likewise.
4789         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4790         $(inst_slibdir)/$(rtld-installed-name).
4791         * scripts/rellns-sh: Add -p option.
4792         * Makerules (make-shlib-link): Use rellns-sh to get relative name
4793         for source.
4795 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4797         * manual/nptl.texi: Renamed to ...
4798         * manual/threads.texi: ... this.
4799         * manual/Makefile (chapters): Update.
4801 2013-03-18  Roland McGrath  <roland@hack.frob.com>
4803         [BZ #14812]
4804         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4805         on argument names, not just descriptions.
4806         * malloc/memusagestat.c (options): Likewise.
4807         * nss/getent.c (options): Likewise.
4809 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
4811         [BZ #14812]
4812         * iconv/iconv_prog.c (options): Put N_ translation marker
4813         on argument names, not just descriptions.
4814         * iconv/iconvconfig.c (options): Likewise.
4816 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
4818         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4819         implementation which is faster on all x86_64 architectures.
4820         Tested on AMD, Intel Nehalem, SNB, IVB.
4821         * sysdeps/x86_64/strnlen.S: Likewise.
4823         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4824         Remove all multiarch strlen and strnlen versions.
4825         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4826         Remove strlen and strnlen related parts.
4828         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4829         Inline strlen part.
4830         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4832         * sysdeps/x86_64/multiarch/strlen.S: Remove.
4833         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4834         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4835         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4836         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4837         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4839 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
4841         * manual/memory.texi (Malloc Tunable Parameters):
4842         Sort parameters alphabetically. Add comments for missing entries.
4844 2013-03-17  David S. Miller  <davem@davemloft.net>
4846         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4848 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
4850         [BZ #15283]
4851         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4852         for arguments at most half maximum finite value.
4853         * math/libm-test.inc (j0_test): Add more tests.
4854         (j1_test): Likewise.
4855         (y0_test): Likewise.
4856         (y1_test): Likewise.
4857         * sysdeps/i386/fpu/libm-test-ulps: Update.
4858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4860         [BZ #14155]
4861         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4862         1 / x and functions P and Q for arguments above 0x1p256L.
4863         (__ieee754_y0l): Likewise.
4864         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4865         (__ieee754_y1l): Likewise.
4866         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4867         (j1_test): Likewise.
4868         (y0_test): Likewise.
4869         (y1_test): Likewise.
4871 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
4873         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4874         variable.
4876 2013-03-15  Roland McGrath  <roland@hack.frob.com>
4878         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4879         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4880         zero since it's initialized to EXEC_PAGESIZE.
4882         * sysdeps/unix/sysv/linux/ldsodefs.h
4883         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4884         * sysdeps/generic/ldsodefs.h: ... here.
4886 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
4888         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4890         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4891         math/test-snan.c.
4892         * math/test-snan.c: Renamed from
4893         sysdeps/powerpc/fpu/test-powerpc-snan.c.
4894         * math/Makefile (tests): Add test-snan.
4895         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4896         test-powerpc-snan.
4898         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4899         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
4900         functions.
4901         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
4902         __builtin_nan family of functions.
4903         * math/libm-test.inc (initialize): Initialize qnan_value with
4904         __builtin_nan family of functions.
4905         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4906         Remove variables.
4907         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4908         Remove functions.
4909         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
4910         storage class.  Initialize qNaN_var and sNaN_var with
4911         __builtin_nan and __builtin_nans families of functions,
4912         respectively.
4914         * math/libm-test.inc (acosh_test): Also test with qNaN input.
4915         (sqrt_test): Remove duplicate test with qNaN input.
4916         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4917         (round_test, signbit_test, significand_test): Note missing +/-Inf
4918         as well as qNaN tests.
4920         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4921         qNaN_var.  Fix a few strings, too.
4922         * math/libm-test.inc (nan_value): Rename to qnan_value.
4923         * math/gen-libm-test.pl (%beautify): Adjust to that.
4924         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4925         * math/test-misc.c (main): Likewise.
4926         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4927         to __qnan_bytes, and __qnan_union, respectively.
4928         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4929         Likewise.
4930         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4931         and lqnanval, respectively.
4932         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4933         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4934         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4935         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4937         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4938         * math/test-misc.c (main) [__x86_64__]: Enable test for long
4939         doubles.
4941         * math/test-misc.c (main): Fix copy'n'pastos.
4942         * misc/tst-efgcvt.c (special): Likewise.
4944         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4945         Remove declarations.
4947 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4949         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4950         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4951         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4952         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4954 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4956         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4957         macro to return vdso values correctly in IFUNC implementations.
4958         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4959         Optimization by using IFUNC.
4961 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4962             Richard Henderson  <rth@redhat.com>
4963             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4965         * Makefile.in (bench): New target.
4966         * NEWS: Mention the benchmark framework.
4967         * Rules (bench): Likewise.
4968         (binaries-bench): Generate binaries for functions to
4969         benchmark.
4970         * benchtests/Makefile: New makefile for benchmark tests.
4971         * benchtests/bench-skeleton.c: New skeleton file for benchmark
4972         programs.
4973         * benchtests/exp-inputs: New input file for EXP function.
4974         * benchtests/pow-inputs: New input file for POW function.
4975         * scripts/bench.pl: New script to generate source files for
4976         benchmark programs.
4978 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4980         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4981         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4982         computations on mantissa.  Use macros for rounding and
4983         division.
4984         (denorm): Likewise.
4985         (__dbl_mp): Likewise.
4986         (add_magnitudes): Likewise.
4987         (sub_magnitudes): Likewise.
4988         (__mul): Likewise.
4989         (__sqr): Likewise.
4990         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
4991         powers of two in terms of TWOPOW macro.
4992         (mp_no): Make type of mantissa as MANTISSA_T.
4993         [!RADIXI]: Define RADIXI.
4994         [!TWO52]: Define TWO52.
4995         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4997         * manual/nptl.texi (cindex): Modify threads to pthreads.
4999 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
5001         * sysdeps/x86_64/preconfigure: Regenerated.
5003 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
5005         [BZ #14155]
5006         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5007         0x1p28 and above.
5008         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5009         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5010         0x1p28 and above.
5011         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5012         * math/libm-test.inc (j0_test): Do not allow one spurious
5013         underflow exception.
5014         (y1_test): Likewise.
5016 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5018         * manual/Makefile (chapters): Add nptl.
5019         * manual/debug.texi (Debugging Support): Add link to Threads
5020         chapter.
5021         * manual/nptl.texi: New file.
5023         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5025 2013-03-14  Petr Baudis  <pasky@ucw.cz>
5027         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5028         for non-NULL pointer before the memory validity test. Pointed
5029         out by Holger Brunck <holger.brunck@keymile.com>.
5031 2013-03-13  Andreas Schwab  <schwab@suse.de>
5033         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5034         instead of .os.
5036 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
5038         * timezone/zic.c: Update from tzcode 2013b.
5040 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
5042         * manual/install.texi (Configuring and compiling):
5043         Mention i686 and i586.
5044         * INSTALL: Regenerate.
5046 2013-03-12  Roland McGrath  <roland@hack.frob.com>
5048         * sysdeps/init_array/elf-init.c: New file.
5049         * csu/elf-init.c
5050         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5051         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5053         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5054         __gmon_start__ as global, but as static with a .preinit_array pointer.
5055         * sysdeps/init_array/gmon-start.c: New file.  Use that.
5056         * sysdeps/init_array/crti.S: New file, empty except for comments.
5057         * sysdeps/init_array/crtn.S: Likewise.
5059 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
5061         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5062         definining bcopy.
5063         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5064         Remove Prefer_SSE_for_memop.
5065         * sysdeps/x86_64/multiarch/init-arch.h: Remove
5066         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5067         HAS_PREFER_SSE_FOR_MEMOP.
5068         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5069         memset-x86-64.
5070         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5071         Remove bzero, memset ifunc support.
5072         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5073         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5074         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5075         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5077 2013-03-11  Andreas Schwab  <schwab@suse.de>
5079         [BZ #15234]
5080         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5081         by SHLIB_COMPAT.
5082         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5083         (GLIBC_2.16): Remove pthread_atfork.
5085 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5087         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5088         (ptestcases.h): Likewise.
5090 2013-03-08  Roland McGrath  <roland@hack.frob.com>
5092         * Makeconfig ($(common-objpfx)config.status): Depend on
5093         sysdeps/*/preconfigure{,.in} too.
5095 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
5097         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5098         (__free_hook): Use void * instead of __malloc_ptr_t.
5099         (__malloc_hook): Likewise.
5100         (__realloc_hook): Likewise.
5101         (__memalign_hook): Likewise.
5102         (__after_morecore_hook): Likewise.
5103         * malloc/arena.c (save_malloc_hook): Likewise.
5104         (save_free_hook): Likewise.
5105         * malloc/hooks.c (malloc_hook_ini): Likewise.
5106         (realloc_hook_ini): Likewise.
5107         (memalign_hook_ini): Likewise.
5108         * malloc/malloc.c (malloc_hook_ini): Likewise.
5109         (realloc_hook_ini): Likewise.
5110         (memalign_hook_ini): Likewise.
5111         (__free_hook): Likewise.
5112         (__malloc_hook): Likewise.
5113         (__realloc_hook): Likewise.
5114         (__memalign_hook): Likewise.
5115         (__libc_malloc): Likewise.
5116         (__libc_free): Likewise.
5117         (__libc_realloc): Likewise.
5118         (__libc_memalign): Likewise.
5119         (__libc_valloc): Likewise.
5120         (__libc_pvalloc): Likewise.
5121         (__libc_calloc): Likewise.
5122         (__posix_memalign): Likewise.
5123         * malloc/morecore.c (__sbrk): Likewise.
5124         (__default_morecore): Likewise.
5126         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5128         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5129         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5130         __malloc_ptrdiff_t.
5132         * malloc/malloc.h (__malloc_size_t): Remove macro.
5133         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5134         __malloc_size_t.
5135         (old_memalign_hook): Likewise.
5136         (old_realloc_hook): Likewise.
5137         (struct hdr): Likewise.
5138         (flood): Likewise.
5139         (mallochook): Likewise.
5140         (memalignhook): Likewise.
5141         (reallochook): Likewise.
5142         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5143         (tr_old_realloc_hook): Likewise.
5144         (tr_old_memalign_hook): Likewise.
5145         (tr_mallochook): Likewise.
5146         (tr_reallochook): Likewise.
5147         (tr_memalignhook): Likewise.
5149 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5151         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5152         default_ldbl_pack and using as default implementation.
5153         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5154         implementation.
5155         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5156         redundant definition.
5157         (ldbl_insert_mantissa): Likewise.
5158         (ldbl_canonicalize): Likewise.
5159         (ldbl_nearbyint): Likewise.
5160         (ldbl_pack): Rename to ldbl_pack_ppc.
5161         (ldbl_unpack): Rename to ldbl_unpack_ppc.
5162         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5163         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5165 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5167         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5168         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5169         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5170         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5171         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5172         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5173         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5174         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5176 2013-03-07  Andreas Jaeger  <aj@suse.de>
5178         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5179         bits/mman-linux.h.
5181 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
5183         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5184         Include mpa.h and declare __MPEXP.
5185         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5186         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5187         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5188         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5189         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5190         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5191         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5193         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5194         (__slowpow): Use long double EXPL and LOGL functions to
5195         compute POW.
5196         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5197         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5198         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5199         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5200         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5201         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5203         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5204         intermediate variable to calculate exponent.
5205         (__sqr): Likewise.
5206         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5207         Likewise.
5208         (__sqr): Likewise.
5210         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5211         [!NO__SQR]: Define __sqr.
5212         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5213         and NO__SQR.  Remove all code except __mul and __sqr.  Include
5214         sysdeps/ieee754/dbl-64/mpa.c.
5215         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5217         [BZ #12723]
5218         * posix/Makefile (tests): Add tst-pathconf.
5219         * posix/tst-pathconf.c: New test case.
5220         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5221         _PC_PIPE_BUF.
5222         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5224 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
5226         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5228 2013-03-06  Andreas Jaeger  <aj@suse.de>
5230         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5231         definition via __MAP_ANONYMOUS.
5233         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5234         it's not part of Linux headers.
5236         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5237         (MAP_HUGE_MASK): Define.
5239         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5240         Define.
5241         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5242         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5243         Define.
5244         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5245         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5246         Define.
5247         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5248         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5249         Define.
5250         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5252         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5253         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5254         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5255         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5256         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5257         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5259         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5260         Handle f2fs.
5262         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5263         Handle f2fs and efivarfs.
5265         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5266         f2fs.
5268         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5269         (EFIVARFS_MAGIC): Add.
5270         (F2FS_LINK_MAX): Add.
5272 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5274         * stdio-common/vfprintf.c: Replace __builtin_expect with
5275         __glibc_unlikely.
5277 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
5279         [BZ #13550]
5280         * sysdeps/generic/bp-sym.h: Remove file.
5281         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5282         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5283         <bp-sym.h> and <bp-asm.h>.
5284         (__longjmp): Don't use BP_SYM.
5285         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5286         and <bp-asm.h>.
5287         (memcpy): Don't use BP_SYM.
5288         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5289         <bp-sym.h> and <bp-asm.h>.
5290         (memcpy): Don't use BP_SYM.
5291         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5292         <bp-asm.h>.
5293         (memcpy): Don't use BP_SYM.
5294         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5295         <bp-asm.h>.
5296         (memset): Don't use BP_SYM.
5297         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5298         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5299         (__bzero): Don't use BP_SYM.
5300         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5301         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5302         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5303         <bp-sym.h> and <bp-asm.h>.
5304         (memcmp): Don't use BP_SYM.  Remove comment about bounded
5305         pointers.
5306         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5307         <bp-sym.h> and <bp-asm.h>.
5308         (memcpy): Don't use BP_SYM.
5309         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5310         <bp-sym.h> and <bp-asm.h>.
5311         (memset): Don't use BP_SYM.
5312         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5313         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5314         (__bzero): Don't use BP_SYM.
5315         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5316         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5317         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5318         <bp-sym.h> and <bp-asm.h>.
5319         (strncmp): Don't use BP_SYM.  Remove comment about bounded
5320         pointers.
5321         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5322         <bp-sym.h> and <bp-asm.h>.
5323         (memcpy): Don't use BP_SYM.
5324         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5325         <bp-sym.h> and <bp-asm.h>.
5326         (memset): Don't use BP_SYM.
5327         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5328         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5329         (__bzero): Don't use BP_SYM.
5330         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5331         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5332         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5333         <bp-sym.h> and <bp-asm.h>.
5334         (__memchr): Don't use BP_SYM.
5335         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5336         <bp-sym.h> and <bp-asm.h>.
5337         (memcmp): Don't use BP_SYM.  Remove comment about bounded
5338         pointers.
5339         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5340         <bp-sym.h> and <bp-asm.h>.
5341         (memcpy): Don't use BP_SYM.
5342         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5343         <bp-sym.h> and <bp-asm.h>.
5344         (__mempcpy): Don't use BP_SYM.
5345         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5346         <bp-sym.h> and <bp-asm.h>.
5347         (__memrchr): Don't use BP_SYM.
5348         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5349         <bp-sym.h> and <bp-asm.h>.
5350         (memset): Don't use BP_SYM.
5351         (__bzero): Likewise.
5352         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5353         <bp-sym.h> and <bp-asm.h>.
5354         (__rawmemchr): Don't use BP_SYM.
5355         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5356         <bp-sym.h> and <bp-asm.h>.
5357         (__STRCMP): Don't use BP_SYM.
5358         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5359         <bp-sym.h> and <bp-asm.h>.
5360         (strchr): Don't use BP_SYM.
5361         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5362         <bp-sym.h> and <bp-asm.h>.
5363         (__strchrnul): Don't use BP_SYM.
5364         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5365         <bp-sym.h> and <bp-asm.h>.
5366         (strlen): Don't use BP_SYM.
5367         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5368         <bp-sym.h> and <bp-asm.h>.
5369         (strncmp): Don't use BP_SYM.  Remove comment about bounded
5370         pointers.
5371         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5372         <bp-sym.h> and <bp-asm.h>.
5373         (__strnlen): Don't use BP_SYM.
5374         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5375         <bp-sym.h> and <bp-asm.h>.
5376         (__GI__setjmp): Don't use BP_SYM.
5377         (_setjmp): Likewise.
5378         (__sigsetjmp): Likewise.
5379         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5380         (L(start_addresses)): Don't use BP_SYM.
5381         (_start): Likewise.
5382         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5383         <bp-asm.h>.
5384         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5385         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5386         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5387         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5388         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5389         <bp-asm.h>.
5390         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5391         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
5392         about bounded pointers.
5393         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5394         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5395         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5396         <bp-asm.h>.
5397         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
5398         about bounded pointers.  Remove GKM FIXME comments.
5399         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5400         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5401         <bp-asm.h>.
5402         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5403         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
5404         Remove GKM FIXME comments.
5405         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5406         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5407         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5408         <bp-asm.h>.
5409         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
5410         about bounded pointers.  Remove GKM FIXME comment.
5411         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5412         and <bp-asm.h>.
5413         (strncmp): Don't use BP_SYM.  Remove comment about bounded
5414         pointers.
5415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5416         <bp-sym.h> and <bp-asm.h>.
5417         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5419         <bp-sym.h> and <bp-asm.h>.
5420         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
5421         comment.
5423 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5425         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5426         call free(NULL).
5428 2013-03-05  David S. Miller  <davem@davemloft.net>
5430         * po/es.po: Update from translation team.
5432 2013-03-05  Andreas Jaeger  <aj@suse.de>
5434         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5435         <bits/mman-linux.h>.
5436         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5437         is fine.
5438         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5439         <bits/mman-linux.h> to end of file.
5440         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5441         is fine.
5442         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5443         <bits/mman-linux.h> to end of file.
5444         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5445         is fine.
5446         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5447         <bits/mman-linux.h> to end of file.
5449         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5450         (MCL_CURRENT, MCL_FUTURE): Define here.
5452 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5454         [BZ #15232]
5455         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5456         attribute_hidden.
5457         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5459 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5461         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5462         fourth parameter needed for rt_sigprocmask syscall.
5463         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5464         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5465         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5466         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5467         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5468         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5470 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
5472         [BZ #13550]
5473         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5474         comment about bounded pointers.
5475         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5476         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5478 2013-03-04  Andreas Jaeger  <aj@suse.de>
5480         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5481         common definitions.
5483         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5484         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5485         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5486         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5487         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5488         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5490 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5492         [BZ #15055]
5493         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5494         __ieee754_sqrl instead of __sqrl.
5496 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
5498         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5499         * sysdeps/powerpc/fpu_control.h: ... here.
5500         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5501         * sysdeps/powerpc/bits/fenvinline.h: ... here.
5502         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5503         * sysdeps/powerpc/bits/mathinline.h: ... here.
5505 2013-03-01  Roland McGrath  <roland@hack.frob.com>
5507         * elf/dl-hwcaps.c (_dl_important_hwcaps):
5508         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5509         to just [NEED_DL_SYSINFO_DSO].
5510         * elf/dl-support.c: Likewise.
5511         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5512         * elf/rtld.c (dl_main): Likewise.
5513         * elf/setup-vdso.h (setup_vdso): Likewise.
5514         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5515         * sysdeps/unix/sysv/linux/dl-sysdep.c
5516         (_dl_discover_osversion): Likewise.
5518 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
5520         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5521         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5523 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5525         * NEWS: Mention libm performance improvements and non-x86 PI
5526         futex support.
5528         * csu/libc-start.c (__pthread_initialize_minimal): Change
5529         function arguments.
5530         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5532 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
5534         [BZ #13550]
5535         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5536         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5537         <bp-sym.h> and <bp-asm.h>.
5538         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5539         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5540         and <bp-asm.h>.
5541         (memcpy): Don't use BP_SYM.
5542         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5543         <bp-asm.h>.
5544         (__mpn_add_n): Don't use BP_SYM.
5545         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5546         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5547         and <bp-asm.h>.
5548         (__mpn_addmul_1): Don't use BP_SYM.
5549         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5550         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5551         <bp-sym.h>.
5552         (_setjmp): Don't use BP_SYM.
5553         (__novmx_setjmp): Likewise.
5554         (__GI__setjmp): Likewise.
5555         (__vmx_setjmp): Likewise.
5556         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5557         <bp-sym.h>.
5558         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5559         (__bzero): Don't use BP_SYM.
5560         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5561         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5562         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5563         <bp-sym.h> and <bp-asm.h>.
5564         (memcpy): Don't use BP_SYM.
5565         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5566         <bp-sym.h> and <bp-asm.h>.
5567         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5568         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5569         <bp-sym.h> and <bp-asm.h>.
5570         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5571         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5572         <bp-asm.h>.
5573         (__mpn_lshift): Don't use BP_SYM.
5574         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5575         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5576         <bp-asm.h>.
5577         (memset): Don't use BP_SYM.
5578         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5579         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5580         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5581         <bp-asm.h>.
5582         (__mpn_mul_1): Don't use BP_SYM.
5583         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5584         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5585         <bp-sym.h> and <bp-asm.h>.
5586         (memcmp): Don't use BP_SYM.
5587         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5588         <bp-sym.h> and <bp-asm.h>.
5589         (memcpy): Don't use BP_SYM.
5590         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5591         <bp-sym.h> and <bp-asm.h>.
5592         (memset): Don't use BP_SYM.
5593         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5594         <bp-sym.h> and <bp-asm.h>.
5595         (strncmp): Don't use BP_SYM.
5596         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5597         <bp-sym.h> and <bp-asm.h>.
5598         (memcpy): Don't use BP_SYM.
5599         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5600         <bp-sym.h> and <bp-asm.h>.
5601         (memset): Don't use BP_SYM.
5602         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5603         <bp-sym.h> and <bp-asm.h>.
5604         (__memchr): Don't use BP_SYM.
5605         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5606         <bp-sym.h> and <bp-asm.h>.
5607         (memcmp): Don't use BP_SYM.
5608         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5609         <bp-sym.h> and <bp-asm.h>.
5610         (memcpy): Don't use BP_SYM.
5611         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5612         <bp-sym.h> and <bp-asm.h>.
5613         (__mempcpy): Don't use BP_SYM.
5614         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5615         <bp-sym.h> and <bp-asm.h>.
5616         (__memrchr): Don't use BP_SYM.
5617         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5618         <bp-sym.h> and <bp-asm.h>.
5619         (memset): Don't use BP_SYM.
5620         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5621         <bp-sym.h> and <bp-asm.h>.
5622         (__rawmemchr): Don't use BP_SYM.
5623         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5624         <bp-sym.h> and <bp-asm.h>.
5625         (__STRCMP): Don't use BP_SYM.
5626         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5627         <bp-sym.h> and <bp-asm.h>.
5628         (strchr): Don't use BP_SYM.
5629         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5630         <bp-sym.h> and <bp-asm.h>.
5631         (__strchrnul): Don't use BP_SYM.
5632         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5633         <bp-sym.h> and <bp-asm.h>.
5634         (strlen): Don't use BP_SYM.
5635         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5636         <bp-sym.h> and <bp-asm.h>.
5637         (strncmp): Don't use BP_SYM.
5638         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5639         <bp-sym.h> and <bp-asm.h>.
5640         (__strnlen): Don't use BP_SYM.
5641         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5642         <bp-asm.h>.
5643         (__mpn_rshift): Don't use BP_SYM.
5644         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5645         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5646         <bp-sym.h> and <bp-asm.h>.
5647         (__sigsetjmp): Don't use BP_SYM.
5648         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5649         (L(start_addresses)): Don't use BP_SYM.
5650         (_start): Likewise.
5651         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5652         <bp-asm.h>.
5653         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5654         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5655         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5656         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5657         <bp-asm.h>.
5658         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5659         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5660         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5661         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5662         <bp-asm.h>.
5663         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
5664         comments.
5665         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5666         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5667         <bp-asm.h>.
5668         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
5669         FIXME comments.
5670         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5671         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5672         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5673         <bp-asm.h>.
5674         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
5675         comment.
5676         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5677         and <bp-asm.h>.
5678         (strncmp): Don't use BP_SYM,
5679         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5680         <bp-asm.h>.
5681         (__mpn_sub_n): Don't use BP_SYM.
5682         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5683         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5684         and <bp-asm.h>.
5685         (__mpn_submul_1): Don't use BP_SYM.
5686         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5688         <bp-sym.h> and <bp-asm.h>.
5689         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5691         <bp-sym.h> and <bp-asm.h>.
5692         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
5693         comment.
5695 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5697         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5698         Use ZK to minimize writes to Z.
5699         (sub_magnitudes): Simplify code a bit.
5700         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5701         Use ZK to minimize writes to Z.
5702         (sub_magnitudes): Simplify code a bit.
5704 2013-02-27  Roland McGrath  <roland@hack.frob.com>
5706         * csu/gmon-start.c: Add special exception to license text.
5708 2013-02-27  Richard Henderson  <rth@redhat.com>
5710         * scripts/config.guess: Update from config.git.
5711         * scripts/config.sub: Likewise.
5713 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5715         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5717         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5719         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5721         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5723         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5725 2013-02-26  Roland McGrath  <roland@hack.frob.com>
5727         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5728         [$(build-shared = yes].
5730 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5732         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5733         (__mul): Reduce iterations for calculating mantissa.
5735         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5736         MPTWO.
5737         (__mpranred): Likewise.
5739         [BZ #15160]
5740         * malloc/memusagestat.c (main): Draw graphs for heap and stack
5741         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5743 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
5745         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5746         Define __attribute__.
5748 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5750         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5751         unused.
5752         * posix/regex_internal.h (__attribute): Remove.
5753         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5754         (re_string_context_at): Likewise.
5755         (bitset_not): Use __attribute__ and mark function as possibly
5756         unused.
5757         (bitset_merge): Likewise.
5758         (bitset_mask): Likewise.
5759         (re_string_char_size_at): Likewise.
5760         (re_string_wchar_at): Likewise.
5761         (re_string_elem_size_at): Likewise.
5763 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
5765         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5766         code.
5767         (cc32): Likewise.
5769         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5770         (__acr): Likewise.
5771         (__cpy): Likewise.
5772         (norm): Likewise.
5773         (denorm): Likewise.
5774         (__dbl_mp): Likewise.
5775         (add_magnitudes): Likewise.
5776         (sub_magnitudes): Likewise.
5777         (__mul): Likewise.
5778         (__inv): Likewise.
5780         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5781         style.
5783         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5784         style.
5786         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5787         code.
5789         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5790         up changes with default code.
5791         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5792         Likewise.
5794 2013-02-24  Allan McRae  <allan@archlinux.org>
5796         * manual/socket.texi (The Internet Namespace): Order menu items
5797         to match that in the file.
5799         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5800         node listing of the info page menu.
5802 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
5804         [BZ #13550]
5805         * sysdeps/i386/bp-asm.h: Remove file.
5806         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5807         (PARMS): Do not use macros from bp-asm.h.
5808         (S1): Likewise.
5809         (S2): Likewise.
5810         (SIZE): Likewise.
5811         (__mpn_add_n): Do not use BP_SYM
5812         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5813         "bp-asm.h".
5814         (PARMS): Do not use macros from bp-asm.h.
5815         (S1): Likewise.
5816         (SIZE): Likewise.
5817         (__mpn_addmul_1): Do not use BP_SYM
5818         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5819         "bp-asm.h".
5820         (PARMS): Do not use macros from bp-asm.h.
5821         (SIGMSK): Likewise.
5822         (_setjmp): Likewise.  Do not use BP_SYM.
5823         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5824         "bp-asm.h".
5825         (PARMS): Do not use macros from bp-asm.h.
5826         (SIGMSK): Likewise.
5827         (setjmp): Likewise.  Do not use BP_SYM.
5828         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5829         "bp-asm.h".
5830         (PARMS): Do not use macros from bp-asm.h.
5831         (__frexp): Do not use BP_SYM.
5832         (frexp): Likewise.
5833         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5834         "bp-asm.h".
5835         (PARMS): Do not use macros from bp-asm.h.
5836         (__frexpf): Do not use BP_SYM.
5837         (frexpf): Likewise.
5838         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5839         "bp-asm.h".
5840         (PARMS): Do not use macros from bp-asm.h.
5841         (__frexpl): Do not use BP_SYM.
5842         (frexpl): Likewise.
5843         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5844         "bp-asm.h".
5845         (PARMS): Do not use macros from bp-asm.h.
5846         (__remquo): Do not use BP_SYM.
5847         (remquo): Likewise.
5848         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5849         "bp-asm.h".
5850         (PARMS): Do not use macros from bp-asm.h.
5851         (__remquof): Do not use BP_SYM.
5852         (remquof): Likewise.
5853         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5854         "bp-asm.h".
5855         (PARMS): Do not use macros from bp-asm.h.
5856         (__remquol): Do not use BP_SYM.
5857         (remquol): Likewise.
5858         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5859         "bp-asm.h".
5860         (PARMS): Do not use macros from bp-asm.h.
5861         (DEST): Likewise.
5862         (SRC): Likewise.
5863         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
5864         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5865         "bp-asm.h".
5866         (PARMS): Do not use macros from bp-asm.h.
5867         (strlen): Do not use BP_SYM.
5868         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5869         "bp-asm.h".
5870         (PARMS): Do not use macros from bp-asm.h.
5871         (S1): Likewise.
5872         (S2): Likewise.
5873         (SIZE): Likewise.
5874         (__mpn_add_n): Do not use BP_SYM.
5875         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5876         "bp-asm.h".
5877         (PARMS): Do not use macros from bp-asm.h.
5878         (S1): Likewise.
5879         (SIZE): Likewise.
5880         (__mpn_addmul_1): Do not use BP_SYM.
5881         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5882         weak_alias.
5883         (bzero): Likewise.
5884         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5885         "bp-asm.h".
5886         (PARMS): Do not use macros from bp-asm.h.
5887         (S): Likewise.
5888         (SIZE): Likewise.
5889         (__mpn_lshift): Do not use BP_SYM.
5890         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5891         "bp-asm.h".
5892         (PARMS): Do not use macros from bp-asm.h.
5893         (DEST): Likewise.
5894         (SRC): Likewise.
5895         (LEN): Likewise.
5896         (memcpy): Likewise.  Do not use BP_SYM.
5897         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5898         libc_hidden_def and weak_alias.
5899         (mempcpy): Do not use BP_SYM in weak_alias.
5900         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5901         "bp-asm.h".
5902         (PARMS): Do not use macros from bp-asm.h.
5903         (DEST): Likewise.
5904         (LEN): Likewise.
5905         [!BZERO_P] (CHR): Likewise.
5906         (memset): Likewise.  Do not use BP_SYM.
5907         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5908         "bp-asm.h".
5909         (PARMS): Do not use macros from bp-asm.h.
5910         (S1): Likewise.
5911         (SIZE): Likewise.
5912         (__mpn_mul_1): Do not use BP_SYM.
5913         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5914         "bp-asm.h".
5915         (PARMS): Do not use macros from bp-asm.h.
5916         (S): Likewise.
5917         (SIZE): Likewise.
5918         (__mpn_rshift): Do not use BP_SYM.
5919         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5920         "bp-asm.h".
5921         (PARMS): Do not use macros from bp-asm.h.
5922         (STR): Likewise.
5923         (CHR): Likewise.
5924         (strchr): Likewise.  Do not use BP_SYM.
5925         (index): Do not use BP_SYM in weak_alias.
5926         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5927         "bp-asm.h".
5928         (PARMS): Do not use macros from bp-asm.h.
5929         (DEST): Likewise.
5930         (SRC): Likewise.
5931         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
5932         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5933         "bp-asm.h".
5934         (PARMS): Do not use macros from bp-asm.h.
5935         (strlen): Do not use BP_SYM.
5936         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5937         "bp-asm.h".
5938         (PARMS): Do not use macros from bp-asm.h.
5939         (S1): Likewise.
5940         (S2): Likewise.
5941         (SIZE): Likewise.
5942         (__mpn_sub_n): Do not use BP_SYM.
5943         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5944         "bp-asm.h".
5945         (PARMS): Do not use macros from bp-asm.h.
5946         (S1): Likewise.
5947         (SIZE): Likewise.
5948         (__mpn_submul_1): Do not use BP_SYM.
5949         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5950         "bp-asm.h".
5951         (PARMS): Do not use macros from bp-asm.h.
5952         (S1): Likewise.
5953         (S2): Likewise.
5954         (SIZE): Likewise.
5955         (__mpn_add_n): Do not use BP_SYM.
5956         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5957         weak_alias.
5958         (bzero): Likewise.
5959         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5960         "bp-asm.h".
5961         (PARMS): Do not use macros from bp-asm.h.
5962         (BLK2): Likewise.
5963         (LEN): Likewise.
5964         (memcmp): Do not use BP_SYM.
5965         (bcmp): Do not use BP_SYM in weak_alias.
5966         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5967         "bp-asm.h".
5968         (PARMS): Do not use macros from bp-asm.h.
5969         (DEST): Likewise.
5970         (SRC): Likewise.
5971         (LEN): Likewise.
5972         (memcpy): Likewise.  Do not use BP_SYM.
5973         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5974         "bp-asm.h".
5975         (PARMS): Do not use macros from bp-asm.h.
5976         (DEST): Likewise.
5977         (SRC): Likewise.
5978         (LEN): Likewise.
5979         (memmove): Likewise.  Do not use BP_SYM.
5980         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5981         "bp-asm.h".
5982         (PARMS): Do not use macros from bp-asm.h.
5983         (DEST): Likewise.
5984         (SRC): Likewise.
5985         (LEN): Likewise.
5986         (__mempcpy): Likewise.  Do not use BP_SYM.
5987         (mempcpy): Do not use BP_SYM in weak_alias.
5988         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5989         "bp-asm.h".
5990         (PARMS): Do not use macros from bp-asm.h.
5991         (DEST): Likewise.
5992         (LEN): Likewise.
5993         [!BZERO_P] (CHR): Likewise.
5994         (memset): Likewise.  Do not use BP_SYM.
5995         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5996         "bp-asm.h".
5997         (PARMS): Do not use macros from bp-asm.h.
5998         (STR2): Likewise.
5999         (strcmp): Do not use BP_SYM.
6000         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6001         "bp-asm.h".
6002         (PARMS): Do not use macros from bp-asm.h.
6003         (STR): Likewise.
6004         (DELIM): Likewise.
6005         [USE_AS_STRTOK_R] (SAVE): Likewise.
6006         (FUNCTION): Likewise.  Do not use BP_SYM.
6007         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6008         aliases.
6009         (strtok_r): Likewise.
6010         (__GI___strtok_r): Likewise.
6011         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6012         (PARMS): Do not use macros from bp-asm.h.
6013         (S): Likewise.
6014         (SIZE): Likewise.
6015         (__mpn_lshift): Do not use BP_SYM.
6016         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6017         (PARMS): Do not use macros from bp-asm.h.
6018         (STR): Likewise.
6019         (CHR): Likewise.
6020         (__memchr): Do not use BP_SYM.
6021         (memchr): Do not use BP_SYM in weak_alias.
6022         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6023         (PARMS): Do not use macros from bp-asm.h.
6024         (BLK2): Likewise.
6025         (LEN): Likewise.
6026         (memcmp): Do not use BP_SYM.
6027         (bcmp): Do not use BP_SYM in weak_alias.
6028         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6029         (PARMS): Do not use macros from bp-asm.h.
6030         (S1): Likewise.
6031         (SIZE): Likewise.
6032         (__mpn_mul_1): Do not use BP_SYM.
6033         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6034         "bp-asm.h".
6035         (PARMS): Do not use macros from bp-asm.h.
6036         (STR): Likewise.
6037         (CHR): Likewise.
6038         (__rawmemchr): Do not use BP_SYM.
6039         (rawmemchr): Do not use BP_SYM in weak_alias.
6040         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6041         (PARMS): Do not use macros from bp-asm.h.
6042         (S): Likewise.
6043         (SIZE): Likewise.
6044         (__mpn_rshift): Do not use BP_SYM.
6045         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6046         (PARMS): Do not use macros from bp-asm.h.
6047         (SIGMSK): Likewise.
6048         (__sigsetjmp): Likewise.  Do not use BP_SYM.
6049         * sysdeps/i386/start.S: Do not include "bp-sym.h".
6050         (_start): Do not use BP_SYM.
6051         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6052         (PARMS): Do not use macros from bp-asm.h.
6053         (DEST): Likewise.
6054         (SRC): Likewise.
6055         (__stpcpy): Likewise.  Do not use BP_SYM.
6056         (stpcpy): Do not use BP_SYM in weak_alias.
6057         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6058         "bp-asm.h".
6059         (PARMS): Do not use macros from bp-asm.h.
6060         (DEST): Likewise.
6061         (SRC): Likewise.
6062         (LEN): Likewise.
6063         (__stpncpy): Likewise.  Do not use BP_SYM.
6064         (stpncpy): Do not use BP_SYM in weak_alias.
6065         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6066         (PARMS): Do not use macros from bp-asm.h.
6067         (STR): Likewise.
6068         (CHR): Likewise.
6069         (strchr): Likewise.  Do not use BP_SYM.
6070         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6071         "bp-asm.h".
6072         (PARMS): Do not use macros from bp-asm.h.
6073         (STR): Likewise.
6074         (CHR): Likewise.
6075         (__strchrnul): Likewise.  Do not use BP_SYM.
6076         (strchrnul): Do not use BP_SYM in weak_alias.
6077         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6078         "bp-asm.h".
6079         (PARMS): Do not use macros from bp-asm.h.
6080         (STOP): Likewise.
6081         (strcspn): Do not use BP_SYM.
6082         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6083         "bp-asm.h".
6084         (PARMS): Do not use macros from bp-asm.h.
6085         (STR): Likewise.
6086         (STOP): Likewise.
6087         (strpbrk): Likewise.  Do not use BP_SYM.
6088         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6089         "bp-asm.h".
6090         (PARMS): Do not use macros from bp-asm.h.
6091         (STR): Likewise.
6092         (CHR): Likewise.
6093         (strrchr): Likewise.  Do not use BP_SYM.
6094         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6095         (PARMS): Do not use macros from bp-asm.h.
6096         (SKIP): Likewise.
6097         (strspn): Do not use BP_SYM.
6098         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6099         (PARMS): Do not use macros from bp-asm.h.
6100         (STR): Likewise.
6101         (DELIM): Likewise.
6102         (SAVE): Likewise.
6103         (FUNCTION): Likewise.  Do not use BP_SYM.
6104         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6105         aliases.
6106         (strtok_r): Likewise.
6107         (__GI___strtok_r): Likewise.
6108         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6109         (PARMS): Do not use macros from bp-asm.h.
6110         (S1): Likewise.
6111         (S2): Likewise.
6112         (SIZE): Likewise.
6113         (__mpn_sub_n): Do not use BP_SYM.
6114         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6115         "bp-asm.h".
6116         (PARMS): Do not use macros from bp-asm.h.
6117         (S1): Likewise.
6118         (SIZE): Likewise.
6119         (__mpn_submul_1): Do not use BP_SYM.
6120         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6121         <bp-sym.h>.
6122         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6123         and <bp-asm.h>.
6124         (PARMS): Do not use macros from bp-asm.h.
6125         (FLAGS): Likewise.
6126         (PTID): Likewise.
6127         (TLS): Likewise.
6128         (CTID): Likewise.
6129         (__clone): Do not use BP_SYM.
6130         (clone): Do not use BP_SYM in weak_alias.
6131         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6132         and <bp-asm.h>.
6133         (PARMS): Do not use macros from bp-asm.h.
6134         (LEN): Likewise.
6135         (__mmap64): Do not use BP_SYM.
6136         (mmap64): Do not use BP_SYM in weak_alias.
6137         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6138         <bp-sym.h> and <bp-asm.h>.
6139         (PARMS): Do not use macros from bp-asm.h.
6140         (__posix_fadvise64_l64): Do not use BP_SYM.
6141         * sysdeps/unix/sysv/linux/i386/semtimedop.S
6142         (PARMS): Do not use macros from bp-asm.h.
6143         (NSOPS): Likewise.
6144         (semtimedop): Do not use BP_SYM.
6145         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6146         and <bp-asm.h>.
6148 2013-02-21  Allan McRae  <allan@archlinux.org>
6150         * manual/message.texi (Charset conversion in gettext):
6151         Move @end statement to beginning of line.
6153 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6155         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6156         static.
6157         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6158         Likewise.
6160         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6161         (denorm): Likewise.
6162         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6163         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6165 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6167         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6168         tail-call to the resolved function if pltexit isn't needed.
6170 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6172         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6173         or Y being zero as being unlikely.
6174         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6175         Likewise.
6177 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
6179         * manual/nss.texi (System Databases and Name Service Switch):
6180         Remove frobnicate @pxref.
6182 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
6184         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6185         __attribute__ ((unused)) to __attribute__ ((__unused__)).
6187 2013-02-20  Petr Machata  <pmachata@redhat.com>
6189         * elf/elf.h (R_ARM_TARGET1): New macro.
6190         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6191         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6192         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6193         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6194         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6195         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6196         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6197         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6198         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6199         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6200         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6201         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6202         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6203         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6204         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6205         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6206         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6207         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6208         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6209         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6210         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6211         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6212         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6213         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6214         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6215         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6216         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6217         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6218         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6219         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6220         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6221         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6222         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6223         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6224         (R_ARM_THM_GOT_BREL12): Likewise.
6225         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6226         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6227         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6228         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6229         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6230         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6231         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6232         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6233         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6235 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
6237         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6238         __attribute_used__ to __attribute__ ((unused)).
6240 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6242         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6243         powerpc mpa.c.
6244         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6245         comment formatting.
6246         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6248 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
6250         [BZ #13550]
6251         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6252         Remove macro.
6253         (ENTER): Remove both macro definitions.
6254         (LEAVE): Likewise.
6255         (CHECK_BOUNDS_LOW): Likewise.
6256         (CHECK_BOUNDS_HIGH): Likewise.
6257         (CHECK_BOUNDS_BOTH): Likewise.
6258         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6259         (RETURN_BOUNDED_POINTER): Likewise.
6260         (RETURN_NULL_BOUNDED_POINTER): Likewise.
6261         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6262         (POP_ERRNO_LOCATION_RETURN): Likewise.
6263         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6264         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6265         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6266         macros.
6267         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6268         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6269         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6270         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6271         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6272         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6273         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6274         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6275         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6276         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6277         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6278         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6279         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6280         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6281         removed macros.
6282         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6283         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6284         macros.
6285         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6286         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6287         * sysdeps/i386/i586/memset.S (memset): Likewise.
6288         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6289         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6290         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6291         macros.
6292         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6293         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6294         Change uses of L(2) to L(out).
6295         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6296         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6297         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6298         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6299         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6300         removed macros.
6301         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6302         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6303         macros.
6304         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6305         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6306         (RETURN): Do not use macro LEAVE.
6307         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6308         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6309         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6310         * sysdeps/i386/i686/memset.S (memset): Likewise.
6311         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6312         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6313         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6314         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6315         Likewise.
6316         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6317         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
6318         L(1_2) and L(1_3) into L(1).
6319         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6320         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6321         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6322         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6323         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6324         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6325         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6326         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6327         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6328         macros.
6329         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6330         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6331         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6332         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6333         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6334         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6335         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6336         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6337         * sysdeps/i386/strcspn.S (strcspn): Likewise.
6338         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6339         * sysdeps/i386/strrchr.S (strrchr): Likewise.
6340         * sysdeps/i386/strspn.S (strspn): Likewise.
6341         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6342         conditional code.
6343         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6344         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6345         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6346         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
6347         L(1_3) into L(1_1).
6348         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6349         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6350         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6351         macros.
6352         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6354 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
6356         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6357         macro.
6359 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6361         * math/atest-exp.c (exp_mpn): Remove ROUND.
6362         * math/atest-exp2.c (exp_mpn): Likewise.
6363         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6365         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6366         * stdlib/tst-tls-atexit-lib.c: Likewise.
6367         * stdlib/tst-tls-atexit.c: Likewise.
6369 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
6371         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6372         and __attribute_alloc_size__.
6374 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
6376         * include/programs/xmalloc.h: Change __attribute_alloc_size to
6377         __attribute_alloc_size__.
6378         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6379         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6381 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
6383         * include/programs/xmalloc.h: New file.
6384         * catgets/gencat.c: Include it.
6385         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6386         * elf/pldd.c: Likewise.
6387         * iconv/iconv_charmap.c: Likewise.
6388         * iconv/iconvconfig.c: Likewise.
6389         * iconv/strtab.c: Likewise.
6390         * locale/programs/locale.c: Likewise.
6391         * locale/programs/localedef.h: Likewise.
6392         * locale/programs/simple-hash.c: Likewise.
6393         * nscd/nscd.h: Likewise.
6394         * nss/makedb.c: Likewise.
6395         * sysdeps/generic/ldconfig.h: Likewise.
6397 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6399         * Versions.def: Add GLIBC_2.18.
6400         * include/link.h (struct link_map): New member l_tls_dtor_count.
6401         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6402         (__call_tls_dtors): Likewise.
6403         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6404         __cxa_thread_atexit_impl.
6405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6406         Likewise.
6407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6408         Likewise.
6409         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6410         Likewise.
6411         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6412         Likewise.
6413         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6414         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6415         Likewise.
6416         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6417         Likewise.
6418         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6419         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6420         Likewise.
6421         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6422         (tests): Add test case tst-tls-atexit.
6423         (modules-names): Add shared library for tst-tls-atexit.
6424         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
6425         (GLIBC_PRIVATE): Add __call_tls_dtors.
6426         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6427         for libstdc++.
6428         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6429         * stdlib/tst-tls-atexit.c: New test case.
6430         * stdlib/tst-tls-atexit-lib.c: New test case.
6432         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
6434         * elf/Versions (ld): Add _dl_find_dso_for_object.
6435         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6436         * elf/dl-open.c (_dl_find_dso_for_object): New function.
6437         (dl_open_worker): Use _dl_find_dso_for_object.
6438         * elf/dl-sym.c (do_sym): Likewise.
6439         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6441 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6443         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6444         Syntactic changes only.
6445         (_dl_runtime_profile): Do a tail-call to the resolved function.
6447 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
6449         [BZ #13550]
6450         * sysdeps/x86_64/bp-asm.h: Remove file.
6451         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6452         <bp-sym.h> and <bp-asm.h>.
6453         (__clone): Do not use BP_SYM.
6454         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6455         <bp-sym.h> and <bp-asm.h>.
6456         * sysdeps/unix/x86_64/sysdep.S: Likewise.
6457         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6458         "bp-asm.h".
6459         (_setjmp): Do not use BP_SYM.
6460         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6461         "bp-asm.h".
6462         (setjmp): Do not use BP_SYM.
6463         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6464         libc_hidden_def.
6465         (mempcpy): Do not use BP_SYM in weak_alias.
6466         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6467         "bp-asm.h".
6468         (strchr): Do not use BP_SYM.
6469         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6470         "bp-asm.h".
6471         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6472         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6473         (_start): Do not use BP_SYM.
6474         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6475         "bp-asm.h".
6476         (strcat): Do not use BP_SYM.
6477         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6478         "bp-asm.h".
6479         (STRCMP): Do not use BP_SYM.
6480         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6481         "bp-asm.h".
6482         (STRCPY): Do not use BP_SYM.
6483         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6484         "bp-asm.h".
6485         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6486         "bp-asm.h".
6487         (FUNCTION): Do not use BP_SYM.
6488         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6489         weak_alias.
6490         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6492 2013-02-17  Andreas Jaeger  <aj@suse.de>
6494         * time/Versions: Sort entries.
6495         * string/Versions: Likewise.
6496         * resolv/Versions: Likewise.
6497         * posix/Versions: Likewise.
6498         * iconv/Versions: Likewise.
6499         * elf/Versions: Likewise.
6500         * wcsmbs/Versions: Likewise.
6502 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6504         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6505         loop termination condition.
6507         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6508         variable to calculate EZ.
6509         (__sqr): Likewise.
6511         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6512         the lower precision input.
6514 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
6516         [BZ #13550]
6517         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6518         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6519         (run-via-rtld-prefix): Do not handle %-bp tests.
6520         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6521         (all-object-suffixes): Remove .ob.
6522         (bppfx): Remove variable.
6523         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6524         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6525         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6526         [$(build-bounded) = yes] (libtype.ob): Likewise.
6527         * Makerules (elide-routines.ob): Remove variable.
6528         (do-tests-clean): Do not handle *-bp.out.
6529         (common-mostlyclean): Do not handle *-bp and *-bp.out.
6530         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6531         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6532         (tests): Do not include $(tests-bp.out).
6533         (xtests): Do not include $(xtests-bp.out).
6534         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6535         [$(build-bounded) = yes] ($(addprefix
6536         $(objpfx),$(binaries-bounded))): Remove rule.
6537         ($(objpfx)%-bp.out): Remove rule.
6538         * config.make.in (build-bounded): Remove variable.
6539         * crypt/Makefile [$(build-bounded) = yes]
6540         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6541         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6542         append to variable.
6543         [$(build-bounded) = yes] (install-lib): Likewise.
6544         [$(build-bounded) = yes] (generated): Likewise.
6545         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6546         Remove rule.
6547         * intl/Makefile [$(build-bounded) = yes]
6548         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6549         * math/Makefile [$(build-bounded) = yes]
6550         ($(tests:%=$(objpfx)%-bp): Likewise.
6551         * misc/Makefile [$(build-bounded) = yes]
6552         ($(objpfx)tst-tsearch-bp): Likewise.
6553         * nptl/Makeconfig (bounded-thread-library): Remove variable.
6554         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6555         Remove dependency.
6556         * string/Makefile (o-objects.ob): Remove variable.
6557         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6558         (CFLAGS-.ob): Remove variable.
6559         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6560         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6561         both definitions of variable.
6562         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6563         (ASFLAGS-.ob): Remove variable.
6565 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
6567         [BZ #13550]
6568         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6569         Remove __BOUNDED_POINTERS__ from condition.
6570         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6571         * string/bits/string2.h [!__NO_STRING_INLINES &&
6572         !__BOUNDED_POINTERS__]: Likewise.
6573         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6574         Likewise.
6575         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6576         Remove conditional code.
6577         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6578         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6579         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6580         condition.
6582         [BZ #13550]
6583         * csu/libc-start.c: Do not include <bp-sym.h>.
6584         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6585         * elf/dl-open.c: Do not include <bp-sym.h>.
6586         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6587         * math/fegetenv.c: Do not include <bp-sym.h>.
6588         (fegetenv): Do not use BP_SYM in versioned symbols.
6589         * nptl/sysdeps/pthread/bits/libc-lockP.h
6590         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6591         <bp-sym.h>.
6592         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6593         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6594         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6595         (__pthread_mutex_destroy): Likewise.
6596         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6597         (__pthread_mutex_lock): Likewise.
6598         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6599         (__pthread_mutex_trylock): Likewise.
6600         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6601         (__pthread_mutex_unlock): Likewise.
6602         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6603         (__pthread_mutexattr_init): Likewise.
6604         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6605         (__pthread_mutexattr_destroy): Likewise.
6606         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6607         (__pthread_mutexattr_settype): Likewise.
6608         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6609         (__pthread_rwlock_init): Likewise.
6610         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6611         (__pthread_rwlock_destroy): Likewise.
6612         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6613         (__pthread_rwlock_rdlock): Likewise.
6614         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6615         (__pthread_rwlock_tryrdlock): Likewise.
6616         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6617         (__pthread_rwlock_wrlock): Likewise.
6618         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6619         (__pthread_rwlock_trywrlock): Likewise.
6620         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6621         (__pthread_rwlock_unlock): Likewise.
6622         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6623         (__pthread_key_create): Likewise.
6624         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6625         (__pthread_setspecific): Likewise.
6626         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6627         (__pthread_getspecific): Likewise.
6628         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6629         Likewise.
6630         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6631         (_pthread_cleanup_push_defer): Likewise.
6632         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6633         (_pthread_cleanup_pop_restore): Likewise.
6634         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6635         (pthread_setcancelstate): Likewise.
6636         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6637         <bp-sym.h>.
6638         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6639         (memchr): Do not use BP_SYM in weak_alias.
6640         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6641         (fegetenv): Do not use BP_SYM in versioned symbols.
6642         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6643         (fesetenv): Do not use BP_SYM in versioned symbols.
6644         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6645         (feupdateenv): Do not use BP_SYM in versioned symbols.
6646         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6647         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6648         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6649         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6650         (open64): Do not use BP_SYM in weak_alias.
6651         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6652         (fegetenv): Do not use BP_SYM in versioned symbols.
6653         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6654         (fesetenv): Do not use BP_SYM in versioned symbols.
6655         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6656         (feupdateenv): Do not use BP_SYM in versioned symbols.
6657         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6658         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6659         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6660         (feraiseexcept): Do not use BP_SYM in versioned symbols.
6661         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6662         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6663         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6664         <bp-sym.h>.
6665         (__libc_start_main): Do not use BP_SYM.
6667 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6669         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6670         redundant return line.
6671         (norm): Likewise.
6672         (denorm): Likewise.
6673         (dbl_mp): Likewise.
6674         (sub_magnitudes): Likewise.
6675         (__add): Likewise.
6676         (__sub): Likewise.
6677         (__mul): Likewise.
6678         (__inv): Likewise.
6679         (__dvd): Likewise.
6680         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6681         (norm): Likewise.
6682         (denorm): Likewise.
6683         (dbl_mp): Likewise.
6684         (sub_magnitudes): Likewise.
6685         (__add): Likewise.
6686         (__sub): Likewise.
6687         (__mul): Likewise.
6688         (__inv): Likewise.
6689         (__dvd): Likewise.
6691         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6692         instead of __mul.
6693         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6694         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6695         (cc32): Likewise.
6697         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6698         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6699         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6700         of __mul for squares.
6701         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6702         function
6703         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6704         Likewise.
6705         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6706         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6708 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
6710         [BZ #13550]
6711         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6712         code.
6713         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6714         prototype or function definition.  Rename ubp_* variables and
6715         parameters.  Remove argv definitions conditional on
6716         [__BOUNDED_POINTERS__].
6717         * debug/backtrace.c (__backtrace): Do not use __unbounded.
6718         * elf/dl-runtime.c (_dl_fixup): Likewise.
6719         * include/set-hooks.h (RUN_HOOK): Likewise.
6720         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6721         definition.
6722         * string/strcpy.c (strcpy): Do not use __unbounded.
6723         * sysdeps/generic/frame.h (struct layout): Likewise.
6724         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6725         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6726         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6727         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6728         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6729         (__backtrace): Likewise.
6730         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6731         use __ptrvalue.
6732         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6733         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6734         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6735         Likewise.
6736         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6737         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6738         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6739         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6740         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6741         Do not use __unbounded.
6742         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6743         Rename __unboundedrlimits parameter to rlimits in prototype.
6744         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6745         Do not use __unbounded.
6746         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6747         not use __ptrvalue.
6748         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6749         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6750         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6751         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6752         __ptrvalue or __unbounded.
6753         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6754         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6755         use __unbounded.
6756         (__new_msgctl): Do not use __ptrvalue.
6757         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6758         __unbounded.
6759         (__libc_msgrcv): Do not use __ptrvalue.
6760         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6761         startup_info): Do not use __unbounded.
6762         (__libc_start_main): Likewise.  Rename ubp_* variables and
6763         parameters.  Remove argv definitions conditional on
6764         [__BOUNDED_POINTERS__].
6765         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6766         __ptrvalue.
6767         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6768         use __unbounded.
6769         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6770         or __ptrvalue.
6771         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6772         use __unbounded.
6773         (__new_shmctl): Do not use __ptrvalue.
6774         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6775         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6776         Likewise.
6777         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6778         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6779         (__libc_sigaction): Likewise.
6780         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6781         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6782         Likewise.
6783         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6785 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
6787         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
6789         * string/mempcpy.c: Implement by calling memcpy.
6791 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6793         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6795         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6796         evaluation.
6798         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6799         values in the mantissa.
6801         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6802         minimize writes to Z.
6803         (sub_magnitudes): Simplify code a bit.
6805 2013-02-12  Roland McGrath  <roland@hack.frob.com>
6807         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6808         from the message.  The linker prefixes all warnings with that already.
6810 2013-02-12  Andreas Schwab  <schwab@suse.de>
6812         [BZ #15078]
6813         * posix/regexec.c (extend_buffers): Add parameter min_len.
6814         (check_matching): Pass minimum needed length.
6815         (clean_state_log_if_needed): Likewise.
6816         (get_subexp): Likewise.
6817         * posix/Makefile (tests): Add bug-regex34.
6818         (bug-regex34-ENV): Define.
6819         * posix/bug-regex34.c: New file.
6821         [BZ #11561]
6822         * posix/regcomp.c (parse_bracket_exp): When looking up collating
6823         elements compare against the byte sequence of it, not its name.
6824         * posix/Makefile (tests): Add bug-regex35.
6825         (bug-regex35-ENV): Define.
6826         * posix/bug-regex35.c: New file.
6828 2013-02-11  Tom de Vries  <tom@codesourcery.com>
6830         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
6831         comment.
6832         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6833         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6834         (CHECK_EOL): Add undef.
6836 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
6838         * bits/stdlib-bsearch.h: New file.
6839         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
6840         * stdlib/stdlib.h: Likewise.
6842 2013-02-11  Roland McGrath  <roland@hack.frob.com>
6844         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6845         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6846         declaration.
6847         * manual/search.texi (Array Search Function): Add missing const in
6848         lfind prototype.
6849         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6850         declaration to use rlim_t.
6851         (Basic Scheduling Functions): Remove erroneous const from
6852         sched_getparam prototype.  Remove erroneous * from
6853         sched_get_priority_max and sched_get_priority_min prototypes.
6854         (Resource Usage): Fix summary @comment on vtimes to refer to
6855         sys/vtimes.h rather than vtimes.h.
6856         Add missing *s in vtimes prototype.
6857         (Limits on Resources): Fix ulimit prototype to return long int.
6858         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6859         prototypes to use long int rather than double.
6860         (BSD Random): Fix initstate and setstate to use char *, not void *.
6861         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6862         prototype to make second argument 'struct aiocb64 *const[]'.
6863         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6864         (Status of AIO Operations): Remove erroneous const in aio_return and
6865         aio_return64 prototypes.
6866         (Synchronizing I/O): Fix sync prototype to return void.
6867         * manual/startup.texi (Suboptions): Remove an erroneous const in
6868         getsubopt prototype.
6869         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6870         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6871         use size_t rather than int.
6872         (Scanning All Users): Likewise for getpwent_r.
6873         (Setting Groups): Add missing const to setgroups prototype.
6874         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6875         * manual/socket.texi (Host Names): Fix gethostbyaddr and
6876         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6877         'const void *' rather than 'const char *'.
6878         (Host Address Functions): Likewise for inet_ntop.
6879         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6880         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6881         ssize_t for return value.
6882         (Sending Data): Likewise for send, sendto, sendmsg.
6883         (Socket Option Functions): Add a missing const in setsockopt prototype.
6884         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6885         use wchar_t for the argument.
6886         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6887         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6888         take no arguments.
6889         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6890         double/float/long double for second argument.
6891         Fix return types of significand, significandf, significandl.
6892         * manual/filesys.texi (Setting Permissions): Use mode_t for second
6893         argument in fchmod prototype.
6894         (File Owner): Use uid_t and gid_t in fchown prototype.
6895         (File Times): Add const to utimes, futimes, and lutimes prototypes.
6896         (Making Special Files): Use mode_t and dev_t in mknod prototype.
6897         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6898         use 'const struct dirent **' as argument types to CMP function pointer
6899         argument.
6900         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6901         (File Times): Fix summary magic @comment for struct utimbuf and utime
6902         to refer to utime.h, not time.h.
6903         * manual/string.texi (Argz Functions): Add missing const in
6904         argz_extract and argz_next prototypes.
6905         (Finding Tokens in a String): Likewise for basename.
6906         (String/Array Comparison): Fix typo in wcscasecmp prototype.
6907         (Copying and Concatenation): Fix typo in wmemmove prototype.
6908         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6909         (Signal Stack): Remove erroneous const in sigstack prototype.
6910         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6911         prototype.
6912         (Simple Calendar Time): Likewise for stime.
6913         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6914         prototype.
6915         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6916         say sys/sysctl.h instead.
6917         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6918         and vsyslog prototypes.
6920 2013-02-11  Tom de Vries  <tom@codesourcery.com>
6922         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6923         Remove.
6925 2013-02-11  Roland McGrath  <roland@hack.frob.com>
6927         * misc/sys/mman.h: Fix typo in mremap comment.
6929 2013-02-08  Roland McGrath  <roland@hack.frob.com>
6931         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6932         the '\0' terminator.
6934 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
6936         [BZ #13550]
6937         * debug/segfault.c: Don't include <bp-checks.h>.
6938         * sysdeps/generic/bp-checks.h: Remove file.
6939         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6940         (__GETDENTS): Don't use CHECK_N.
6941         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6942         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6943         (__getgroups): Don't use CHECK_N.
6944         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6945         (setgroups): Don't use CHECK_N.
6946         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6947         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6948         (__libc_msgrcv): Don't use CHECK_N.
6949         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6950         (__libc_msgsnd): Don't use CHECK_N.
6951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6952         <bp-checks.h>.
6953         (__libc_pread): Don't use CHECK_N.
6954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6955         include <bp-checks.h>.
6956         (__libc_pread64): Don't use CHECK_N.
6957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6958         include <bp-checks.h>.
6959         (__libc_pwrite): Don't use CHECK_N.
6960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6961         include <bp-checks.h>.
6962         (__libc_pwrite64): Don't use CHECK_N.
6963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6964         <bp-checks.h>.
6965         (__libc_pread): Don't use CHECK_N.
6966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6967         include <bp-checks.h>.
6968         (__libc_pread64): Don't use CHECK_N.
6969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6970         include <bp-checks.h>.
6971         (__libc_pwrite): Don't use CHECK_N.
6972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6973         include <bp-checks.h>.
6974         (__libc_pwrite64): Don't use CHECK_N.
6975         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6976         (do_pread): Don't use CHECK_N.
6977         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6978         (do_pread64): Don't use CHECK_N.
6979         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6980         (do_pwrite): Don't use CHECK_N.
6981         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6982         (do_pwrite64): Don't use CHECK_N.
6983         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6984         (__libc_readv): Don't use CHECK_N.
6985         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6986         (semop): Don't use CHECK_N.
6987         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6988         <bp-checks.h>.
6989         (semtimedop): Don't use CHECK_N.
6990         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6991         (__libc_pread): Don't use CHECK_N.
6992         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6993         <bp-checks.h>.
6994         (__libc_pread64): Don't use CHECK_N.
6995         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6996         <bp-checks.h>.
6997         (__libc_pwrite): Don't use CHECK_N.
6998         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6999         <bp-checks.h>.
7000         (__libc_pwrite64): Don't use CHECK_N.
7001         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7002         <bp-checks.h>.
7003         (__libc_msgrcv): Don't use CHECK_N.
7004         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7005         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
7006         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7007         (__libc_writev): Don't use CHECK_N.
7009 2013-02-08  Roland McGrath  <roland@hack.frob.com>
7011         * string/strcpy.c: Removed unused variable.
7013         * Makeconfig (+sysdep-includes): Define with := rather than =.
7014         Use an existing include/ subdir of each sysdeps dir before it.
7016 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
7018         * nscd/connection.c (register_traced_file): Comment function.
7019         [HAVE_INOTIFY] (union __inev): Define.
7020         [HAVE_INOTIFY] (inotify_check_files): New function.
7021         [HAVE_INOTIFY] (clear_db_cache): Likewise.
7022         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7023         clear_db_cache.
7024         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7026 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
7028         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7029         loaded if not already and that a failure is permanent.
7031 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
7033         [BZ #15006]
7034         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7035         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7037 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
7039         [BZ #13550]
7040         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7041         (CHECK_1_NULL_OK): Likewise.
7042         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7043         (__fxstat): Do not use CHECK_1.
7044         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7045         <bp-checks.h>.
7046         (___fxstat64): Do not use CHECK_1.
7047         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7048         <bp-checks.h>.
7049         (__fxstatat): Do not use CHECK_1.
7050         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7051         <bp-checks.h>.
7052         (__fxstatat64): Do not use CHECK_1.
7053         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7054         <bp-checks.h>.
7055         (__fxstat): Do not use CHECK_1.
7056         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7057         <bp-checks.h>.
7058         (__fxstatat): Do not use CHECK_1.
7059         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7060         <bp-checks.h>.
7061         (__getresgid): Do not use CHECK_1.
7062         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7063         <bp-checks.h>.
7064         (__getresuid): Do not use CHECK_1.
7065         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7066         <bp-checks.h>.
7067         (__lxstat): Do not use CHECK_1.
7068         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7069         <bp-checks.h>.
7070         (__old_msgctl): Do not use CHECK_1.
7071         (__new_msgctl): Likewise.
7072         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7073         <bp-checks.h>.
7074         (__new_setrlimit): Do not use CHECK_1.
7075         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7076         <bp-checks.h>.
7077         (__old_shmctl): Do not use CHECK_1.
7078         (__new_shmctl): Likewise.
7079         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7080         <bp-checks.h>.
7081         (__xstat): Do not use CHECK_1.
7082         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7083         (__lxstat): Do not use CHECK_1.
7084         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7085         <bp-checks.h>.
7086         (___lxstat64): Do not use CHECK_1.
7087         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7088         (__old_msgctl): Do not use CHECK_1.
7089         (__new_msgctl): Likewise.
7090         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7091         <bp-checks.h>.
7092         (__gettimeofday): Do not use CHECK_1.
7093         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7094         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7095         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7096         <bp-checks.h>.
7097         (__gettimeofday): Do not use CHECK_1.
7098         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7099         (__old_shmctl): Do not use CHECK_1_NULL_OK.
7100         (__new_shmctl): Do not use CHECK_1.
7101         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7102         <bp-checks.h>.
7103         (do_sigtimedwait): Do not use CHECK_1.
7104         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7105         <bp-checks.h>.
7106         (do_sigwaitinfo): Do not use CHECK_1.
7107         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7108         <bp-checks.h>.
7109         (msgctl): Do not use CHECK_1.
7110         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7111         <bp-checks.h>.
7112         (shmctl): Do not use CHECK_1.
7113         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7114         (ustat): Do not use CHECK_1.
7115         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7116         <bp-checks.h>.
7117         (__fxstat): Do not use CHECK_1.
7118         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7119         <bp-checks.h>.
7120         (__fxstatat): Do not use CHECK_1.
7121         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7122         <bp-checks.h>.
7123         (__lxstat): Do not use CHECK_1.
7124         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7125         <bp-checks.h>.
7126         (__xstat): Do not use CHECK_1.
7127         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7128         (__xstat): Do not use CHECK_1.
7129         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7130         (___xstat64): Do not use CHECK_1.
7132         [BZ #13550]
7133         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7134         definitions.
7135         (CHECK_BOUNDS_HIGH): Likewise.
7136         * string/strcpy.c: Do not include <bp-checks.h>.
7137         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7139 2013-02-07  Roland McGrath  <roland@hack.frob.com>
7141         * nscd/nscd-client.h (__nscd_drop_map_ref):
7142         Add __attribute__ ((unused)).
7143         * nis/nss-nisplus.h (niserr2nss): Likewise.
7145         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7146         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7148         * csu/libc-tls.c (init_static_tls, init_slotinfo):
7149         Remove inline keyword.
7150         * include/rounding-mode.h (round_away): Likewise.
7151         * libio/wfileops.c (adjust_wide_data): Likewise.
7152         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7153         (__m128i_strloadu_tolower): Likewise.
7154         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7155         (__m128i_strloadu_tolower): Likewise.
7156         * time/mktime.c (ydhms_diff): Likewise.
7157         * locale/elem-hash.h (elem_hash): Likewise.
7158         * locale/setlocale.c (setdata): Likewise.
7159         * posix/regex_internal.h (re_string_char_size_at): Likewise.
7160         (re_string_wchar_at): Likewise.
7161         (bitset_not, bitset_merge, bitset_mask): Likewise.
7162         [!(__GNUC__ > 3)] (inline): Remove macro.
7163         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7164         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7165         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7166         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7167         * string/memcmp.c (memcmp_bytes): Likewise.
7168         * locale/programs/locarchive.c (compute_hashval): Likewise.
7169         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7170         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7171         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7172         * nss/getent.c (print_rpc, print_protocols): Likewise.
7173         (print_passwd, print_group, print_aliases): Likewise.
7174         * nis/nss-nisplus.h (niserr2nss): Likewise.
7175         * nscd/connections.c (restart_p): Likewise.
7176         Change return type to bool.
7178 2013-02-05  Roland McGrath  <roland@hack.frob.com>
7180         * Makeconfig (all-Depend-files): Add existing
7181         $(sorted-subdirs:=/Depend) files.
7182         (all-subdirs): Remove nss.
7183         * sysdeps/unix/inet/Subdirs: Add it here instead.
7184         * hesiod/Depend: New file.
7186         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7187         instead of calling alloca.
7189         * io/lseek.c (__lseek): Rename to __libc_lseek.
7190         Define __lseek as an alias.
7192         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7194 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
7196         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7197         else clause and remove check for non-standard endianness.
7199 2013-02-04  David S. Miller  <davem@davemloft.net>
7201         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7203 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
7205         [BZ #13550]
7206         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7207         (__ubp_memchr): Remove prototype.
7208         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7209         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7210         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7211         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7212         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7213         Remove alias.
7214         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7215         (__ubp_memchr): Likewise.
7216         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7217         (__ubp_memchr): Likewise.
7218         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7219         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7220         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7221         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7222         CHECK_STRING.
7223         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7224         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7225         (__getcwd): Do not use CHECK_STRING.
7226         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7227         <bp-checks.h>.
7228         (__real_chown): Do not use CHECK_STRING.
7229         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7230         <bp-checks.h>.
7231         (fchownat): Do not use CHECK_STRING.
7232         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7233         CHECK_STRING.
7234         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7235         <bp-checks.h>.
7236         (__lchown): Do not use CHECK_STRING.
7237         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7238         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7239         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7240         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7242         include <bp-checks.h>.
7243         (truncate64): Do not use CHECK_STRING.
7244         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7245         <bp-checks.h>.
7246         (__real_chown): Do not use CHECK_STRING.
7247         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7248         <bp-checks.h>.
7249         (__lchown): Do not use CHECK_STRING.
7250         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7251         <bp-checks.h>.
7252         (__chown): Do not use CHECK_STRING.
7253         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7254         <bp-checks.h>.
7255         (truncate64): Do not use CHECK_STRING.
7256         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7257         Likewise.
7258         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7259         (__xmknod): Do not use CHECK_STRING.
7260         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7261         <bp-checks.h>.
7262         (__xmknodat): Do not use CHECK_STRING.
7263         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7264         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7266 2013-02-04  Andreas Schwab  <schwab@suse.de>
7268         [BZ #14142]
7269         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7270         * include/netdb.h: Likewise for h_errno.
7271         * elf/tst-stackguard1.c: Include <tls.h>.
7273 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
7275         * elf/link.h (struct link_map): Extend the l_addr comment.
7276         * include/link.h (struct link_map): Likewise.
7278 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
7280         [BZ #13550]
7281         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7282         (BOUNDED_1): Remove macro.
7283         * debug/backtrace.c: Don't include <bp-checks.h>.
7284         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7285         (__backtrace): Likewise.
7286         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7287         <bp-checks.h>.
7288         (__backtrace): Don't use BOUNDED_1.
7289         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7290         <bp-checks.h>.
7291         (__backtrace): Don't use BOUNDED_1.
7292         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7293         (__backtrace): Don't use BOUNDED_1.
7294         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7295         (shmat): Don't use BOUNDED_N.
7297 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
7299         [BZ #13550]
7300         * sysdeps/generic/bp-start.h: Remove file.
7301         * csu/libc-start.c: Don't include <bp-start.h>.
7302         (LIBC_START_MAIN): Set up __environ directly instead of using
7303         INIT_ARGV_and_ENVIRON.
7304         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7305         <bp-start.h>.
7307         [BZ #13550]
7308         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7309         definitions.
7310         (CHECK_FCNTL): Likewise.
7311         (CHECK_N_PAGES): Likewise.
7313         [BZ #13550]
7314         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7315         definitions.
7316         (CHECK_SIGSET_NULL_OK): Likewise.
7317         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7318         <bp-checks.h>.
7319         (sigpending): Don't use CHECK_SIGSET.
7320         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7321         <bp-checks.h>.
7322         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7323         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7324         <bp-checks.h>.
7325         (do_sigsuspend): Don't use CHECK_SIGSET.
7326         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7327         use CHECK_SIGSET.
7328         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7329         (do_sigwait): Don't use CHECK_SIGSET.
7330         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7331         use CHECK_SIGSET.
7332         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7333         include <bp-checks.h>.
7334         (sigpending): Don't use CHECK_SIGSET.
7335         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7336         include <bp-checks.h>.
7337         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7338         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7339         <bp-checks.h>.
7340         (sigpending): Don't use CHECK_SIGSET.
7341         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7342         <bp-checks.h>.
7343         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7345         [BZ #13550]
7346         * sysdeps/generic/bp-semctl.h: Remove file.
7347         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7348         <bp-checks.h> and <bp-semctl.h>.
7349         (__old_semctl): Don't use CHECK_SEMCTL.
7350         (__new_semctl): Likewise.
7351         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7352         and <bp-semctl.h>.
7353         (__old_semctl): Don't use CHECK_SEMCTL.
7354         (__new_semctl): Likewise.
7355         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7356         <bp-checks.h> and <bp-semctl.h>.
7357         (__old_semctl): Don't use CHECK_SEMCTL.
7358         (__new_semctl): Likewise.
7359         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7360         <bp-checks.h> and <bp-semctl.h>.
7361         (semctl): Don't use CHECK_SEMCTL.
7363         [BZ #13550]
7364         * Makerules (elide-bp-thunks): Remove variable.
7365         (elide-routines.oS): Don't use $(elide-bp-thunks).
7366         (elide-routines.os): Likewise.
7367         (elide-routines.o): Likewise.
7368         (elide-routines.op): Likewise.
7369         (elide-routines.og): Likewise.
7370         (objects): Don't use $(bp-thunks).
7371         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7372         include.
7373         (common-generated): Do not add s-proto-bp.d.
7374         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7375         (int): Likewise.
7376         (typ): Likewise.
7377         Do not generate makefile rules for bounded-pointer thunks.
7378         * sysdeps/generic/bp-thunks.h: Remove file.
7379         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7380         * sysdeps/unix/s-proto-bp.S: Likewise.
7382         [BZ #15062]
7383         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7384         parts of result separately when argument is not close to line from
7385         -i to i and one part of argument is small.
7386         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7387         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7388         * math/libm-test.inc (cacos_test): Add more tests.
7389         (casin_test): Likewise.
7390         (casinh_test): Likewise.
7391         * sysdeps/i386/fpu/libm-test-ulps: Update.
7392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7394 2013-01-31  David S. Miller  <davem@davemloft.net>
7396         * po/de.po: Update from translation team.
7398 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
7400         * time/tzfile.c: Include stdint.h for SIZE_MAX.
7402 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
7404         * configure.in (_AC_PROG_CC_C89): New definition.
7405         * configure: Regenerate.
7407         * configure.in (AC_PROG_CPP): New definition.
7408         * configure: Regenerate.
7410 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
7412         * debug/tst-backtrace.h: New file.
7413         * debug/tst-backtrace2.c: Include tst-backtrace.h.
7414         (ret): Remove variable.
7415         (x): Likewise.
7416         (FAIL): Remove macro.
7417         (NO_INLINE): Likewise.
7418         (fn1): Use match function instead of strstr.
7419         * debug/tst-backtrace3.c: Include tst-backtrace.h.
7420         (ret): Remove variable.
7421         (x): Likewise.
7422         (FAIL): Remove macro.
7423         (NO_INLINE): Likewise.
7424         (fn): Use match function instead of strstr.
7425         * debug/tst-backtrace4.c: Include tst-backtrace.h.
7426         (ret): Remove variable.
7427         (x): Likewise.
7428         (FAIL): Remove macro.
7429         (NO_INLINE): Likewise.
7430         (handle_signal): Use match function instead of strstr.
7431         * debug/tst-backtrace5.c: Include tst-backtrace.h.
7432         (ret): Remove variable.
7433         (x): Likewise.
7434         (FAIL): Remove macro.
7435         (NO_INLINE): Likewise.
7436         (handle_signal): Use match function instead of strstr.
7438 2013-01-23  Roland McGrath  <roland@hack.frob.com>
7440         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7442 2013-01-23  David S. Miller  <davem@davemloft.net>
7444         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7445         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7446         argument of CAS if possible.
7447         * sysdeps/sparc/sparc64/bits/atomic.h
7448         (__arch_compare_and_exchange_val_32_acq): Likewise.
7449         (__arch_compare_and_exchange_val_64_acq): Likewise.
7451 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
7453         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7454         * sysdeps/posix/ulimit.c: ... this.
7455         Include <limits.h>.
7456         * sysdeps/unix/bsd/ulimit.c: Remove file.
7458 2013-01-23  Adam Conrad  <adconrad@0c3.net>
7460         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7461         (LDFLAGS-tst-array5): Likewise.
7463 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
7465         [BZ #15036]
7466         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7467         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7468         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7469         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7471 2013-01-21  David S. Miller  <davem@davemloft.net>
7473         * sysdeps/sparc/backtrace.c: New file.
7474         * sysdeps/sparc/sparc32/backtrace.h: New file.
7475         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7476         * sysdeps/sparc/sparc64/backtrace.h: New file.
7477         * sysdeps/sparc/sparc64/backtrace.c: Delete.
7478         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7479         -funwind-tables.
7481 2013-01-21  Andreas Schwab  <schwab@suse.de>
7483         [BZ #15020]
7484         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7485         closed its stdout.
7487 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
7489         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7490         "mpa2.h".
7491         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7493 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
7494             Mark Mitchell  <mark@codesourcery.com>
7495             Tom de Vries  <tom@codesourcery.com>
7496             Paul Pluzhnikov  <ppluzhnikov@google.com>
7498         * debug/tst-backtrace2.c: New file.
7499         * debug/tst-backtrace3.c: Likewise.
7500         * debug/tst-backtrace4.c: Likewise.
7501         * debug/tst-backtrace5.c: Likewise.
7502         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7503         (CFLAGS-tst-backtrace3.c): Likewise.
7504         (CFLAGS-tst-backtrace4.c): Likewise.
7505         (CFLAGS-tst-backtrace5.c): Likewise.
7506         (LDFLAGS-tst-backtrace2): Likewise.
7507         (LDFLAGS-tst-backtrace3): Likewise.
7508         (LDFLAGS-tst-backtrace4): Likewise.
7509         (LDFLAGS-tst-backtrace5): Likewise.
7510         (tests): Add new tests tst-backtrace2, tst-backtrace3,
7511         tst-backtrace4 and tst-backtrace5.
7513 2013-01-18  Anton Blanchard  <anton@samba.org>
7514             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7516         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7517         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7518         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7519         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7521         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7522         "+r" and remove output regs list as redundant.  Add explicit inline
7523         asm to specify register of return val to work around compiler codegen
7524         bug.  Remove (int) cast on return value.  Add return type parameter to
7525         use in macro so that this macro does not truncate return value for
7526         64-bit values.
7527         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7528         pass to INTERNAL_VSYSCALL_NCS.
7529         (INLINE_VSYSCALL): Add 'long int' as return type to
7530         INTERNAL_VSYSCALL_NCS macro invocation.
7531         (INTERNAL_VSYSCALL): Add 'long int' as return type to
7532         INTERNAL_VSYSCALL_NCS macro invocation.
7533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7535 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7537         [BZ #14496]
7538         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7539         Fix application of SIMD FP exception mask.
7541         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7542         mp_no from a power of two.
7543         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7544         __mpexp_twomm1.  Use __pow_mp.
7546         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7547         multiplication.
7549 2013-01-17  David S. Miller  <davem@davemloft.net>
7551         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7553 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
7555         [BZ #15023]
7556         * include/complex.h: Condition contents on [!_COMPLEX_H].
7557         (__kernel_casinhf): New prototype.
7558         (__kernel_casinh): Likewise.
7559         (__kernel_casinhl): Likewise.
7560         * math/Makefile (libm_calls): Add k_casinh.
7561         * math/k_casinh.c: New file.
7562         * math/k_casinhf.c: Likewise.
7563         * math/k_casinhl.c: Likewise.
7564         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7565         finite nonzero arguments.
7566         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7567         finite nonzero arguments.
7568         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7569         finite nonzero arguments.
7570         * math/s_casinh.c: Do not include <float.h>.
7571         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7572         * math/s_casinhf.c: Do not include <float.h>.
7573         (__casinhf): Move code for finite nonzero arguments to
7574         k_casinhf.c.
7575         * math/s_casinhl.c: Do not include <float.h>.
7576         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7577         redefine.
7578         (__casinhl): Move code for finite nonzero arguments to
7579         k_casinhl.c.
7580         * math/libm-test.inc (cacos_test): Add more tests.
7581         * sysdeps/i386/fpu/libm-test-ulps: Update.
7582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7584 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
7586         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7587         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7588         [!HAVE_MREMAP]: Remove [defined linux] case.
7589         * malloc/arena.c: Do not include <malloc-sysdep.h>.
7591 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7593         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7595 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
7597         * elf/elf.h (R_386_SIZE32): New relocation.
7598         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7599         R_386_SIZE32.
7600         (elf_machine_rela): Likewise.
7601         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7602         R_X86_64_SIZE64 and R_X86_64_SIZE32.
7604 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
7606         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7607         (FP_FAST_FMA): Do not define.
7608         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7609         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7610         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7611         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7612         !_SOFT_FLOAT]: Likewise.
7613         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7614         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7615         value.
7616         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7617         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7618         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7619         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7620         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7621         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7622         file.
7624 2013-01-16  Andreas Schwab  <schwab@suse.de>
7626         [BZ #14327]
7627         * include/stdlib.h (__mktemp): Add declaration.
7628         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7629         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7631 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7633         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7634         definitions.
7635         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7636         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7637         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7638         definitions here.
7639         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7640         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7641         definitions.
7642         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7643         and ONE.
7644         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7645         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7646         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7647         definitions.
7648         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7649         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7650         definitions.
7651         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7653         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7655 2013-01-15  David S. Miller  <davem@davemloft.net>
7657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7658         trunc{,f} to libm-sysdep_routes.
7659         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7661         file.
7662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7664         file.
7665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7666         file.
7667         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7668         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7669         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7670         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7671         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7672         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7673         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7674         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7677         nearbyint{,f} to libm-sysdep_routes.
7678         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7680         New file.
7681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7682         file.
7683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7684         New file.
7685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7686         file.
7687         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7689         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7690         file.
7691         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7692         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7693         file.
7694         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7695         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7696         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7698         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7699         libc_feholdexcept and libc_fesetenv.
7701 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
7703         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7705 2013-01-14  David S. Miller  <davem@davemloft.net>
7707         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7708         (SPARC_ASM_VIS2_IFUNC): Likewise.
7709         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7711         use of 'siam' instruction.
7712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7713         Likewise.
7714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7715         Likewise.
7716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7717         Likewise.
7718         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7719         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7720         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7721         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7723         file.
7724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7725         file.
7726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7727         file.
7728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7729         file.
7730         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7731         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7732         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7733         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7735         new VIS2 routines.
7736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7739         Likewise.
7740         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7741         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7742         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7743         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7745         routines to libm-sysdep_routines.
7746         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7749         fdim/fdimf to libm-sysdep_routines.
7750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7751         file.
7752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7754         file.
7755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7756         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7757         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7758         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7759         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7760         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7761         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7763 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7765         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7766         to optimize copies.
7768         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7769         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7770         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7772         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7773         local variable MPTWO.
7774         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7775         Likewise.
7777 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7779         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7780         GLOB_NOESCAPE.
7782 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7784         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7786 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7788         * manual/pattern.texi (glob_t): Document gl_flags.
7789         (glob64_t): Likewise.
7791 2013-01-11  David S. Miller  <davem@davemloft.net>
7793         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7794         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7795         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
7796         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7797         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7798         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7799         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7800         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7801         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7802         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7803         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7804         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7805         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7807         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7808         sparc V9 rather than using V8 code.
7809         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7810         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7812         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7813         Move to...
7814         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7815         Here.
7817 2013-01-11  Roland McGrath  <roland@hack.frob.com>
7819         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7820         not in the main loop.
7821         * configure: Regenerated.
7823 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
7825         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7826         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7827         to just #else.
7828         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
7829         [!__GLIBC_HAVE_LONG_LONG] case.
7830         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7831         condition to just #else.
7832         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7833         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7834         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7835         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7836         unconditional.
7837         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7838         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7839         #elif condition to just #else.
7840         * sysdeps/unix/sysv/linux/sys/sysmacros.h
7841         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7842         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7843         #elif condition to just #else.
7845 2013-01-11  Steve Ellcey  <sellcey@mips.com>
7847         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7848         (EF_MIPS_ARCH_64): Fix value.
7849         (EF_MIPS_ARCH_32R2): New.
7850         (EF_MIPS_ARCH_64R2): New.
7852 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
7854         * Makeconfig (+link-pie-before-libc): New.
7855         (+link-pie-after-libc): Likewise.
7856         (+link-pie-tests): Likewise.
7857         (+link-pie): Rewritten.
7858         (link-before-libc): Remove $(config-LDFLAGS).
7859         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7860         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7861         (config-LDFLAGS): Renamed to ...
7862         (rtld-LDFLAGS): This.
7863         (rtld-tests-LDFLAGS): New macro.
7864         (link-libc-rpath-link): Likewise.
7865         (link-libc-tests-rpath-link): Likewise.
7866         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7867         (link-libc): Prepand $(link-libc-rpath-link).
7868         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7869         (test-program-prefix): New macro.
7870         (test-via-rtld-prefix): Likewise.
7871         (test-program-cmd): Likewise.
7872         (host-test-program-cmd): Likewise.
7873         * Makefile ($(common-objpfx)testrun.sh): Replace
7874         $(run-program-prefix) with $(test-program-prefix).
7875         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7876         $(rtld-LDFLAGS).
7877         ($(common-objpfx)shlib.lds): Likewise.
7878         (build-module-helper): Likewise.
7879         ($(common-objpfx)format.lds): Likewise.
7880         * Rules (binaries-pie-tests): New.
7881         (binaries-pie-notests): Likewise.
7882         (binaries-pie): Rewritten.
7883         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7884         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7885         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7886         (make-test-out): Replace $(host-built-program-cmd) with
7887         $(host-test-program-cmd).
7888         * config.make.in (build-hardcoded-path-in-tests): New variable.
7889         * configure.in (--enable-hardcoded-path-in-tests): New configure
7890         option.
7891         (hardcoded_path_in_tests): New AC_SUBST.
7892         * configure: Regenerated.
7893         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7894         $(built-program-cmd) with $(test-program-cmd).
7895         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7896         (test_program_cmd): This.
7897         * elf/Makefile ($(objpfx)order.out): Run test with
7898         $(test-program-prefix).
7899         ($(objpfx)order2.out): Likewise.
7900         ($(objpfx)tst-initorder.out): Likewise.
7901         ($(objpfx)tst-initorder2.out): Likewise.
7902         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7903         $(test-program-cmd).
7904         ($(objpfx)tst-array1-static.out): Likewise.
7905         ($(objpfx)tst-array2.out): Likewise.
7906         ($(objpfx)tst-array3.out): Likewise.
7907         ($(objpfx)tst-array4.out): Likewise.
7908         ($(objpfx)tst-array5.out): Likewise.
7909         ($(objpfx)tst-array5-static.out): Likewise.
7910         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7911         $(test-program-cmd).
7912         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7913         $(run-program-prefix) with $(test-program-prefix).
7914         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7915         (test_program_prefix): This.
7916         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7917         $(run-program-prefix) with $(test-program-prefix).
7918         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7919         (test_program_prefix): This.
7920         * iconvdata/tst-tables.sh: Likewise.
7921         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7922         $(run-program-prefix) with $(test-program-prefix).
7923         ($(objpfx)tst-translit.out): Likewise.
7924         ($(objpfx)tst-gettext2.out): Likewise.
7925         ($(objpfx)tst-gettext4.out): Likewise.
7926         ($(objpfx)tst-gettext6.out): Likewise.
7927         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7928         (test_program_prefix): This.
7929         * intl/tst-gettext2.sh: Likewise.
7930         * intl/tst-gettext4.sh  Likewise.
7931         * intl/tst-gettext6.sh: Likewise.
7932         * intl/tst-translit.sh: Likewise.
7933         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7934         with $(test-program-cmd).
7935         * libio/Makefile ($(objpfx)test-freopen.out): Replace
7936         $(run-program-prefix) with $(test-program-prefix).
7937         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7938         (test_program_prefix): This.
7939         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7940         $(run-program-prefix) with $(test-program-prefix).
7941         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7942         (test_program_prefix): This.
7943         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7944         * posix/Makefile ($(objpfx)globtest.out): Replace
7945         $(run-via-rtld-prefix) and $(test-wrapper) with
7946         $(test-program-prefix) and $(test-via-rtld-prefix).
7947         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7948         $(test-program-prefix).
7949         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7950         $(host-test-program-cmd).
7951         (tst-spawn-ARGS): Likewise.
7952         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7953         $(test-program-prefix).
7954         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7955         (test_via_rtld_prefix): This.
7956         (test_wrapper): Renamed to ...
7957         (test_program_prefix): This.
7958         (run_program_prefix): Replaced by test_program_prefix.
7959         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7960         (test_program_prefix): This.
7961         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7962         with $(host-test-program-cmd).
7963         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7964         $(run-program-prefix) with $(test-program-prefix).
7965         ($(objpfx)tst-printf.out): Likewise.
7966         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7967         $(test-program-cmd).
7968         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7969         (test_program_prefix): This.
7970         * stdio-common/tst-unbputc.sh: Likewise.
7971         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7972         $(run-program-prefix) with $(test-program-prefix).
7973         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7974         (test_program_prefix): This.
7975         * string/Makefile ($(objpfx)tst-svc.out):  Replace
7976         $(built-program-cmd) with $(test-program-cmd).
7978 2013-01-11  Andreas Jaeger  <aj@suse.de>
7980         [BZ #15003]
7981         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7982         value. Sync with Linux 3.7.
7984 2013-01-10  David S. Miller  <davem@davemloft.net>
7986         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7987         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7988         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7990 2013-01-10  Roland McGrath  <roland@hack.frob.com>
7992         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7993         never set.
7994         * configure: Regenerated.
7996 2013-01-10  David S. Miller  <davem@davemloft.net>
7998         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7999         sparc V9 rather than using V8 code.
8000         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8001         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8003 2013-01-10  Roland McGrath  <roland@hack.frob.com>
8005         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8006         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8007         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8008         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8009         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8010         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8011         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8012         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8013         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8014         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8015         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8016         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8017         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8018         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8019         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8020         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8021         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8022         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8023         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8024         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8025         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8026         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8027         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8028         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8029         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8030         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8031         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8033 2013-01-10  David S. Miller  <davem@davemloft.net>
8035         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8037 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
8039         * posix/Makefile (tests-static): New variable.
8040         (tests): Add $(tests-static).
8041         (tst-exec-static-ARGS): New variable.
8042         (tst-spawn-static-ARGS): Likewise.
8043         * posix/tst-exec-static.c: New file.
8044         * posix/tst-spawn-static.c: Likewise.
8045         * posix/tst-exec.c: Support run directly.
8046         * posix/tst-spawn.c: Likewise.
8048 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
8050         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8051         long.
8052         * math/bits/mathcalls.h (llrint): Likewise.
8053         (llround): Likewise.
8054         * stdlib/stdlib.h (struct drand48_data): Likewise.
8055         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8056         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8057         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8058         Likewise.
8059         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8060         Likewise.
8061         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8062         (elf_greg_t): Likewise.
8063         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8064         (__jmp_buf): Likewise.
8065         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8066         definitions.
8067         (llrint): Likewise, for all definitions.
8068         (llrintl): Likewise.
8070         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8071         Remove [__GNUC__] condition.
8072         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8073         condition to just [__USE_ISOC99].
8074         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8076 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
8078         [BZ #14200]
8079         * sysdeps/unix/sysv/linux/x86/bits/environments.h
8080         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8081         defined.
8082         (_POSIX_V6_ILP32_OFF32): Likewise.
8083         (_XBS5_ILP32_OFF32): Likewise.
8084         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8085         (__ILP32_OFFBIG_LDFLAGS): Likewise.
8087 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8089         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8091         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8092         doubles __mpexp_twomm1.  Adjust usage.
8093         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8094         Remove.
8096 2013-01-10  Andreas Schwab  <schwab@suse.de>
8098         [BZ #14964]
8099         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8100         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8102 2013-01-09  David S. Miller  <davem@davemloft.net>
8104         [BZ #15003]
8105         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8106         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8107         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8108         TCP_FASTOPEN): Define.
8109         (tcp_repair_opt): New structure.
8110         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8111         enum values.
8112         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8113         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8114         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8115         (tcp_cookie_transactions): New structure.
8117 2013-01-09  Anton Blanchard  <anton@samba.org>
8119         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8120         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8121         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8122         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8124 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
8126         * include/features.h (__USE_ANSI): Remove.
8128 2013-01-09  Roland McGrath  <roland@hack.frob.com>
8130         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8132         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8134 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
8136         * sysdeps/s390/fpu/libm-test-ulps: Update.
8138         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8140         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8141         (__acr): Likewise.
8142         (__cpy): Likewise.
8143         (norm): Likewise.
8144         (denorm): Likewise.
8145         (__mp_dbl): Likewise.
8146         (__dbl_mp): Likewise.
8147         (add_magnitudes): Likewise.
8148         (sub_magnitudes): Likewise.
8149         (__add): Likewise.
8150         (__sub): Likewise.
8151         (__mul): Likewise.
8152         (__inv): Likewise.
8153         (__dvd): Likewise.
8154         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8155         (__acr): Likewise.
8156         (__cpy): Likewise.
8157         (norm): Likewise.
8158         (denorm): Likewise.
8159         (__mp_dbl): Likewise.
8160         (__dbl_mp): Likewise.
8161         (add_magnitudes): Likewise.
8162         (sub_magnitudes): Likewise.
8163         (__add): Likewise.
8164         (__sub): Likewise.
8165         (__mul): Likewise.
8166         (__inv): Likewise.
8167         (__dvd): Likewise.
8168         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8169         (__acr): Likewise.
8170         (__cpy): Likewise.
8171         (norm): Likewise.
8172         (denorm): Likewise.
8173         (__mp_dbl): Likewise.
8174         (__dbl_mp): Likewise.
8175         (add_magnitudes): Likewise.
8176         (sub_magnitudes): Likewise.
8177         (__add): Likewise.
8178         (__sub): Likewise.
8179         (__mul): Likewise.
8180         (__inv): Likewise.
8181         (__dvd): Likewise.
8183 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
8185         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8186         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8187         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8188         2 && __USE_EXTERN_INLINES]: Likewise.
8190 2013-01-08  Andreas Jaeger  <aj@suse.de>
8192         [BZ# 14985]
8193         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8194         Remove.
8195         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8196         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8198 2013-01-07  Anton Blanchard  <anton@samba.org>
8200         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8201         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8202         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8203         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8204         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8205         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8206         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8207         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8208         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8209         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8210         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8211         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8212         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8213         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8214         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8215         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8216         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8217         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8218         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8219         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8220         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8221         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8222         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8223         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8224         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8225         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8226         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8227         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8228         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8229         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8230         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8231         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8232         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8233         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8234         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8235         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8236         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8237         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8238         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8239         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8240         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8241         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8242         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8244 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
8246         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8247         (__MALLOC_PMT): Likewise.
8248         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8249         [__GNUC__], only on [_LIBC].
8250         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8251         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8252         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8253         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8254         forward declaration.
8255         (realloc_hook_ini): Likewise.
8256         (memalign_hook_ini): Likewise.
8257         (__libc_memalign): Do not use __MALLOC_PMT in variable
8258         declaration.
8259         (__libc_valloc): Likewise.
8260         (__libc_pvalloc): Likewise.
8261         (__libc_calloc): Likewise.
8262         (__posix_memalign): Likewise.
8264         [BZ #14996]
8265         * math/s_casinh.c: Include <float.h>.
8266         (__casinh): Do not do computation with squaring and square root
8267         for large arguments.
8268         * math/s_casinhf.c: Include <float.h>.
8269         (__casinhf): Do not do computation with squaring and square root
8270         for large arguments.
8271         * math/s_casinhl.c: Include <float.h>.
8272         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8273         (__casinhl): Do not do computation with squaring and square root
8274         for large arguments.
8275         * math/libm-test.inc (casin_test): Add more tests.
8276         (casinh_test): Likewise.
8277         * sysdeps/i386/fpu/libm-test-ulps: Update.
8278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8280 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
8282         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8283         (__x86_64_raw_data_cache_size): Likewise.
8284         (__x86_64_data_cache_size_half): Likewise.
8285         (__x86_64_raw_data_cache_size_half): Likewise.
8286         (__x86_64_shared_cache_size): Likewise.
8287         (__x86_64_raw_shared_cache_size): Likewise.
8288         (__x86_64_shared_cache_size_half): Likewise.
8289         (__x86_64_raw_shared_cache_size_half): Likewise.
8290         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8291         to ...
8292         (__x86_data_cache_size): This.
8293         (__x86_64_raw_data_cache_size): Renamed to ...
8294         (__x86_raw_data_cache_size): This.
8295         (__x86_64_data_cache_size_half): Renamed to ...
8296         (__x86_data_cache_size_half): This.
8297         (__x86_64_raw_data_cache_size_half): Renamed to ...
8298         (__x86_raw_data_cache_size_half): This.
8299         (__x86_64_shared_cache_size): Renamed to ...
8300         (__x86_shared_cache_size): This.
8301         (__x86_64_raw_shared_cache_size): Renamed to ...
8302         (__x86_raw_shared_cache_size): This.
8303         (__x86_64_shared_cache_size_half): Renamed to ...
8304         (__x86_shared_cache_size_half): This.
8305         (__x86_64_raw_shared_cache_size_half): Renamed to ...
8306         (__x86_raw_shared_cache_size_half): This.
8307         * sysdeps/x86_64/memcpy.S: Updated.
8308         * sysdeps/x86_64/memset.S: Likewise.
8309         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8310         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8311         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8313 2013-01-04  David S. Miller  <davem@davemloft.net>
8315         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8317 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
8319         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8320         1 to avoid redefinition warning.
8321         (__USE_GNU): Don't define.
8322         (init_signaling_nan): Protoize.
8324         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8326 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8328         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8329         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8330         (__cpymn): Likewise.
8331         (norm): Remove commented code.
8332         (denorm): Likewise.
8333         (__mp_dbl): Likewise.
8334         (__inv): Likewise.
8335         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8336         (__cpymn): Likewise.
8337         (norm): Remove commented code.
8338         (denorm): Likewise.
8339         (__mp_dbl): Likewise.
8340         (__inv): Likewise.
8342         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8343         mp_no value for 1.0 and 2.0.
8344         (norm): Use RADIXI instead of radixi.d.
8345         (denorm): Likewise.
8346         (__mul): Use 0.0 instead of zero.d.
8347         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8348         mp_no value for 1.0 and 2.0.
8349         (norm): Use RADIXI instead of radixi.d.
8350         (denorm): Likewise.
8351         (__mul): Use 0.0 instead of zero.d.
8353 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
8355         [BZ #14994]
8356         * math/s_casinh.c (__casinh): Reduce finite argument to first
8357         quadrant then set signs of results at the end.
8358         * math/s_casinhf.c (__casinhf): Likewise.
8359         * math/s_casinhl.c (__casinhl): Likewise.
8360         * math/libm-test.inc (casin_test): Add more tests.
8361         (casinh_test): Likewise.
8362         * sysdeps/i386/fpu/libm-test-ulps: Update.
8363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8365 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8367         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8369         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8371         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8372         declarations.
8373         (denorm): Likewise.
8374         (__mp_dbl): Likewise.
8375         (__inv): Likewise.
8377         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8378         and adjust the header comment.
8380         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8381         variable name from declaration.
8383 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
8385         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8386         Initialize COMMON_CPUID_INDEX_7 element.
8387         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8388         (CPUID_RTM): Likewise.
8389         (HAS_RTM): Likewise.
8390         (COMMON_CPUID_INDEX_7): New enum.
8392 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
8394         [BZ #14981]
8395         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8396         size is zero, record memory as freed.
8398 2013-01-03  Andreas Jaeger  <aj@suse.de>
8400         * po/ia.po: Add new Interlingua translation.
8402 2012-01-03  Allan McRae  <allan@archlinux.org>
8404         * locale/programs/localedef.c: Fix description of '--posix' flag.
8406 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
8408         * NEWS: Update dates in second copyright notice.
8409         * README: Update copyright dates in example.
8410         * manual/libc.texinfo: Update copyright dates.
8411         * scripts/test-installation.pl: Update copyright date in --version
8412         output.
8414         * hurd/ctty-input.c: Fix copyright notice formatting.
8415         * hurd/ctty-output.c: Likewise.
8416         * hurd/dtable.c: Likewise.
8417         * hurd/hurd-raise.c: Likewise.
8418         * hurd/hurdprio.c: Likewise.
8419         * hurd/msgportdemux.c: Likewise.
8420         * misc/sys/file.h: Likewise.
8421         * misc/sys/ioctl.h: Likewise.
8422         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8423         * sysdeps/mach/hurd/chdir.c: Likewise.
8424         * sysdeps/mach/hurd/fchdir.c: Likewise.
8425         * sysdeps/mach/hurd/rename.c: Likewise.
8426         * sysdeps/mach/hurd/rmdir.c: Likewise.
8427         * sysdeps/mach/hurd/seekdir.c: Likewise.
8428         * sysdeps/mach/hurd/setsid.c: Likewise.
8429         * sysdeps/posix/wait3.c: Likewise.
8431         * All files with FSF copyright notices: Update copyright dates
8432         using scripts/update-copyrights.
8433         * intl/plural.c: Regenerated.
8434         * locale/programs/charmap-kw.h: Likewise.
8435         * locale/programs/locfile-kw.h: Likewise.
8437 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8439         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8440         four values.
8442         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8443         calculation loop and add branch prediction.
8445         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8446         check access beyond bounds of m1np.
8448         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8449         MPTWO.
8450         (__inv): Remove local variable MPTWO to use the global
8451         constant.
8452         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8453         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8454         variable MPTWO.
8455         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8456         MP3HALFS static const.
8458 2013-01-01  David S. Miller  <davem@davemloft.net>
8460         * po/ca.po: Update from translation team.
8462 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
8464         * scripts/update-copyrights: New file.
8465         * Makeconfig: Reformat copyright notice.
8466         * ctype/ctype.h: Likewise.
8467         * debug/swprintf_chk.c: Likewise.
8468         * elf/dl-cache.c: Likewise.
8469         * elf/dl-debug.c: Likewise.
8470         * elf/dl-object.c: Likewise.
8471         * grp/initgroups.c: Likewise.
8472         * hurd/Makefile: Likewise.
8473         * hurd/hurd/signal.h: Likewise.
8474         * hurd/hurdfault.c: Likewise.
8475         * hurd/hurdioctl.c: Likewise.
8476         * hurd/hurdlookup.c: Likewise.
8477         * hurd/intr-msg.c: Likewise.
8478         * iconv/gconv_open.c: Likewise.
8479         * libio/swprintf.c: Likewise.
8480         * locale/lc-ctype.c: Likewise.
8481         * locale/nl_langinfo.c: Likewise.
8482         * mach/Machrules: Likewise.
8483         * mach/Makefile: Likewise.
8484         * malloc/obstack.h: Likewise.
8485         * manual/Makefile: Likewise.
8486         * manual/tsort.awk: Likewise.
8487         * misc/bits/stab.def: Likewise.
8488         * nis/nis_print_group_entry.c: Likewise.
8489         * nis/nis_table.c: Likewise.
8490         * nis/nss_compat/compat-pwd.c: Likewise.
8491         * nis/nss_compat/compat-spwd.c: Likewise.
8492         * po/Makefile: Likewise.
8493         * posix/fnmatch.c: Likewise.
8494         * posix/regex.h: Likewise.
8495         * resolv/Makefile: Likewise.
8496         * resolv/nss_dns/dns-network.c: Likewise.
8497         * resolv/res_hconf.c: Likewise.
8498         * scripts/gen-sorted.awk: Likewise.
8499         * soft-fp/soft-fp.h: Likewise.
8500         * stdio-common/printf.h: Likewise.
8501         * stdlib/monetary.h: Likewise.
8502         * stdlib/random.c: Likewise.
8503         * stdlib/random_r.c: Likewise.
8504         * sysdeps/generic/Makefile: Likewise.
8505         * sysdeps/gnu/Makefile: Likewise.
8506         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8507         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8508         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8509         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8510         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8511         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8512         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8513         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8514         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8515         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8516         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8517         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8518         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8519         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8520         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8521         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8522         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8523         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8524         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8525         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8526         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8527         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8528         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8529         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8530         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8531         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8532         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8533         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8534         * sysdeps/mach/hurd/errnos.awk: Likewise.
8535         * sysdeps/mach/hurd/fork.c: Likewise.
8536         * sysdeps/mach/hurd/getcwd.c: Likewise.
8537         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8538         * sysdeps/mach/hurd/mmap.c: Likewise.
8539         * sysdeps/mach/hurd/utimes.c: Likewise.
8540         * sysdeps/mach/hurd/xmknod.c: Likewise.
8541         * sysdeps/posix/profil.c: Likewise.
8542         * sysdeps/posix/readdir_r.c: Likewise.
8543         * sysdeps/powerpc/bits/mathdef.h: Likewise.
8544         * sysdeps/powerpc/bits/setjmp.h: Likewise.
8545         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8546         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8547         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8548         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8549         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8550         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8551         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8552         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8553         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8554         * sysdeps/pthread/lio_listio.c: Likewise.
8555         * sysdeps/sparc/dl-procinfo.h: Likewise.
8556         * sysdeps/unix/i386/sysdep.S: Likewise.
8557         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8558         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8559         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8560         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8562         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8563         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8564         * sysdeps/unix/sysv/linux/speed.c: Likewise.
8565         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8566         * sysdeps/wordsize-32/divdi3.c: Likewise.
8567         * time/sys/time.h: Likewise.
8568         * wcsmbs/Makefile: Likewise.
8570 2013-01-01  David S. Miller  <davem@davemloft.net>
8572         * po/fr.po: Update from translation team.
8574         * catgets/gencat.c: Update copyright year.
8575         * csu/version.c: Likewise.
8576         * debug/catchsegv.sh: Likewise.
8577         * debug/pcprofiledump.c: Likewise.
8578         * debug/xtrace.sh: Likewise.
8579         * elf/ldconfig.c: Likewise.
8580         * elf/ldd.bash.in: Likewise.
8581         * elf/pldd.c: Likewise.
8582         * elf/sotruss.ksh: Likewise.
8583         * elf/sprof.c: Likewise.
8584         * iconv/iconv_prog.c: Likewise.
8585         * iconv/iconvconfig.c: Likewise.
8586         * locale/programs/locale.c: Likewise.
8587         * locale/programs/localedef.c: Likewise.
8588         * login/programs/pt_chown.c: Likewise.
8589         * malloc/memusage.sh: Likewise.
8590         * malloc/memusagestat.c: Likewise.
8591         * malloc/mtrace.pl: Likewise.
8592         * nscd/nscd.c: Likewise.
8593         * nss/getent.c: Likewise.
8594         * nss/makedb.c: Likewise.
8595         * posix/getconf.c: Likewise.
8597 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8599         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8600         numbers.
8602 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
8604         * math/bits/mathcalls.h (modf): Use __nonnull.
8606 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8608         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8609         (split): Use macro CN instead of the bare value.
8610         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8611         could be used.
8612         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8613         instead of the bare value.
8614         (power1): Likewise.
8616 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8618         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8619         __ATAN_TWOM.
8620         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8622         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8623         their values.
8624         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8625         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8626         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8627         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8629 2012-12-28  Andreas Jaeger  <aj@suse.de>
8631         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
8632         values are from Linux 3.7.
8634         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8635         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
8637 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8639         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
8640         TRUE case.
8642         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8643         (norm): Likewise.
8644         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8645         variables with preprocessor constants.
8646         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8647         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8648         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8650 2012-12-27  Bruno Haible  <bruno@clisp.org>
8652         [BZ #14317]
8653         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8654         only if needed.
8656 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8658         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8659         and use variable directly.
8660         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8662         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8663         MPONE.
8664         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8665         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8666         variable MPONE.
8667         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8668         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8669         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8670         include directive.  Remove local variable MPONE.
8671         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8672         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8673         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8675 2012-12-25  David S. Miller  <davem@davemloft.net>
8677         * version.h (RELEASE): Set to "development".
8678         (VERSION): Set to "2.17.90".
8679         * NEWS: Add 2.18 section.
8681 2012-12-21  David S. Miller  <davem@davemloft.net>
8683         * po/hr.po: Update from translation team.
8685 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8687         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8689 2012-12-19  Steve Ellcey  <sellcey@mips.com>
8691         * NEWS:  Mention new memcpy for MIPS.
8693 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8695         * manual/contrib.texi (Contributors): Spelling correction.
8697 2012-12-15  David S. Miller  <davem@davemloft.net>
8699         * po/ru.po: Update from translation team.
8701 2012-12-13  David S. Miller  <davem@davemloft.net>
8703         * NEWS: Mention IFUNC testsuite enhancements.
8705         * po/pl.po: Update from translation team.
8706         * po/bg.po: Likewise.
8708         * manual/contrib.texi (Contributors): Update entries for Hongjiu
8709         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
8711 2012-12-11  David S. Miller  <davem@davemloft.net>
8713         * po/sv.po: Update from translation team.
8715         * po/vi.po: Update from translation team.
8717         * po/cs.po: Update from translation team.
8719         * po/de.po: Update from translation team.
8720         * po/eo.po: Likewise.
8721         * po/nl.po: Likewise.
8723 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8725         [BZ #14246]
8726         * manual/argp.texi (Argp Helper Functions): Move node to follow
8727         Argp Parsing State.
8729         [BZ #14872]
8730         * manual/conf.texi (Limits on File System Capacity): Mention if
8731         terminating null is included in the max size.
8733 2012-12-10  Andreas Jaeger  <aj@suse.de>
8735         * po/cs.po: Update from translation team.
8737 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8739         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8740         void pointer and cast to uintptr_t.
8741         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8742         path.
8743         * sysdeps/s390/s390-64/memcpy.S: Likewise.
8744         * sysdeps/s390/s390-64/memset.S: Likewise.
8746 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
8748         [BZ #14833]
8749         * menual/message.texi (Message Translation): Fix typos.
8750         (Helper programs for gettext): Likewise.
8752 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
8754         [BZ #14898]
8755         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8756         Change to -1.
8758 2012-12-07  David S. Miller  <davem@davemloft.net>
8760         * po/libc.pot: Update.
8762 2012-12-07  Richard Henderson  <rth@redhat.com>
8764         [BZ #10114]
8765         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8766         normal/normal case to before the switch.
8767         (_FP_DIV): Likewise.
8769 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
8770             Mike Frysinger  <vapier@gentoo.org>
8772         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8773         check for __NR_fadvise64_64.
8775 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
8777         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8778         0, not just to plain "0" as a statement.
8779         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8780         with cw.
8782 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
8784         * NEWS: Use sourceware.org in Bugzilla URL.
8786 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8789         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8791         * stdio-common/tst-put-error.c (do_test): Add newline to the
8792         padded test to ensure flush.
8794 2012-12-05  Jeff Law  <law@redhat.com>
8796         * sunrpc/etc.rpc (fedfs_admin): Add entry.
8798 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
8800         * README: Don't refer to ports add-on as distributed separately.
8801         Mention AArch64 in list of systems supported in the ports add-on.
8803         * LICENSES: Add more non-FSF copyright and license notices.
8805         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8806         ((unused)).
8808         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8810         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8811         10000 as width of padded output.
8813 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
8815         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8817         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8818         variable LX with __attribute__ ((unused)).
8819         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8820         Likewise.
8821         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8822         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8823         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8824         with __attribute__ ((unused)).
8826 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
8828         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8830 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
8832         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8833         (CFLAGS-nldbl-acos.c): New variable.
8834         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8835         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8836         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8837         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8838         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8839         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8840         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8841         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8842         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8843         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8844         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8845         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8846         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8847         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8848         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8849         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8850         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8851         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8852         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8853         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8854         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8855         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8856         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8857         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8858         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8859         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8860         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8861         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8862         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8863         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8864         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8865         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8866         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8867         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8868         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8869         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8870         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8871         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8872         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8873         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8874         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8875         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8876         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8877         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8878         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8879         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8880         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8881         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8882         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8883         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8884         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8885         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8886         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8887         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8888         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8889         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8890         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8891         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8892         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8893         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8894         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8895         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8896         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8897         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8898         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8899         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8900         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8901         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8902         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8903         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8904         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8905         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8906         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8907         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8908         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8909         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8910         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8911         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8912         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8913         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8914         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8915         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8916         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8917         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8918         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8919         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8920         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8921         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8922         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8923         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8924         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8925         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8926         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8927         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8928         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8929         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8930         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8933         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8935         [BZ #14914]
8936         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8937         whole low double instead of just low 47 bits when splitting values
8938         into two parts.
8940 2012-12-03  Allan McRae  <allan@archlinux.org>
8942         * manual/stdio.texi (Predefined Printf Handlers): Remove
8943         @hsep and @vsep usage.
8945 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
8947         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8948         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8950 2012-12-03  Jeff Law  <law@redhat.com>
8952         * time/sys/time.h (settimeofday): Do not mark TV argument
8953         as __nonnull.
8955 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
8957         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8958         when currently writing and seek to current position when not.
8959         * libio/Makefile (tests): Remove bug-fclose1.
8960         * libio/bug-fclose1.c: Delete.
8962 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
8964         * manual/arith.texi (feenableexcept): Fix typo.
8965         (fedisableexcept): Likewise.
8967 2012-11-30  Roland McGrath  <roland@hack.frob.com>
8969         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8970         second, differently-typed declaration, rather than a cast.
8972 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8974         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8975         * include/rpc/svc.h: ... here.
8977 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
8979         [BZ #13013]
8980         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8981         depending n and resplen2 to catch cases where answer
8982         equals answerp2.
8984 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
8986         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8987         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8989 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
8991         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8993 2012-11-29  Roland McGrath  <roland@hack.frob.com>
8995         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8997 2012-11-28  Jeff Law  <law@redhat.com>
8999         [BZ #13761]
9000         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9001         dataset_temporary.  Track alloca usage into alloca_used.
9002         If dataset is large allocate and release it via malloc/free.
9004 2012-06-04  Florian Weimer  <fweimer@redhat.com>
9006         [BZ #14197]
9007         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9009 2012-11-28  David S. Miller  <davem@davemloft.net>
9011         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9013 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
9015         [BZ #14803]
9016         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9017         of pi/2 rounded to nearest to 64 bits.
9018         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9019         nearest to 64 bits.
9020         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9021         bits.
9023 2012-11-28  Jeff Law <law@redhat.com>
9024             Martin Osvald <mosvald@redhat.com>
9026         [BZ #14889]
9027         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9028         * sunrpc/svc.c: Include time.h.
9029         (__svc_accept_failed): New function.
9030         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9031         any reason other than EINTR, call __svc_accept_failed.
9032         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9033         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9035 2012-11-28  Andreas Schwab  <schwab@suse.de>
9037         * scripts/abilist.awk: Also handle indirect functions in .opd
9038         section.
9040 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
9042         [BZ #13881]
9043         * sysdeps/x86/fpu/powl_helper.c: New file.
9044         * sysdeps/x86/fpu/Makefile: Likewise.
9045         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9046         (p3): New object.
9047         (__ieee754_powl): Use __powl_helper for finite arguments except
9048         integer exponents below 8.
9049         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9050         (p3): New object.
9051         (__ieee754_powl): Use __powl_helper for finite arguments except
9052         integer exponents below 8.
9053         * math/libm-test.inc (pow_test): Add more tests and enable some
9054         previously disabled tests.
9055         * sysdeps/i386/fpu/libm-test-ulps: Update.
9056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9058 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9059             Carlos O'Donell  <carlos_odonell@mentor.com>
9061         * nss/makedb.c (is_prime): Assert that input is odd and greater
9062         than 4.  Note that fact in a comment too.
9063         (next_prime): Add 4 to input.
9065 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9067         [BZ #11741]
9068         * libio/Makefile (tests): Add test case tst-fwrite-error.
9069         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9070         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9071         * libio/tst-fwrite-error.c: New test case.
9073 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
9075         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9076         before casting to void *.
9077         * include/libc-internal.h (__pointer_type): New macro.
9078         (__integer_if_pointer_type_sub): Likewise.
9079         (__integer_if_pointer_type): Likewise.
9080         (cast_to_integer): Likewise.
9081         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9082         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9083         before casting to atomic64_t.
9084         (atomic_exchange_acq): Likewise.
9085         (__arch_exchange_and_add_body): Likewise.
9086         (__arch_add_body): Likewise.
9087         (atomic_add_negative): Likewise.
9088         (atomic_add_zero): Likewise.
9090 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
9092         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9093         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9094         (add_fdes): Likewise.
9095         (linear_search_fdes): Likewise.
9096         (binary_search_unencoded_fdes): Likewise.
9098 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
9100         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9102 2012-11-24  Adam Conrad  <adconrad@0c3.net>
9104         * configure.in: Autodetect C++ header directories.
9105         * configure: Regenerated.
9107 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
9109         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9111 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
9113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9115 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
9117         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9118         LDBL_MANT_DIG == 106]: Disable some tests.
9119         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9120         Likewise.
9121         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9122         Likewise.
9124         [BZ #14871]
9125         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9126         input for small inputs.  Return +/- pi/2 for large inputs.
9127         * math/libm-test.inc (atan_test): Add more tests.
9129         * sysdeps/generic/unwind-dw2-fde-glibc.c
9130         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9131         __attribute__ ((unused)).
9133         [BZ #14645]
9134         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9135         x * y if x and y are nonzero and z is zero.
9137         [BZ #14811]
9138         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9139         nonzero exponents with absolute value below 0x1p-117 to +/-
9140         0x1p-117.
9142         [BZ #14869]
9143         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9144         up arguments below 2**-450, not just those below 2**-500.
9145         * math/libm-test.inc (hypot_test): Add another test.
9147         [BZ #14868]
9148         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9149         Return a+b for ratio over 2**120, not 2**60.
9150         * math/libm-test.inc (hypot_test): Add another test.
9152         * math/libm-test.inc (clog_test): Use
9153         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9154         (clog10_test): Likewise.
9156         [BZ #6778]
9157         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9159 2012-11-22  Andreas Schwab  <schwab@suse.de>
9161         * sysdeps/i386/fpu/libm-test-ulps: Update.
9163 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
9165         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9166         printf output with newline.
9168 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
9170         [BZ #14865]
9171         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9172         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9173         -z nodlopen, -z initfirst and -z execstack support.
9174         * configure: Regenerated.
9176         * elf/elf.h (DF_1_NODIRECT): New macro.
9177         (DF_1_IGNMULDEF): Likewise.
9178         (DF_1_NOKSYMS): Likewise.
9179         (DF_1_NOHDR): Likewise.
9180         (DF_1_EDITED): Likewise.
9181         (DF_1_NORELOC): Likewise.
9182         (DF_1_SYMINTPOSE): Likewise.
9183         (DF_1_GLOBAUDIT): Likewise.
9184         (DF_1_SINGLETON): Likewise.
9185         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9186         DT_1_SUPPORTED_MASK bits.
9187         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9189 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
9191         * sysdeps/unix/make-syscalls.sh: Document prefixes.
9193 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
9195         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9196         macro.
9198         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9199         (sendmmsg): Move declarations...
9200         * socket/sys/socket.h: ... here.
9201         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9202         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9203         include it from...
9204         * socket/recvmmsg.c: ... this new file.
9205         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9206         (sendmmsg): Rename to __sendmmsg, create weak alias and make
9207         definition of __sendmmsg hidden.
9208         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9209         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9210         Move ENOSYS stub into and include it from...
9211         * socket/sendmmsg.c: ... this new file.
9212         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9213         (sysdep_routines): Move recvmmsg and sendmmsg...
9214         * socket/Makefile (routines): ... here.
9215         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9216         (GLIBC_PRIVATE): Add __sendmmsg.
9217         * include/sys/socket.h (__sendmmsg): Add declarations.
9218         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9219         sendmmsg.
9221 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
9223         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9224         variable I1 with __attribute__ ((unused)).
9225         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9227 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
9229         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9230         DUMMY variables with __attribute__ ((unused)).
9232         * bits/byteswap.h: Include <bits/types.h>.
9233         (__bswap_64): Use __uint64_t instead of unsigned long long int.
9235 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
9237         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9238         string_t.  Do not manually set errno.
9239         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9240         length with __strnlen.  Make sure to both set errno and return it on
9241         failure.
9243 2012-11-19  David S. Miller  <davem@davemloft.net>
9245         With help from Joseph Myers.
9246         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9247         very large arguments properly.
9248         * math/libm-test.inc (atan_test): New tests.
9249         (atan2_test): New tests.
9250         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9251         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9253 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
9255         [BZ #14856]
9256         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9257         Define to 3.
9259         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9260         [POSIX] (EADDRNOTAVAIL): Likewise.
9261         [POSIX] (EAFNOSUPPORT): Likewise.
9262         [POSIX] (EALREADY): Likewise.
9263         [POSIX] (ECONNABORTED): Likewise.
9264         [POSIX] (ECONNREFUSED): Likewise.
9265         [POSIX] (ECONNRESET): Likewise.
9266         [POSIX] (EDESTADDRREQ): Likewise.
9267         [POSIX] (EDQUOT): Likewise.
9268         [POSIX] (EHOSTUNREACH): Likewise.
9269         [POSIX] (EIDRM): Likewise.
9270         [POSIX] (EISCONN): Likewise.
9271         [POSIX] (ELOOP): Likewise.
9272         [POSIX] (EMULTIHOP): Likewise.
9273         [POSIX] (ENETDOWN): Likewise.
9274         [POSIX] (ENETUNREACH): Likewise.
9275         [POSIX] (ENOBUFS): Likewise.
9276         [POSIX] (ENODATA): Likewise.
9277         [POSIX] (ENOLINK): Likewise.
9278         [POSIX] (ENOMSG): Likewise.
9279         [POSIX] (ENOPROTOOPT): Likewise.
9280         [POSIX] (ENOSR): Likewise.
9281         [POSIX] (ENOSTR): Likewise.
9282         [POSIX] (ENOTCONN): Likewise.
9283         [POSIX] (ENOTSOCK): Likewise.
9284         [POSIX] (EOPNOTSUPP): Likewise.
9285         [POSIX] (EOVERFLOW): Likewise.
9286         [POSIX] (EPROTO): Likewise.
9287         [POSIX] (EPROTONOSUPPORT): Likewise.
9288         [POSIX] (EPROTOTYPE): Likewise.
9289         [POSIX] (ESTALE): Likewise.
9290         [POSIX] (ETIME): Likewise.
9291         [POSIX] (ETXTBSY): Likewise.
9292         [POSIX] (EWOULDBLOCK): Likewise.
9293         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9294         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9295         [POSIX] (SEEK_CUR): Likewise.
9296         [POSIX] (SEEK_END): Likewise.
9297         [POSIX || UNIX98] (mode_t): Do not require.
9298         [POSIX] (off_t): Likewise.
9299         [POSIX] (pid_t): Likewise.
9300         [POSIX] (sys/stat.h): Do not allow header.
9301         [POSIX] (unistd.h): Likewise.
9302         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9303         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9304         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9305         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9306         require.
9307         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9308         sigevent): Specify elements.
9309         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9310         entry.
9311         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9312         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9314         * conform/data/cpio.h-data [POSIX]: Disable whole file.
9315         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9316         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9317         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9318         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9319         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9320         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9321         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9322         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9323         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9324         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9325         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9326         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9327         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9328         Likewise.
9329         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9330         Likewise.
9331         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9332         Likewise.
9333         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9334         Likewise.
9335         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9336         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9337         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9338         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9339         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9340         Specify lower bound on value.
9341         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9342         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9343         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9344         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9345         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9346         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9347         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9348         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9349         value.
9350         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9351         as optional.
9352         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9353         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9354         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9355         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9356         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9357         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9358         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9359         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9360         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9361         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9362         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9363         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9364         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9365         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9366         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9367         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9368         entry.
9369         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9370         optional.
9371         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9372         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9373         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9374         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9375         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9376         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9377         Likewise.
9378         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9379         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9380         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9381         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9382         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
9383         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9384         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9385         as optional.
9386         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9387         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9388         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9389         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9390         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9391         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9392         specify as optional.
9393         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9394         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9395         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9396         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9397         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9398         [XPG3] (NL_LANGMAX): Likewise.
9399         [POSIX || XPG3] (NL_MSGMAX): Likewise.
9400         [POSIX || XPG3] (NL_NMAX): Likewise.
9401         [POSIX || XPG3] (NL_SETMAX): Likewise.
9402         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9403         [XPG3] (NZERO): Likewise.
9404         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9405         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9406         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9407         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9408         (REG_ERANGE): Expect.
9409         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9410         optional-constant.
9411         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9412         Use (void) in prototype.
9413         [POSIX] (*_t): Allow.
9414         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9415         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9416         (WRDE_BADVAL): Expect.
9418         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9419         expect.
9420         [XPG3 || XPG4] (O_RSYNC): Likewise.
9421         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9422         Likewise.
9423         [XPG3 || XPG4] (pthread_sigmask): Likewise.
9424         [XPG3 || XPG4] (sigqueue): Likewise.
9425         [XPG3 || XPG4] (sigtimedwait): Likewise.
9426         [XPG3 || XPG4] (sigwaitinfo): Likewise.
9427         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9428         [XPG3 || XPG4] (vsnprintf): Likewise.
9429         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9430         Likewise.
9431         [XPG3 || XPG4] (blksize_t): Likewise.
9432         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9433         Likewise.
9434         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9435         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9436         [XPG3 || XPG4] (struct itimerspec): Likewise.
9437         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9438         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9439         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9440         [XPG3 || XPG4] (clockid_t): Likewise.
9441         [XPG3 || XPG4] (timer_t): Likewise.
9442         [XPG3 || XPG4] (clock_getres): Likewise.
9443         [XPG3 || XPG4] (clock_gettime): Likewise.
9444         [XPG3 || XPG4] (clock_settime): Likewise.
9445         [XPG3 || XPG4] (nanosleep): Likewise.
9446         [XPG3 || XPG4] (timer_create): Likewise.
9447         [XPG3 || XPG4] (timer_delete): Likewise.
9448         [XPG3 || XPG4] (timer_gettime): Likewise.
9449         [XPG3 || XPG4] (timer_getoverrun): Likewise.
9450         [XPG3 || XPG4] (timer_settime): Likewise.
9451         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9452         [XPG3 || XPG4] (getlogin_r): Likewise.
9453         [XPG3 || XPG4] (pread): Likewise.
9454         [XPG3 || XPG4] (pthread_atfork): Likewise.
9455         [XPG3 || XPG4] (pwrite): Likewise.
9457         [BZ #14835]
9458         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9459         <bits/siginfo.h>.
9461 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
9463         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9464         finalizing MALLSTREAM.
9466         * sysdeps/mach/hurd/syncfs.c: New file.
9468 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9470         [BZ #14719]
9471         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9472         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9473         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9474         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9475         (_nss_dns_gethostbyname4_r): Likewise.
9476         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9477         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9479 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
9481         [BZ #13763]
9482         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9484 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
9486         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9487         * elf/cache.c (print_entry): Print ",AArch64" for
9488         FLAG_AARCH64_LIB64
9490         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9491         * elf/cache.c (print_entry): Print ",hard-float" for
9492         FLAG_ARM_LIBHF.
9494 2012-11-18  David S. Miller  <davem@davemloft.net>
9496         With help from Joseph Myers.
9497         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9498         cutoff to 2**-13.
9499         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9500         cutoff to 2**-25.
9501         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9502         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9503         small.
9504         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9505         * math/libm-test.inc (y0_test): New tests.
9506         (y1_test): New tests.
9507         * sysdeps/i386/fpu/libm-test-ulps: Update.
9508         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9509         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9511 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
9513         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9514         64-bit targets.
9515         * configure: Regenerated.
9517 2012-11-17  David S. Miller  <davem@davemloft.net>
9519         [BZ #14811]
9520         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9521         nonzero exponents with absolute value below 0x1p-128 to +/-
9522         0x1p-128.
9524 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
9526         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9528         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9530         * posix/getconf-speclist.c: New file.
9531         * posix/posix-envs.def: Likewise.
9532         * posix/confstr.c (START_ENV_GROUP): New macro.
9533         (END_ENV_GROUP): Likewise.
9534         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9535         (KNOWN_PRESENT_ENV_STRING): Likewise.
9536         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9537         (UNKNOWN_ENVIRONMENT): Likewise.
9538         (confstr): Include posix-envs.def instead of handling
9539         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9540         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9541         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9542         (END_ENV_GROUP): Likewise.
9543         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9544         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9545         (UNKNOWN_ENVIRONMENT): Likewise.
9546         (__sysconf): Include posix-envs.def instead of handling associated
9547         cases directly here.
9548         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9549         preprocessing getconf-speclist.c rather than running getconf or
9550         generating empty file.
9552 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
9554         * scripts/check-local-headers.sh: Ignore 'mach' headers.
9556 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
9558         [BZ #14672]
9559         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9561 2012-11-16  David S. Miller  <davem@davemloft.net>
9563         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9564         smaller than LDBL_EPSILON/2.0L, just return xm1.
9566 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
9568         * elf/tst-array1.c (init): Set constructor priority to 1000.
9569         (fini): Set destructor priority to 1000.
9570         * elf/tst-array2dep.c: Likewise.
9572 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9574         [BZ #11741]
9575         * libio/fileops.c (_IO_new_file_write): Correctly return error.
9576         (_IO_new_file_xsputn): Also return EOF if none of the input
9577         data was written when overflow failed.
9578         * libio/iopadn.c (_IO_padn): Likewise.
9579         * libio/iowpadn.c (_IO_wpadn): Likewise.
9580         * stdio-common/tst-put-error.c: Add copyright notice.
9581         (do_test): Add case for printing padded string.
9582         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9583         _IO_padn returned error.
9584         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9585         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9586         return EOF.
9588 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9590         * libio/libioP.h: Add comment note that the references to C++
9591         bits are now obsolete.
9593 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9595         * math/libm-test.inc (check_complex): Use asprintf.
9597 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
9599         * debug/pcprofiledump.c (print_version): Update copyright year.
9600         * malloc/memusagestat.c (print_version): Likewise.
9602 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
9604         [BZ #14831]
9605         * elf/Makefile (tests): Add tst-audit8.
9606         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9607         ($(objpfx)tst-audit8.out): New target.
9608         (tst-audit8-ENV): New variable.
9609         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9610         audit if l_reloc_result is NULL.
9611         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9612         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9613         * elf/tst-audit8.c: New file.
9615 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9617         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9618         * misc/Makefile (CFLAGS-select.c): Define.
9619         * posix/Makefile (CFLAGS-pause.c): Define.
9621 2012-11-13  David S. Miller  <davem@davemloft.net>
9623         * crypt/Makefile: Move test targets after toplevel Rules
9624         inclusion.  Grab any necessary sysdep routines when linking.
9625         * crypt/md5.c (md5_process_block): Remove define, we will always
9626         name it __md5_process_block.
9627         (md5_finish_ctx): Update md5_process_block call.
9628         (md5_stream): Likewise.
9629         (md5_process_bytes): Likewise.
9630         (md5_process_block): Rename to __md5_process_block and move to ...
9631         * crypt/md5-block.c: ... here.
9632         * crypt/sha256.c (sha256_process_block): Move to ...
9633         * crypt/sha256-block.c: ... here.
9634         * crypt/sha512.c (sha512_process_block): Move to ...
9635         * crypt/sha512-block.c: ... here.
9636         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9637         path.
9638         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9639         * sysdeps/sparc/sparc64/multiarch/Makefile
9640         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9641         crypt subdir.
9642         (localedef-aux): Add md5 crypto assembler when in locale subdir.
9643         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9644         multiarch changes.
9645         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9646         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9647         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9648         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9649         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9650         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9651         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9652         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9653         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9654         file.
9655         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9656         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9657         file.
9658         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9660 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
9662         * timezone/tzselect.ksh: Update from tzcode git revision
9663         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9664         * timezone/zdump.c: Likewise.
9665         * timezone/zic.c: Likewise.
9666         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9667         in TZVERSION setting, not $(PKGVERSION).
9668         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
9669         REPORT_BUGS_TO settings.
9671         [BZ #14838]
9672         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9673         macro.
9675 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9677         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9678         detection to immediately after _FP_ROUND().
9679         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9680         bits are 0.
9682 2012-11-11  David S. Miller  <davem@davemloft.net>
9684         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9685         inttypes.h
9686         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9687         __close rather than their public counterparts.
9689 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
9691         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9692         file.
9693         [UNIX98] (sem_timedwait): Do not expect.
9694         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9695         [XPG4 || UNIX98] (sockatmark): Do not expect.
9696         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9697         (clock_getcpuclockid): Do not expect.
9698         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9699         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9700         Do not expect.
9701         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9702         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9703         [UNIX98] (vwscanf): Likewise.
9704         [UNIX98] (vswscanf): Likewise.
9706 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
9708         * timezone/version.h: Remove file.
9709         * timezone/README: Do not refer to version.h.
9710         * timezone/Makefile ($(objpfx)zic.o): New dependency on
9711         $(objpfx)version.h.
9712         ($(objpfx)zdump.o): Likewise.
9713         ($(objpfx)version.h): New target.
9715         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9716         2012i.
9717         * timezone/README: Don't mention modification to tzselect.ksh.
9718         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9719         work on unmodified tzselect.ksh.  Substitute version numbers in
9720         tzselect.ksh.
9722         * Makefile (format-me): Remove.
9723         (INSTALL): Adjust indentation.  Use commands directly instead of
9724         using $(format-me).
9726         * aclocal.m4 (ACX_PKGVERSION): New macro.
9727         (ACX_BUGURL): Likewise.
9728         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9729         (PKGVERSION): New AC_DEFINE_UNQUOTED.
9730         (REPORT_BUGS_TO): Likewise.
9731         * configure: Regenerated.
9732         * config.h.in (PKGVERSION): New macro.
9733         (REPORT_BUGS_TO): Likewise.
9734         * config.make.in (PKGVERSION): New variable.
9735         (PKGVERSION_TEXI): Likewise.
9736         (REPORT_BUGS_TO): Likewise.
9737         (REPORT_BUGS_TEXI): Likewise.
9738         * Makefile (format-me): Use -I$(common-objpfx)manual.
9739         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9740         ($(common-objpfx)manual/%): New target.
9741         (manual/%): Remove target.
9742         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9743         (print_version): Use PKGVERSION.
9744         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9745         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9746         and REPORT_BUGS_TO.
9747         ($(objpfx)xtrace): Likewise.
9748         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9749         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9750         (print_version): Use PKGVERSION.
9751         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9752         (do_version): Use PKGVERSION.
9753         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9754         REPORT_BUGS_TO.
9755         (common-ldd-rewrite): Likewise.
9756         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9757         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9758         (print_version): Use PKGVERSION.
9759         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9760         * elf/pldd.c (argp_program_bug_address): Remove variable.
9761         (more_help): New function.
9762         (argp): Use more_help.
9763         (print_version): Use PKGVERSION.
9764         * elf/sln.c (main): Use PKGVERSION.
9765         (usage): Use REPORT_BUGS_TO.
9766         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9767         (top level): Use PKGVERSION.
9768         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9769         (print_version): Use PKGVERSION.
9770         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9771         (print_version): Use PKGVERSION.
9772         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9773         (print_version): Use PKGVERSION.
9774         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9775         (print_version): Use PKGVERSION.
9776         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9777         (print_version): Use PKGVERSION.
9778         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9779         (print_version): Use PKGVERSION.
9780         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9781         and BUGURL.
9782         ($(objpfx)memusage): Likewise.
9783         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9784         (do_version): Use PKGVERSION.
9785         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9786         (print_version): Use PKGVERSION.
9787         * malloc/mtrace.pl ($PACKAGE): Remove variable.
9788         ($PKGVERSION): New variable.
9789         ($REPORT_BUGS_TO): Likewise.
9790         (usage): Use $REPORT_BUGS_TO.
9791         (top level): Use $PKGVERSION.
9792         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9793         ($(objpfx)pkgvers.texi): New rule.
9794         ($(objpfx)stamp-pkgvers): Likewise.
9795         * manual/install.texi: Include pkgvers.texi.
9796         (--with-pkgversion): Document new configure option.
9797         (--with-bugurl): Likewise.
9798         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9799         than necessarily for this particular distribution.  Use
9800         REPORT_BUGS_TO for where to report bugs.
9801         * INSTALL: Regenerated.
9802         * manual/libc.texinfo: Include pkgvers.texi.
9803         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9804         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9805         (print_version): Use PKGVERSION.
9806         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9807         (print_version): Use PKGVERSION.
9808         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9809         (print_version): Use PKGVERSION.
9810         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9811         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9812         macro.
9813         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9814         (print_version): Use PKGVERSION.
9815         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9816         (print_version): Use PKGVERSION.
9817         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9818         and PKGVERSION.
9820         * timezone/checktab.awk: Update from tzcode 2012i.
9821         * timezone/ialloc.c: Likewise.
9822         * timezone/private.h: Likewise.
9823         * timezone/scheck.c: Likewise.
9824         * timezone/tzfile.h: Likewise.
9825         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9826         (TZVERSION): Hardcode tzcode version number.
9827         * timezone/zdump.c: Update from tzcode 2012i.
9828         * timezone/zic.c: Likewise.
9829         * timezone/version.h: New file.
9830         * timezone/README: Describe version.h.  Update upstream location.
9832         [BZ #14824]
9833         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9834         (mktemp): Enable declaration.
9835         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9836         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9837         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9838         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9839         Likewise.
9840         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9841         Likewise.
9842         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9843         Likewise.
9844         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9845         Likewise.
9846         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9847         Likewise.
9848         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9849         Likewise.
9851         [BZ #14821]
9852         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9853         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
9854         for copies of such integer values.
9855         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9856         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9858 2012-11-09  Andreas Jaeger  <aj@suse.de>
9860         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9861         definitions and declarations that are provided by
9862         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9864 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9866         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
9867         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9868         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9869         definition.
9871 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9873         * elf/elf.h: Update comment before AArch64 relocations.
9875 2012-11-07  David S. Miller  <davem@davemloft.net>
9877         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9878         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9879         (__start_context): Declare.
9880         (__makecontext_ret): Delete.
9881         (__makecontext): Hook up __start_context instead of
9882         __makecontext_ret.
9883         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9884         (sysdep_routines): Add __start_context when in stdlib.
9886 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
9888         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9889         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9890         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
9891         hardcoded "nm".
9892         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
9893         (READELF): New variable.  Use it instead of hardcoded "readelf".
9895 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
9897         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9898         * sysdeps/x86/Makefile: Here.
9899         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9900         * sysdeps/x86/tst-xmmymm.sh: This.
9902 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
9904         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9905         expectations.
9906         [UNIX98] (pthread_barrier_t): Do not expect.
9907         [UNIX98] (pthread_barrierattr_t): Likewise.
9908         [UNIX98] (pthread_spinlock_t): Likewise.
9909         [UNIX98] (pthread_barrier_destroy): Likewise.
9910         [UNIX98] (pthread_barrier_init): Likewise.
9911         [UNIX98] (pthread_barrier_wait): Likewise.
9912         [UNIX98] (pthread_barrierattr_destroy): Likewise.
9913         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9914         [UNIX98] (pthread_barrierattr_init): Likewise.
9915         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9916         [UNIX98] (pthread_getcpuclockid): Likewise.
9917         [UNIX98] (pthread_mutex_timedlock): Likewise.
9918         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9919         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9920         [UNIX98] (pthread_sigmask): Likewise.
9921         [UNIX98] (pthread_spin_destroy): Likewise.
9922         [UNIX98] (pthread_spin_init): Likewise.
9923         [UNIX98] (pthread_spin_lock): Likewise.
9924         [UNIX98] (pthread_spin_trylock): Likewise.
9925         [UNIX98] (pthread_spin_unlock): Likewise.
9926         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9927         Do not expect.
9928         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9929         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9930         [XPG3 || XPG4] (pthread_cond_t): Likewise.
9931         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9932         [XPG3 || XPG4] (pthread_key_t): Likewise.
9933         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9934         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9935         [XPG3 || XPG4] (pthread_once_t): Likewise.
9936         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9937         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9938         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9939         [XPG3 || XPG4] (pthread_t): Likewise.
9941         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9942         not expect.
9943         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9945         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9946         Change function return type to int.
9948         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9949         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9950         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9951         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9952         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9953         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9954         [!POSIX] (posix_madvise): Likewise.
9955         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9956         && !UNIX98].
9957         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9958         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9959         (mode_t): Likewise.
9960         (posix_mem_offset): Likewise.
9961         (posix_typed_mem_get_info): Likewise.
9962         (posix_typed_mem_open): Likewise.
9964         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9965         Change condition to [XOPEN2K8].
9967         * conform/conformtest.pl: Preprocess allow-header data with -x c
9968         instead of from stdin.
9969         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9970         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9971         [C99-based standards] (cerfc): Likewise.
9972         [C99-based standards] (cexp2): Likewise.
9973         [C99-based standards] (cexpm1): Likewise.
9974         [C99-based standards] (clog10): Likewise.
9975         [C99-based standards] (clog1p): Likewise.
9976         [C99-based standards] (clog2): Likewise.
9977         [C99-based standards] (clgamma): Likewise.
9978         [C99-based standards] (ctgamma): Likewise.
9979         [C99-based standards] (cerff): Likewise.
9980         [C99-based standards] (cerfcf): Likewise.
9981         [C99-based standards] (cexp2f): Likewise.
9982         [C99-based standards] (cexpm1f): Likewise.
9983         [C99-based standards] (clog10f): Likewise.
9984         [C99-based standards] (clog1pf): Likewise.
9985         [C99-based standards] (clog2f): Likewise.
9986         [C99-based standards] (clgammaf): Likewise.
9987         [C99-based standards] (ctgammaf): Likewise.
9988         [C99-based standards] (cerfl): Likewise.
9989         [C99-based standards] (cerfcl): Likewise.
9990         [C99-based standards] (cexp2l): Likewise.
9991         [C99-based standards] (cexpm1l): Likewise.
9992         [C99-based standards] (clog10l): Likewise.
9993         [C99-based standards] (clog1pl): Likewise.
9994         [C99-based standards] (clog2l): Likewise.
9995         [C99-based standards] (clgammal): Likewise.
9996         [C99-based standards] (ctgammal): Likewise.
9997         * conform/data/inttypes.h-data [C99-based standards]: Include
9998         stdint.h-data.  Remove all expectations for stdint.h contents.
9999         [C99-based standards] (PRI*): Do not allow.
10000         [C99-based standards] (SCN*): Likewise.
10001         [C99-based standards] (*_t): Likewise.
10002         [C99-based-standards] (PRId8): Expect macro.
10003         [C99-based-standards] (PRIi8): Likewise.
10004         [C99-based-standards] (PRIo8): Likewise.
10005         [C99-based-standards] (PRIu8): Likewise.
10006         [C99-based-standards] (PRIx8): Likewise.
10007         [C99-based-standards] (PRIX8): Likewise.
10008         [C99-based-standards] (SCNd8): Likewise.
10009         [C99-based-standards] (SCNi8): Likewise.
10010         [C99-based-standards] (SCNo8): Likewise.
10011         [C99-based-standards] (SCNu8): Likewise.
10012         [C99-based-standards] (SCNx8): Likewise.
10013         [C99-based-standards] (PRIdLEAST8): Likewise.
10014         [C99-based-standards] (PRIiLEAST8): Likewise.
10015         [C99-based-standards] (PRIoLEAST8): Likewise.
10016         [C99-based-standards] (PRIuLEAST8): Likewise.
10017         [C99-based-standards] (PRIxLEAST8): Likewise.
10018         [C99-based-standards] (PRIXLEAST8): Likewise.
10019         [C99-based-standards] (SCNdLEAST8): Likewise.
10020         [C99-based-standards] (SCNiLEAST8): Likewise.
10021         [C99-based-standards] (SCNoLEAST8): Likewise.
10022         [C99-based-standards] (SCNuLEAST8): Likewise.
10023         [C99-based-standards] (SCNxLEAST8): Likewise.
10024         [C99-based-standards] (PRIdFAST8): Likewise.
10025         [C99-based-standards] (PRIiFAST8): Likewise.
10026         [C99-based-standards] (PRIoFAST8): Likewise.
10027         [C99-based-standards] (PRIuFAST8): Likewise.
10028         [C99-based-standards] (PRIxFAST8): Likewise.
10029         [C99-based-standards] (PRIXFAST8): Likewise.
10030         [C99-based-standards] (SCNdFAST8): Likewise.
10031         [C99-based-standards] (SCNiFAST8): Likewise.
10032         [C99-based-standards] (SCNoFAST8): Likewise.
10033         [C99-based-standards] (SCNuFAST8): Likewise.
10034         [C99-based-standards] (SCNxFAST8): Likewise.
10035         [C99-based-standards] (PRId16): Likewise.
10036         [C99-based-standards] (PRIi16): Likewise.
10037         [C99-based-standards] (PRIo16): Likewise.
10038         [C99-based-standards] (PRIu16): Likewise.
10039         [C99-based-standards] (PRIx16): Likewise.
10040         [C99-based-standards] (PRIX16): Likewise.
10041         [C99-based-standards] (SCNd16): Likewise.
10042         [C99-based-standards] (SCNi16): Likewise.
10043         [C99-based-standards] (SCNo16): Likewise.
10044         [C99-based-standards] (SCNu16): Likewise.
10045         [C99-based-standards] (SCNx16): Likewise.
10046         [C99-based-standards] (PRIdLEAST16): Likewise.
10047         [C99-based-standards] (PRIiLEAST16): Likewise.
10048         [C99-based-standards] (PRIoLEAST16): Likewise.
10049         [C99-based-standards] (PRIuLEAST16): Likewise.
10050         [C99-based-standards] (PRIxLEAST16): Likewise.
10051         [C99-based-standards] (PRIXLEAST16): Likewise.
10052         [C99-based-standards] (SCNdLEAST16): Likewise.
10053         [C99-based-standards] (SCNiLEAST16): Likewise.
10054         [C99-based-standards] (SCNoLEAST16): Likewise.
10055         [C99-based-standards] (SCNuLEAST16): Likewise.
10056         [C99-based-standards] (SCNxLEAST16): Likewise.
10057         [C99-based-standards] (PRIdFAST16): Likewise.
10058         [C99-based-standards] (PRIiFAST16): Likewise.
10059         [C99-based-standards] (PRIoFAST16): Likewise.
10060         [C99-based-standards] (PRIuFAST16): Likewise.
10061         [C99-based-standards] (PRIxFAST16): Likewise.
10062         [C99-based-standards] (PRIXFAST16): Likewise.
10063         [C99-based-standards] (SCNdFAST16): Likewise.
10064         [C99-based-standards] (SCNiFAST16): Likewise.
10065         [C99-based-standards] (SCNoFAST16): Likewise.
10066         [C99-based-standards] (SCNuFAST16): Likewise.
10067         [C99-based-standards] (SCNxFAST16): Likewise.
10068         [C99-based-standards] (PRId32): Likewise.
10069         [C99-based-standards] (PRIi32): Likewise.
10070         [C99-based-standards] (PRIo32): Likewise.
10071         [C99-based-standards] (PRIu32): Likewise.
10072         [C99-based-standards] (PRIx32): Likewise.
10073         [C99-based-standards] (PRIX32): Likewise.
10074         [C99-based-standards] (SCNd32): Likewise.
10075         [C99-based-standards] (SCNi32): Likewise.
10076         [C99-based-standards] (SCNo32): Likewise.
10077         [C99-based-standards] (SCNu32): Likewise.
10078         [C99-based-standards] (SCNx32): Likewise.
10079         [C99-based-standards] (PRIdLEAST32): Likewise.
10080         [C99-based-standards] (PRIiLEAST32): Likewise.
10081         [C99-based-standards] (PRIoLEAST32): Likewise.
10082         [C99-based-standards] (PRIuLEAST32): Likewise.
10083         [C99-based-standards] (PRIxLEAST32): Likewise.
10084         [C99-based-standards] (PRIXLEAST32): Likewise.
10085         [C99-based-standards] (SCNdLEAST32): Likewise.
10086         [C99-based-standards] (SCNiLEAST32): Likewise.
10087         [C99-based-standards] (SCNoLEAST32): Likewise.
10088         [C99-based-standards] (SCNuLEAST32): Likewise.
10089         [C99-based-standards] (SCNxLEAST32): Likewise.
10090         [C99-based-standards] (PRIdFAST32): Likewise.
10091         [C99-based-standards] (PRIiFAST32): Likewise.
10092         [C99-based-standards] (PRIoFAST32): Likewise.
10093         [C99-based-standards] (PRIuFAST32): Likewise.
10094         [C99-based-standards] (PRIxFAST32): Likewise.
10095         [C99-based-standards] (PRIXFAST32): Likewise.
10096         [C99-based-standards] (SCNdFAST32): Likewise.
10097         [C99-based-standards] (SCNiFAST32): Likewise.
10098         [C99-based-standards] (SCNoFAST32): Likewise.
10099         [C99-based-standards] (SCNuFAST32): Likewise.
10100         [C99-based-standards] (SCNxFAST32): Likewise.
10101         [C99-based-standards] (PRId64): Likewise.
10102         [C99-based-standards] (PRIi64): Likewise.
10103         [C99-based-standards] (PRIo64): Likewise.
10104         [C99-based-standards] (PRIu64): Likewise.
10105         [C99-based-standards] (PRIx64): Likewise.
10106         [C99-based-standards] (PRIX64): Likewise.
10107         [C99-based-standards] (SCNd64): Likewise.
10108         [C99-based-standards] (SCNi64): Likewise.
10109         [C99-based-standards] (SCNo64): Likewise.
10110         [C99-based-standards] (SCNu64): Likewise.
10111         [C99-based-standards] (SCNx64): Likewise.
10112         [C99-based-standards] (PRIdLEAST64): Likewise.
10113         [C99-based-standards] (PRIiLEAST64): Likewise.
10114         [C99-based-standards] (PRIoLEAST64): Likewise.
10115         [C99-based-standards] (PRIuLEAST64): Likewise.
10116         [C99-based-standards] (PRIxLEAST64): Likewise.
10117         [C99-based-standards] (PRIXLEAST64): Likewise.
10118         [C99-based-standards] (SCNdLEAST64): Likewise.
10119         [C99-based-standards] (SCNiLEAST64): Likewise.
10120         [C99-based-standards] (SCNoLEAST64): Likewise.
10121         [C99-based-standards] (SCNuLEAST64): Likewise.
10122         [C99-based-standards] (SCNxLEAST64): Likewise.
10123         [C99-based-standards] (PRIdFAST64): Likewise.
10124         [C99-based-standards] (PRIiFAST64): Likewise.
10125         [C99-based-standards] (PRIoFAST64): Likewise.
10126         [C99-based-standards] (PRIuFAST64): Likewise.
10127         [C99-based-standards] (PRIxFAST64): Likewise.
10128         [C99-based-standards] (PRIXFAST64): Likewise.
10129         [C99-based-standards] (SCNdFAST64): Likewise.
10130         [C99-based-standards] (SCNiFAST64): Likewise.
10131         [C99-based-standards] (SCNoFAST64): Likewise.
10132         [C99-based-standards] (SCNuFAST64): Likewise.
10133         [C99-based-standards] (SCNxFAST64): Likewise.
10134         [C99-based-standards] (PRIdMAX): Likewise.
10135         [C99-based-standards] (PRIiMAX): Likewise.
10136         [C99-based-standards] (PRIoMAX): Likewise.
10137         [C99-based-standards] (PRIuMAX): Likewise.
10138         [C99-based-standards] (PRIxMAX): Likewise.
10139         [C99-based-standards] (PRIXMAX): Likewise.
10140         [C99-based-standards] (SCNdMAX): Likewise.
10141         [C99-based-standards] (SCNiMAX): Likewise.
10142         [C99-based-standards] (SCNoMAX): Likewise.
10143         [C99-based-standards] (SCNuMAX): Likewise.
10144         [C99-based-standards] (SCNxMAX): Likewise.
10145         [C99-based-standards] (PRIdPTR): Likewise.
10146         [C99-based-standards] (PRIiPTR): Likewise.
10147         [C99-based-standards] (PRIoPTR): Likewise.
10148         [C99-based-standards] (PRIuPTR): Likewise.
10149         [C99-based-standards] (PRIxPTR): Likewise.
10150         [C99-based-standards] (PRIXPTR): Likewise.
10151         [C99-based-standards] (SCNdPTR): Likewise.
10152         [C99-based-standards] (SCNiPTR): Likewise.
10153         [C99-based-standards] (SCNoPTR): Likewise.
10154         [C99-based-standards] (SCNuPTR): Likewise.
10155         [C99-based-standards] (SCNxPTR): Likewise.
10156         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10157         allow.
10158         * conform/data/stdint.h-data: Update comments to clarify
10159         requirements.
10160         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
10161         type.
10162         [C99-based standards] (INT8_MAX): Likewise.
10163         [C99-based standards] (INT16_MIN): Likewise.
10164         [C99-based standards] (INT16_MAX): Likewise.
10165         [C99-based standards] (INT32_MIN): Likewise.
10166         [C99-based standards] (INT32_MAX): Likewise.
10167         [C99-based standards] (INT64_MIN): Likewise.
10168         [C99-based standards] (INT64_MAX): Likewise.
10169         [C99-based standards] (UINT8_MAX): Likewise.
10170         [C99-based standards] (UINT16_MAX): Likewise.
10171         [C99-based standards] (UINT32_MAX): Likewise.
10172         [C99-based standards] (UINT64_MAX): Likewise.
10173         [C99-based standards] (INT_LEAST8_MIN): Likewise.
10174         [C99-based standards] (INT_LEAST8_MAX): Likewise.
10175         [C99-based standards] (INT_LEAST16_MIN): Likewise.
10176         [C99-based standards] (INT_LEAST16_MAX): Likewise.
10177         [C99-based standards] (INT_LEAST32_MIN): Likewise.
10178         [C99-based standards] (INT_LEAST32_MAX): Likewise.
10179         [C99-based standards] (INT_LEAST64_MIN): Likewise.
10180         [C99-based standards] (INT_LEAST64_MAX): Likewise.
10181         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10182         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10183         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10184         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10185         [C99-based standards] (INT_FAST8_MIN): Likewise.
10186         [C99-based standards] (INT_FAST8_MAX): Likewise.
10187         [C99-based standards] (INT_FAST16_MIN): Likewise.
10188         [C99-based standards] (INT_FAST16_MAX): Likewise.
10189         [C99-based standards] (INT_FAST32_MIN): Likewise.
10190         [C99-based standards] (INT_FAST32_MAX): Likewise.
10191         [C99-based standards] (INT_FAST64_MIN): Likewise.
10192         [C99-based standards] (INT_FAST64_MAX): Likewise.
10193         [C99-based standards] (UINT_FAST8_MAX): Likewise.
10194         [C99-based standards] (UINT_FAST16_MAX): Likewise.
10195         [C99-based standards] (UINT_FAST32_MAX): Likewise.
10196         [C99-based standards] (UINT_FAST64_MAX): Likewise.
10197         [C99-based standards] (INTPTR_MIN): Likewise.
10198         [C99-based standards] (INTPTR_MAX): Likewise.
10199         [C99-based standards] (UINTPTR_MAX): Likewise.
10200         [C99-based standards] (INTMAX_MIN): Likewise.
10201         [C99-based standards] (INTMAX_MAX): Likewise.
10202         [C99-based standards] (UINTMAX_MAX): Likewise.
10203         [C99-based standards] (PTRDIFF_MIN): Likewise.
10204         [C99-based standards] (PTRDIFF_MAX): Likewise.
10205         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10206         [C99-based standards] (SIZE_MAX): Likewise.
10207         [C99-based standards] (WCHAR_MAX): Likewise.
10208         [C99-based standards] (WINT_MAX): Likewise.
10209         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
10210         constraint on value.
10211         [C99-based standards] (WCHAR_MIN): Likewise.
10212         [C99-based standards] (WINT_MIN): Likewise.
10213         [C99-based standards] (*_t): Allow.
10214         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10215         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10216         Include math.h-data and complex.h-data.  Remove all expectations
10217         of math.h and complex.h contents.
10218         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10219         at end of line.
10220         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10221         (struct tm): Expect tag.
10222         [C99-based-standards] (wcstof): Expect function.
10223         [C99-based-standards] (wcstold): Likewise.
10224         [C99-based-standards] (wcstoll): Likewise.
10225         [C99-based-standards] (wcstoull): Likewise.
10226         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10227         macro-int-constant.  Specify type.
10228         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
10229         constraint on value.
10230         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10231         Specify type.
10232         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10233         Specify value.
10234         [ISO C standards]: Do not allow headers.
10235         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10236         wcs[abcdefghijklmnopqrstuvwxyz]*.
10237         [ISO C standards] (*_t): Do not allow.
10238         * conform/data/wctype.h-data [C99-based standards] (iswblank):
10239         Expect function.
10240         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10241         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10242         Specify type.
10243         [ISO C standards]: Do not allow headers.
10244         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10245         is[abcdefghijklmnopqrstuvwxyz]*.
10246         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10247         to[abcdefghijklmnopqrstuvwxyz]*.
10248         [ISO C standards] (*_t): Do not allow.
10249         * conform/data/stdalign.h-data: New file.
10250         * conform/data/stdbool.h-data: Likewise.
10251         * conform/data/stdnoreturn.h-data: Likewise.
10253 2012-11-07  Roland McGrath  <roland@hack.frob.com>
10255         [BZ #14815]
10256         * manual/filesys.texi (Directory Entries): Typo fix.
10257         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10259 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10261         * elf/elf.h (EM_AARCH64): New macro.
10262         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10263         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10264         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10265         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10266         (R_AARCH64_TLSDESC): Likewise.
10267         (NT_ARM_TLS): Likewise.
10268         (NT_ARM_HW_BREAK): Likewise.
10269         (NT_ARM_HW_WATCH): Likewise.
10271 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
10273         [BZ #14811]
10274         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10275         (__ieee754_powl): Saturate nonzero exponents with absolute value
10276         below 0x1p-79 to +/- 0x1p-79.
10277         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10278         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10279         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10280         nonzero exponents with absolute value below 0x1p-32 to +/-
10281         0x1p-32.
10282         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10283         (__ieee754_powl): Saturate nonzero exponents with absolute value
10284         below 0x1p-79 to +/- 0x1p-79.
10285         * math/libm-test.inc (pow_test): Add more tests.
10287 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10289         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10290         _dl_s390_cap_flags with kernel. Increase string length.
10291         (_dl_s390_platforms): Add z196 and zEC12.
10293 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
10295         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10296         Change XOPEN21K to XOPEN2K.
10298 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
10300         * string/memmove.c: Use memcpy when possible.
10302 2012-11-06  Andreas Jaeger  <aj@suse.de>
10304         * po/eo.po: Update from translation team.
10306 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
10308         [BZ #14793]
10309         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10310         exponent and small x and y exponents, scale x or y up.  Increase
10311         by 2 the exponent used in scaling up.
10312         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10313         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10314         * math/libm-test.inc (fma_test): Add more tests.
10315         (fma_test_towardzero): Likewise.
10316         (fma_test_downward): Likewise.
10317         (fma_test_upward): Likewise.
10319 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
10321         [BZ #14805]
10322         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10323         fenv_t *.
10325         [BZ #14801]
10326         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10327         namespace for names of struct fields.
10328         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10329         fenv_t fields.
10330         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10331         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10333 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10335         [BZ #3665]
10336         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10338 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
10340         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10341         PTR_DEMANGLE.
10343         [BZ #5246]
10344         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10345         PTR_DEMANGLE.
10347 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
10349         [BZ #14797]
10350         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10351         definitely overflow as x * y not x * y + z.
10352         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10353         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10354         * math/libm-test.inc (fma_test): Add more tests.
10355         (fma_test_towardzero): Likewise.
10356         (fma_test_downward): Likewise.
10357         (fma_test_upward): Likewise.
10359 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
10361         [BZ #157]
10363         * include/stub-tag.h: Remove file.
10364         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10365         '#include' of it.
10366         * manual/maint.texi (Porting): Don't reference it.
10367         * Makerules ($(objpfx)stubs): Likewise.
10368         * dirent/closedir.c: Don't include <stub-tag.h>.
10369         * dirent/dirfd.c: Likewise.
10370         * dirent/fdopendir.c: Likewise.
10371         * dirent/getdents.c: Likewise.
10372         * dirent/getdents64.c: Likewise.
10373         * dirent/opendir.c: Likewise.
10374         * dirent/readdir.c: Likewise.
10375         * dirent/readdir64.c: Likewise.
10376         * dirent/readdir64_r.c: Likewise.
10377         * dirent/readdir_r.c: Likewise.
10378         * dirent/rewinddir.c: Likewise.
10379         * dirent/seekdir.c: Likewise.
10380         * dirent/telldir.c: Likewise.
10381         * gmon/profil.c: Likewise.
10382         * grp/setgroups.c: Likewise.
10383         * inet/if_index.c: Likewise.
10384         * io/access.c: Likewise.
10385         * io/chdir.c: Likewise.
10386         * io/chmod.c: Likewise.
10387         * io/chown.c: Likewise.
10388         * io/close.c: Likewise.
10389         * io/dup.c: Likewise.
10390         * io/dup2.c: Likewise.
10391         * io/dup3.c: Likewise.
10392         * io/euidaccess.c: Likewise.
10393         * io/faccessat.c: Likewise.
10394         * io/fchdir.c: Likewise.
10395         * io/fchmod.c: Likewise.
10396         * io/fchmodat.c: Likewise.
10397         * io/fchown.c: Likewise.
10398         * io/fchownat.c: Likewise.
10399         * io/fcntl.c: Likewise.
10400         * io/flock.c: Likewise.
10401         * io/fstatfs.c: Likewise.
10402         * io/fstatfs64.c: Likewise.
10403         * io/fstatvfs.c: Likewise.
10404         * io/fstatvfs64.c: Likewise.
10405         * io/futimens.c: Likewise.
10406         * io/fxstat.c: Likewise.
10407         * io/fxstat64.c: Likewise.
10408         * io/fxstatat.c: Likewise.
10409         * io/fxstatat64.c: Likewise.
10410         * io/getcwd.c: Likewise.
10411         * io/isatty.c: Likewise.
10412         * io/lchmod.c: Likewise.
10413         * io/lchown.c: Likewise.
10414         * io/link.c: Likewise.
10415         * io/linkat.c: Likewise.
10416         * io/lseek.c: Likewise.
10417         * io/lseek64.c: Likewise.
10418         * io/lxstat64.c: Likewise.
10419         * io/mkdir.c: Likewise.
10420         * io/mkdirat.c: Likewise.
10421         * io/mkfifo.c: Likewise.
10422         * io/mkfifoat.c: Likewise.
10423         * io/open.c: Likewise.
10424         * io/open64.c: Likewise.
10425         * io/openat.c: Likewise.
10426         * io/openat64.c: Likewise.
10427         * io/pipe.c: Likewise.
10428         * io/pipe2.c: Likewise.
10429         * io/poll.c: Likewise.
10430         * io/posix_fadvise.c: Likewise.
10431         * io/posix_fadvise64.c: Likewise.
10432         * io/posix_fallocate.c: Likewise.
10433         * io/posix_fallocate64.c: Likewise.
10434         * io/read.c: Likewise.
10435         * io/readlink.c: Likewise.
10436         * io/readlinkat.c: Likewise.
10437         * io/rmdir.c: Likewise.
10438         * io/sendfile.c: Likewise.
10439         * io/sendfile64.c: Likewise.
10440         * io/statfs.c: Likewise.
10441         * io/statfs64.c: Likewise.
10442         * io/statvfs.c: Likewise.
10443         * io/statvfs64.c: Likewise.
10444         * io/symlink.c: Likewise.
10445         * io/symlinkat.c: Likewise.
10446         * io/ttyname.c: Likewise.
10447         * io/ttyname_r.c: Likewise.
10448         * io/umask.c: Likewise.
10449         * io/unlink.c: Likewise.
10450         * io/unlinkat.c: Likewise.
10451         * io/utime.c: Likewise.
10452         * io/utimensat.c: Likewise.
10453         * io/write.c: Likewise.
10454         * io/xmknod.c: Likewise.
10455         * io/xmknodat.c: Likewise.
10456         * io/xstat.c: Likewise.
10457         * io/xstat64.c: Likewise.
10458         * login/getpt.c: Likewise.
10459         * login/grantpt.c: Likewise.
10460         * login/unlockpt.c: Likewise.
10461         * math/e_acoshl.c: Likewise.
10462         * math/e_acosl.c: Likewise.
10463         * math/e_asinl.c: Likewise.
10464         * math/e_atan2l.c: Likewise.
10465         * math/e_atanhl.c: Likewise.
10466         * math/e_coshl.c: Likewise.
10467         * math/e_expl.c: Likewise.
10468         * math/e_fmodl.c: Likewise.
10469         * math/e_gammal_r.c: Likewise.
10470         * math/e_hypotl.c: Likewise.
10471         * math/e_j0l.c: Likewise.
10472         * math/e_j1l.c: Likewise.
10473         * math/e_jnl.c: Likewise.
10474         * math/e_lgammal_r.c: Likewise.
10475         * math/e_log10l.c: Likewise.
10476         * math/e_log2l.c: Likewise.
10477         * math/e_logl.c: Likewise.
10478         * math/e_powl.c: Likewise.
10479         * math/e_rem_pio2l.c: Likewise.
10480         * math/e_sinhl.c: Likewise.
10481         * math/e_sqrtl.c: Likewise.
10482         * math/fclrexcpt.c: Likewise.
10483         * math/fedisblxcpt.c: Likewise.
10484         * math/feenablxcpt.c: Likewise.
10485         * math/fegetenv.c: Likewise.
10486         * math/fegetexcept.c: Likewise.
10487         * math/fegetround.c: Likewise.
10488         * math/feholdexcpt.c: Likewise.
10489         * math/fesetenv.c: Likewise.
10490         * math/fesetround.c: Likewise.
10491         * math/feupdateenv.c: Likewise.
10492         * math/fgetexcptflg.c: Likewise.
10493         * math/fraiseexcpt.c: Likewise.
10494         * math/fsetexcptflg.c: Likewise.
10495         * math/ftestexcept.c: Likewise.
10496         * math/k_cosl.c: Likewise.
10497         * math/k_rem_pio2l.c: Likewise.
10498         * math/k_sinl.c: Likewise.
10499         * math/k_tanl.c: Likewise.
10500         * math/s_asinhl.c: Likewise.
10501         * math/s_atanl.c: Likewise.
10502         * math/s_cbrtl.c: Likewise.
10503         * math/s_erfl.c: Likewise.
10504         * math/s_expm1l.c: Likewise.
10505         * math/s_log1pl.c: Likewise.
10506         * math/s_tanhl.c: Likewise.
10507         * misc/acct.c: Likewise.
10508         * misc/brk.c: Likewise.
10509         * misc/chflags.c: Likewise.
10510         * misc/chroot.c: Likewise.
10511         * misc/fchflags.c: Likewise.
10512         * misc/fgetxattr.c: Likewise.
10513         * misc/flistxattr.c: Likewise.
10514         * misc/fremovexattr.c: Likewise.
10515         * misc/fsetxattr.c: Likewise.
10516         * misc/fsync.c: Likewise.
10517         * misc/ftruncate.c: Likewise.
10518         * misc/futimes.c: Likewise.
10519         * misc/futimesat.c: Likewise.
10520         * misc/getdomain.c: Likewise.
10521         * misc/getdtsz.c: Likewise.
10522         * misc/gethostid.c: Likewise.
10523         * misc/gethostname.c: Likewise.
10524         * misc/getloadavg.c: Likewise.
10525         * misc/getpagesize.c: Likewise.
10526         * misc/getsysstats.c: Likewise.
10527         * misc/getxattr.c: Likewise.
10528         * misc/gtty.c: Likewise.
10529         * misc/ioctl.c: Likewise.
10530         * misc/lgetxattr.c: Likewise.
10531         * misc/listxattr.c: Likewise.
10532         * misc/llistxattr.c: Likewise.
10533         * misc/lremovexattr.c: Likewise.
10534         * misc/lsetxattr.c: Likewise.
10535         * misc/lutimes.c: Likewise.
10536         * misc/madvise.c: Likewise.
10537         * misc/mincore.c: Likewise.
10538         * misc/mlock.c: Likewise.
10539         * misc/mlockall.c: Likewise.
10540         * misc/mmap.c: Likewise.
10541         * misc/mprotect.c: Likewise.
10542         * misc/msync.c: Likewise.
10543         * misc/munlock.c: Likewise.
10544         * misc/munlockall.c: Likewise.
10545         * misc/munmap.c: Likewise.
10546         * misc/preadv.c: Likewise.
10547         * misc/preadv64.c: Likewise.
10548         * misc/ptrace.c: Likewise.
10549         * misc/pwritev.c: Likewise.
10550         * misc/pwritev64.c: Likewise.
10551         * misc/readv.c: Likewise.
10552         * misc/reboot.c: Likewise.
10553         * misc/remap_file_pages.c: Likewise.
10554         * misc/removexattr.c: Likewise.
10555         * misc/revoke.c: Likewise.
10556         * misc/select.c: Likewise.
10557         * misc/setdomain.c: Likewise.
10558         * misc/setegid.c: Likewise.
10559         * misc/seteuid.c: Likewise.
10560         * misc/sethostid.c: Likewise.
10561         * misc/sethostname.c: Likewise.
10562         * misc/setregid.c: Likewise.
10563         * misc/setreuid.c: Likewise.
10564         * misc/setxattr.c: Likewise.
10565         * misc/sstk.c: Likewise.
10566         * misc/stty.c: Likewise.
10567         * misc/swapoff.c: Likewise.
10568         * misc/swapon.c: Likewise.
10569         * misc/sync.c: Likewise.
10570         * misc/syncfs.c: Likewise.
10571         * misc/syscall.c: Likewise.
10572         * misc/truncate.c: Likewise.
10573         * misc/ualarm.c: Likewise.
10574         * misc/usleep.c: Likewise.
10575         * misc/ustat.c: Likewise.
10576         * misc/utimes.c: Likewise.
10577         * misc/vhangup.c: Likewise.
10578         * misc/writev.c: Likewise.
10579         * posix/_exit.c: Likewise.
10580         * posix/alarm.c: Likewise.
10581         * posix/execve.c: Likewise.
10582         * posix/fexecve.c: Likewise.
10583         * posix/fork.c: Likewise.
10584         * posix/fpathconf.c: Likewise.
10585         * posix/getaddrinfo.c: Likewise.
10586         * posix/getegid.c: Likewise.
10587         * posix/geteuid.c: Likewise.
10588         * posix/getgid.c: Likewise.
10589         * posix/getgroups.c: Likewise.
10590         * posix/getlogin.c: Likewise.
10591         * posix/getlogin_r.c: Likewise.
10592         * posix/getpgid.c: Likewise.
10593         * posix/getpid.c: Likewise.
10594         * posix/getppid.c: Likewise.
10595         * posix/getresgid.c: Likewise.
10596         * posix/getresuid.c: Likewise.
10597         * posix/getsid.c: Likewise.
10598         * posix/getuid.c: Likewise.
10599         * posix/glob64.c: Likewise.
10600         * posix/nanosleep.c: Likewise.
10601         * posix/pathconf.c: Likewise.
10602         * posix/pause.c: Likewise.
10603         * posix/posix_madvise.c: Likewise.
10604         * posix/pread.c: Likewise.
10605         * posix/pread64.c: Likewise.
10606         * posix/pwrite.c: Likewise.
10607         * posix/pwrite64.c: Likewise.
10608         * posix/sched_getaffinity.c: Likewise.
10609         * posix/sched_getp.c: Likewise.
10610         * posix/sched_gets.c: Likewise.
10611         * posix/sched_primax.c: Likewise.
10612         * posix/sched_primin.c: Likewise.
10613         * posix/sched_rr_gi.c: Likewise.
10614         * posix/sched_setaffinity.c: Likewise.
10615         * posix/sched_setp.c: Likewise.
10616         * posix/sched_sets.c: Likewise.
10617         * posix/sched_yield.c: Likewise.
10618         * posix/setgid.c: Likewise.
10619         * posix/setlogin.c: Likewise.
10620         * posix/setpgid.c: Likewise.
10621         * posix/setresgid.c: Likewise.
10622         * posix/setresuid.c: Likewise.
10623         * posix/setsid.c: Likewise.
10624         * posix/setuid.c: Likewise.
10625         * posix/sleep.c: Likewise.
10626         * posix/spawni.c: Likewise.
10627         * posix/sysconf.c: Likewise.
10628         * posix/times.c: Likewise.
10629         * posix/wait.c: Likewise.
10630         * posix/wait3.c: Likewise.
10631         * posix/wait4.c: Likewise.
10632         * posix/waitpid.c: Likewise.
10633         * resolv/gai_sigqueue.c: Likewise.
10634         * resource/getpriority.c: Likewise.
10635         * resource/getrlimit.c: Likewise.
10636         * resource/getrusage.c: Likewise.
10637         * resource/nice.c: Likewise.
10638         * resource/setpriority.c: Likewise.
10639         * resource/setrlimit.c: Likewise.
10640         * resource/ulimit.c: Likewise.
10641         * rt/aio_cancel.c: Likewise.
10642         * rt/aio_fsync.c: Likewise.
10643         * rt/aio_read.c: Likewise.
10644         * rt/aio_sigqueue.c: Likewise.
10645         * rt/aio_suspend.c: Likewise.
10646         * rt/aio_write.c: Likewise.
10647         * rt/clock_getres.c: Likewise.
10648         * rt/clock_gettime.c: Likewise.
10649         * rt/clock_nanosleep.c: Likewise.
10650         * rt/clock_settime.c: Likewise.
10651         * rt/lio_listio.c: Likewise.
10652         * rt/mq_close.c: Likewise.
10653         * rt/mq_getattr.c: Likewise.
10654         * rt/mq_notify.c: Likewise.
10655         * rt/mq_open.c: Likewise.
10656         * rt/mq_receive.c: Likewise.
10657         * rt/mq_send.c: Likewise.
10658         * rt/mq_setattr.c: Likewise.
10659         * rt/mq_timedreceive.c: Likewise.
10660         * rt/mq_timedsend.c: Likewise.
10661         * rt/mq_unlink.c: Likewise.
10662         * rt/shm_open.c: Likewise.
10663         * rt/shm_unlink.c: Likewise.
10664         * rt/timer_create.c: Likewise.
10665         * rt/timer_delete.c: Likewise.
10666         * rt/timer_getoverr.c: Likewise.
10667         * rt/timer_gettime.c: Likewise.
10668         * rt/timer_settime.c: Likewise.
10669         * setjmp/__longjmp.c: Likewise.
10670         * setjmp/setjmp.c: Likewise.
10671         * signal/kill.c: Likewise.
10672         * signal/killpg.c: Likewise.
10673         * signal/raise.c: Likewise.
10674         * signal/sigaction.c: Likewise.
10675         * signal/sigaltstack.c: Likewise.
10676         * signal/sigblock.c: Likewise.
10677         * signal/sigignore.c: Likewise.
10678         * signal/sigintr.c: Likewise.
10679         * signal/signal.c: Likewise.
10680         * signal/sigpause.c: Likewise.
10681         * signal/sigpending.c: Likewise.
10682         * signal/sigqueue.c: Likewise.
10683         * signal/sigreturn.c: Likewise.
10684         * signal/sigset.c: Likewise.
10685         * signal/sigsetmask.c: Likewise.
10686         * signal/sigstack.c: Likewise.
10687         * signal/sigsuspend.c: Likewise.
10688         * signal/sigtimedwait.c: Likewise.
10689         * signal/sigvec.c: Likewise.
10690         * signal/sigwait.c: Likewise.
10691         * signal/sigwaitinfo.c: Likewise.
10692         * signal/sysv_signal.c: Likewise.
10693         * socket/accept.c: Likewise.
10694         * socket/accept4.c: Likewise.
10695         * socket/bind.c: Likewise.
10696         * socket/connect.c: Likewise.
10697         * socket/getpeername.c: Likewise.
10698         * socket/getsockname.c: Likewise.
10699         * socket/getsockopt.c: Likewise.
10700         * socket/isfdtype.c: Likewise.
10701         * socket/listen.c: Likewise.
10702         * socket/recv.c: Likewise.
10703         * socket/recvfrom.c: Likewise.
10704         * socket/recvmsg.c: Likewise.
10705         * socket/send.c: Likewise.
10706         * socket/sendmsg.c: Likewise.
10707         * socket/sendto.c: Likewise.
10708         * socket/setsockopt.c: Likewise.
10709         * socket/shutdown.c: Likewise.
10710         * socket/sockatmark.c: Likewise.
10711         * socket/socket.c: Likewise.
10712         * socket/socketpair.c: Likewise.
10713         * stdio-common/ctermid.c: Likewise.
10714         * stdio-common/cuserid.c: Likewise.
10715         * stdio-common/remove.c: Likewise.
10716         * stdio-common/rename.c: Likewise.
10717         * stdio-common/renameat.c: Likewise.
10718         * stdio-common/tempname.c: Likewise.
10719         * stdlib/getcontext.c: Likewise.
10720         * stdlib/makecontext.c: Likewise.
10721         * stdlib/setcontext.c: Likewise.
10722         * stdlib/swapcontext.c: Likewise.
10723         * stdlib/system.c: Likewise.
10724         * streams/fattach.c: Likewise.
10725         * streams/fdetach.c: Likewise.
10726         * streams/getmsg.c: Likewise.
10727         * streams/getpmsg.c: Likewise.
10728         * streams/putmsg.c: Likewise.
10729         * streams/putpmsg.c: Likewise.
10730         * sysdeps/unix/bsd/getpt.c: Likewise.
10731         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10732         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10733         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10735         Likewise.
10736         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10737         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10738         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10739         * sysvipc/msgctl.c: Likewise.
10740         * sysvipc/msgget.c: Likewise.
10741         * sysvipc/msgrcv.c: Likewise.
10742         * sysvipc/msgsnd.c: Likewise.
10743         * sysvipc/semctl.c: Likewise.
10744         * sysvipc/semget.c: Likewise.
10745         * sysvipc/semop.c: Likewise.
10746         * sysvipc/semtimedop.c: Likewise.
10747         * sysvipc/shmat.c: Likewise.
10748         * sysvipc/shmctl.c: Likewise.
10749         * sysvipc/shmdt.c: Likewise.
10750         * sysvipc/shmget.c: Likewise.
10751         * termios/tcdrain.c: Likewise.
10752         * termios/tcflow.c: Likewise.
10753         * termios/tcflush.c: Likewise.
10754         * termios/tcgetattr.c: Likewise.
10755         * termios/tcgetpgrp.c: Likewise.
10756         * termios/tcsendbrk.c: Likewise.
10757         * termios/tcsetattr.c: Likewise.
10758         * termios/tcsetpgrp.c: Likewise.
10759         * time/adjtime.c: Likewise.
10760         * time/clock.c: Likewise.
10761         * time/getitimer.c: Likewise.
10762         * time/gettimeofday.c: Likewise.
10763         * time/setitimer.c: Likewise.
10764         * time/settimeofday.c: Likewise.
10765         * time/stime.c: Likewise.
10766         * time/time.c: Likewise.
10768 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
10770         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10771         /usr/old/bin.
10773         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10774         instead of spaces.
10775         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10777 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
10779         [BZ #14796]
10780         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10781         FE_TONEAREST before applying Dekker multiplication and Knuth
10782         addition.  Clear inexact exceptions and check for exact zero
10783         results afterwards.
10784         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10785         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10786         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10787         * math/libm-test.inc (fma_test): Add more tests.
10788         (fma_test_towardzero): Likewise.
10789         (fma_test_downward): Likewise.
10790         (fma_test_upward): Likewise.
10791         * sysdeps/generic/math_private.h (default_libc_fesetround): New
10792         function.
10793         (libc_fesetround): New macro.
10794         (libc_fesetroundf): Likewise.
10795         (libc_fesetroundl): Likewise.
10796         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10797         function.
10798         (libc_fesetround_387): Likewise.
10799         (libc_fesetroundf): New macro.
10800         (libc_fesetround): Likewise.
10801         (libc_fesetroundl): Likewise.
10802         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10803         function.
10804         (libc_fesetroundf): New macro.
10805         (libc_fesetround): Likewise.
10806         (libc_fesetroundl): Likewise.
10807         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10808         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10809         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10810         libm_hidden_ver.
10811         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10812         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10813         libm_hidden_def.
10814         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10815         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10816         libm_hidden_ver.
10817         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10818         libm_hidden_def.
10820         [BZ #3439]
10821         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10822         integer constant usable in #if and use that to give value to enum
10823         constant.
10824         (FE_DIVBYZERO): Likewise.
10825         (FE_UNDERFLOW): Likewise.
10826         (FE_OVERFLOW): Likewise.
10827         (FE_INVALID): Likewise.
10828         (FE_INVALID_SNAN): Likewise.
10829         (FE_INVALID_ISI): Likewise.
10830         (FE_INVALID_IDI): Likewise.
10831         (FE_INVALID_ZDZ): Likewise.
10832         (FE_INVALID_IMZ): Likewise.
10833         (FE_INVALID_COMPARE): Likewise.
10834         (FE_INVALID_SOFTWARE): Likewise.
10835         (FE_INVALID_SQRT): Likewise.
10836         (FE_INVALID_INTEGER_CONVERSION): Likewise.
10837         (FE_TONEAREST): Likewise.
10838         (FE_TOWARDZERO): Likewise.
10839         (FE_UPWARD): Likewise.
10840         (FE_DOWNWARD): Likewise.
10841         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10842         (FE_DIVBYZERO): Likewise.
10843         (FE_OVERFLOW): Likewise.
10844         (FE_UNDERFLOW): Likewise.
10845         (FE_INEXACT): Likewise.
10846         (FE_TONEAREST): Likewise.
10847         (FE_DOWNWARD): Likewise.
10848         (FE_UPWARD): Likewise.
10849         (FE_TOWARDZERO): Likewise.
10850         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10851         (FE_UNDERFLOW): Likewise.
10852         (FE_OVERFLOW): Likewise.
10853         (FE_DIVBYZERO): Likewise.
10854         (FE_INVALID): Likewise.
10855         (FE_TONEAREST): Likewise.
10856         (FE_TOWARDZERO): Likewise.
10857         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10858         (FE_OVERFLOW): Likewise.
10859         (FE_UNDERFLOW): Likewise.
10860         (FE_DIVBYZERO): Likewise.
10861         (FE_INEXACT): Likewise.
10862         (FE_TONEAREST): Likewise.
10863         (FE_TOWARDZERO): Likewise.
10864         (FE_UPWARD): Likewise.
10865         (FE_DOWNWARD): Likewise.
10866         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10867         (FE_DIVBYZERO): Likewise.
10868         (FE_OVERFLOW): Likewise.
10869         (FE_UNDERFLOW): Likewise.
10870         (FE_INEXACT): Likewise.
10871         (FE_TONEAREST): Likewise.
10872         (FE_DOWNWARD): Likewise.
10873         (FE_UPWARD): Likewise.
10874         (FE_TOWARDZERO): Likewise.
10876 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
10878         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10880 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
10882         * scripts/cross-test-ssh.sh (command): Use newlines to separate
10883         commands.  Quote $PWD.
10884         (blacklist_exports): Don't use remove_newlines.  Replace "declare
10885         -x" by "export".
10886         (remove_newlines): Remove.
10888 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
10890         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10891         * stdlib/stdlib.h (atof): Moved to ...
10892         * include/bits/stdlib-float.h: Here.  New file.
10893         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10894         * stdlib/bits/stdlib-float.h: New file.
10895         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10896         -mno-sse -mno-mmx.
10897         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10898         <xmmintrin.h>.
10900 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
10902         * conform/conformtest.pl (@headers): Add fenv.h.
10903         * conform/data/fenv.h-data: New file.
10904         * include/fenv.h [_ISOMAC]: Disable all contents of file except
10905         include of <math/fenv.h>.
10907         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10908         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10909         && !UNIX98].  Enables tests for XOPEN2K8.
10910         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10911         POSIX2008]: Likewise.
10913         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10914         (struct rusage): Do not expect type or its members.
10916         [BZ #3439]
10917         * math/math.h (FP_NAN): Define macro to integer constant usable in
10918         #if and use that to give value to enum constant.
10919         (FP_INFINITE): Likewise.
10920         (FP_ZERO): Likewise.
10921         (FP_SUBNORMAL): Likewise.
10922         (FP_NORMAL): Likewise.
10924 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
10926         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10927         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10928         arguments.
10930 2012-11-02  Roland McGrath  <roland@hack.frob.com>
10932         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10933         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10934         autoconf-time if not.
10935         * configure.in: Remove AC_PREREQ.
10937 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10939         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10940         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10941         of the internal implementation.
10943 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
10945         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10946         except include of <misc/sys/syslog.h>.
10948 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
10950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10951         function returns with a NULL context exit with zero.
10953 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10955         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10957 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
10959         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10960         (run_program_cmd): This.
10961         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10962         (tst_langinfo): New variable.  Use it.
10964 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
10966         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10967         floating point opcodes.
10969 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
10971         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10972         variable.
10974         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10976         * sysdeps/mach/hurd/powerpc: Remove directory.
10977         * sysdeps/mach/powerpc: Likewise.
10979 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
10981         * scripts/check-local-headers.sh: Ignore c++ headers.
10983 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
10985         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10986         __libc_cleanup_region_start argument.
10988 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
10990         [BZ #14784]
10991         [BZ #14785]
10992         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10993         x * y using scaling, not as x * y + z.
10994         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10995         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10996         * math/libm-test.inc (fma_test): Add more tests.
10997         (fma_test_towardzero): Likewise.
10998         (fma_test_downward): Likewise.
10999         (fma_test_upward): Likewise.
11001 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
11003         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11005 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
11007         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11008         New variable.
11010 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
11012         * rt/tst-shm.c (worker): Correct checking for mmap failure.
11014 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
11016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11017         Fix sort order.
11018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11019         Likewise.
11021 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11024         Fix the order of the list for glibc 2.17.
11025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11026         Likewise.
11028 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
11030         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11032 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
11034         [BZ #14610]
11035         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11036         for low part of x being zero before using __atanl (y).
11037         * math/libm-test.inc (atan2_test): Add another test.
11039         * manual/install.texi (Configuring and compiling): Document
11040         general use of test-wrapper and test-wrapper-env.
11041         * INSTALL: Regenerated.
11043         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11044         (__fma): Do not extract and scale down low bits on after-rounding
11045         systems when result rounded to normal precision would have normal
11046         exponent.
11047         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11048         (__fmal): Do not extract and scale down low bits on after-rounding
11049         systems when result rounded to normal precision would have normal
11050         exponent.
11051         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11052         (__fmal): Do not extract and scale down low bits on after-rounding
11053         systems when result rounded to normal precision would have normal
11054         exponent.
11055         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11056         macro.
11057         (fma_test): Add more tests.
11058         (fma_test_towardzero): Likewise.
11059         (fma_test_downward): Likewise.
11060         (fma_test_upward): Likewise.
11062 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
11064         * sysdeps/i386/tininess.h: Renamed to ...
11065         * sysdeps/x86/tininess.h: This.
11066         * sysdeps/x86_64/tininess.h: Removed.
11068 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
11070         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11071         input.  Use $(build-program-cmd).
11072         ($(objpfx)tst-array1-static.out): Likewise.
11073         ($(objpfx)tst-array2.out): Likewise.
11074         ($(objpfx)tst-array3.out): Likewise.
11075         ($(objpfx)tst-array4.out): Likewise.
11076         ($(objpfx)tst-array5.out): Likewise.
11077         ($(objpfx)tst-array5-static.out): Likewise.
11079 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
11081         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11082         if defined.
11084         * nss/nsswitch.h (nss_interface_function): Provide new
11085         macro for use with NSS functions.
11086         * grp/initgroups.c: Use new macro.
11087         * nss/getXXbyYY.c: Likewise.
11088         * nss/getXXbyYY_r.c: Likewise.
11089         * nss/getXXent.c: Likewise.
11090         * nss/getXXent_r.c: Likewise.
11091         * sysdeps/posix/getaddrinfo.c: Likewise.
11093 2012-10-30  Andreas Jaeger  <aj@suse.de>
11095         * po/ru.po: Update Russion translation from translation project.
11097 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
11099         [BZ #14152]
11100         [BZ #14783]
11101         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11102         result and shift together with sticky bit instead of replicating
11103         round-to-nearest rounding.
11104         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11105         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11106         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
11107         missing underflow exceptions.
11108         (fma_test_towardzero): Add more tests.
11109         (fma_test_downward): Likewise.
11110         (fma_test_upward): Likewise.
11112         [BZ #14047]
11113         * sysdeps/generic/tininess.h: New file.
11114         * sysdeps/i386/tininess.h: Likewise.
11115         * sysdeps/sh/tininess.h: Likewise.
11116         * sysdeps/x86_64/tininess.h: Likewise.
11117         * stdlib/tst-strtod-underflow.c: Likewise.
11118         * stdlib/tst-tininess.c: Likewise.
11119         * stdlib/strtod_l.c: Include <tininess.h>.
11120         (round_and_return): Do not set errno for exact underflow cases.
11121         Force an underflow exception when setting errno for underflow.
11122         Determine underflow based on rounding to normal precision if
11123         TININESS_AFTER_ROUNDING.
11124         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11125         ERANGE for exact underflow cases.
11126         * stdlib/Makefile (tests): Add tst-tininess and
11127         tst-strtod-underflow.
11128         ($(objpfx)tst-tininess): Use $(link-libm).
11129         ($(objpfx)tst-strtod-underflow): Likewise.
11131 2012-10-30  Andreas Jaeger  <aj@suse.de>
11133         [BZ#14767]
11134         * elf/Makefile (tests): Remove conditional for have-initfini-array
11135         since this is now always required and the variable does not exist
11136         anymore.
11137         (tests-static): Likewise.
11138         (modules-names): Likewise.
11140         * po/eo.po: Add Esperanto translation from translation project.
11142         * elf/tst-array1.c (fini_array): Make writeable so that it can be
11143         merged with constructor/destructor.
11144         (init_array): Likewise.
11145         * elf/tst-array2dep.c (fini_array): Likewise.
11146         (init_array): Likewise.
11148 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
11150         * manual/message.texi: Delete @cartouche tags.
11152 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
11154         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11155         EOPNOTSUPP.
11156         * sysdeps/mach/hurd/fsync.c: Likewise.
11158         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11159         [_POSIX_REALTIME_SIGNALS]: Change condition to
11160         [_POSIX_REALTIME_SIGNALS > 0].
11162 2012-10-27  Andreas Jaeger  <aj@suse.de>
11164         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11165         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11166         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11167         [__WORDSIZE != 64]: Likewise.
11169 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
11171         *  iconvdata/tst-table.sh: Remove ${SHELL}.
11172         *  iconvdata/tst-tables.sh: Likewise.
11174 2012-10-25  David S. Miller  <davem@davemloft.net>
11176         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11177         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11178         of strtoull.
11180         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11181         ifunc-impl-list.c
11182         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11183         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11184         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11185         file.
11187 2012-10-25  Roland McGrath  <roland@hack.frob.com>
11189         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11190         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11191         __getdirentries.
11193 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
11194             Jim Blandy  <jimb@codesourcery.com>
11196         * scripts/cross-test-ssh.sh: New file.
11197         * manual/install.texi (Configuring and compiling): Document use of
11198         cross-test-ssh.sh.
11199         * INSTALL: Regenerated.
11201 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
11203         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11204         EOPNOTSUPP.
11206 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
11208         * Makeconfig (run-program-prefix): Fix comment.
11210 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
11211             Jim Blandy  <jimb@codesourcery.com>
11213         * Makeconfig (test-wrapper): New variable,
11214         (test-wrapper-env): Likewise.
11215         [$(cross-compiling) = yes && $(test-wrapper) != ""]
11216         (run-built-tests): Define to yes.
11217         (run-program-prefix): Use $(test-wrapper).
11218         (built-program-cmd): Likewise.
11219         * Rules (make-test-out): Use $(test-wrapper-env) and
11220         $(host-built-program-cmd).
11221         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11222         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11223         tst-pathopt.sh.
11224         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11225         $(test-wrapper-env) to tst-rtld-load-self.sh.
11226         ($(objpfx)order2.out): Use $(test-wrapper).
11227         ($(objpfx)tst-initorder.out): Likewise.
11228         ($(objpfx)tst-initorder2.out): Likewise.
11229         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11230         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11231         (test_wrapper_env): New variable.  Use it to run ld.so.
11232         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11233         Use it to run ld.so.
11234         (test_wrapper_env): Likewise.
11235         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11236         $(test-wrapper) to run-iconv-test.sh.
11237         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11238         (ICONV): Use $test_wrapper.
11239         * posix/Makefile ($(objpfx)globtest.out): Pass
11240         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11241         globtest.sh, not $(run-program-prefix).
11242         * posix/globtest.sh (run_via_rtld_prefix): New variable.
11243         (test_wrapper): Likewise.
11244         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
11245         set together with run_via_rtld_prefix.
11246         (run_program_prefix): Define in terms of test_wrapper and
11247         run_via_rtld_prefix.
11249 2012-10-24  Roland McGrath  <roland@hack.frob.com>
11251         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11252         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11253         Targets removed.
11255         [BZ #14743]
11256         * include/time.h: Remove librt_hidden_proto (clock_gettime).
11257         Declare __clock_getres, __clock_gettime, __clock_settime,
11258         __clock_nanosleep, and __clock_getcpuclockid.
11259         * rt/clock_gettime.c: Define __clock_gettime as an alias.
11260         Remove librt_hidden_def (clock_gettime).
11261         * sysdeps/unix/clock_gettime.c: Likewise.
11262         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11263         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11264         * rt/clock_getres.c: Define __clock_getres as an alias.
11265         * sysdeps/posix/clock_getres.c: Likewise.
11266         * rt/clock_settime.c: Define __clock_settime as an alias.
11267         * sysdeps/unix/clock_settime.c: Likewise.
11268         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11269         * sysdeps/unix/clock_nanosleep.c: Likewise.
11270         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11271         * rt/clock-compat.c: New file.
11272         * rt/Makefile (librt-routines): Add clock-compat and move
11273         $(clock-routines) to ...
11274         (routines): ... here, new variable.
11275         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11276         Don't add get_clockfreq here.
11277         * rt/Versions (libc: GLIBC_2.17): New version set.
11278         Add clock_* symbols here.
11279         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
11280         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11281         (GLIBC_2.17): Add clock_* symbols.
11282         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11283         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11284         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11286         Likewise.
11287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11288         Likewise.
11289         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11290         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11293         * NEWS: Mention the move.
11295         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11296         Use __open, __read, __close rather than their public counterparts.
11297         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11298         (__get_clockfreq_via_cpuinfo): Likewise.
11299         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11300         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11302         * config.h.in (HAVE_IFUNC): New #undef.
11303         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11304         was successful.
11305         * configure: Regenerated.
11307 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
11309         * configure.in: Move READELF check to start of file.
11310         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11311         libc_cv_asm_gnu_indirect_function in the process.
11312         * configure: Regenerated.
11314 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
11316         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11317         send the output to /dev/null.
11318         (libc_cv_cc_with_libunwind): Likewise.
11319         (libc_cv_as_noexecstack): Likewise.
11320         * configure: Regenerate.
11322 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
11324         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11326         * posix/globtest.sh (TMPDIR): Do not set.
11327         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11328         (testout): Likewise.
11330 2012-10-24  Andreas Jaeger  <aj@suse.de>
11332         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11333         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11334         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11335         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11336         posix_fadvise64, posix_fallocate64.
11338         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11339         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11340         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11341         Likewise.
11342         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11343         Likewise.
11344         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11346         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11347         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11348         <bits/fcntl-linux.h>.
11349         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11351         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11352         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11353         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11354         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11355         [__WORDSIZE != 64]: Likewise.
11357 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
11359         * Makeconfig (run-built-tests): New variable.
11360         * Rules [$(cross-compiling) = yes]: Change condition to
11361         [$(run-built-tests) = no].
11362         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11363         to [$(run-built-tests) = yes].
11364         * elf/Makefile [$(cross-compiling) = no]: Likewise
11365         * grp/Makefile [$(cross-compiling) = no]: Likewise.
11366         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11367         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11368         * intl/Makefile [$(cross-compiling) = no]: Likewise.
11369         * io/Makefile [$(cross-compiling) = no]: Likewise.
11370         * libio/Makefile [$(cross-compiling) = no]: Likewise.
11371         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11372         * misc/Makefile [$(cross-compiling) = no]: Likewise.
11373         * posix/Makefile [$(cross-compiling) = no]: Likewise.
11374         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11375         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11376         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11377         * string/Makefile [$(cross-compiling) = no]: Likewise.
11379         * posix/Makefile ($(objpfx)globtest.out): Pass
11380         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11381         $(rtld-installed-name).
11382         * posix/globtest.sh (elf_objpfx): Remove variable.
11383         (rtld_installed_name): Likewise.
11384         (library_path): Likewise.
11385         (run_program_prefix): New variable.  Use for running globtest
11386         binary.
11388 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
11389             Joseph Myers  <joseph@codesourcery.com>
11391         * Makeconfig (host-built-program-cmd): New variable.
11392         * elf/Makefile (tst-stackguard1-ARGS): Use
11393         $(host-built-program-cmd).
11394         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11395         (tst-spawn-ARGS): Likewise.
11396         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11398 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
11399             Jim Blandy  <jimb@codesourcery.com>
11401         * Makeconfig (run-via-rtld-prefix): New variable.
11402         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11403         (built-program-cmd): Likewise.
11405 2012-10-22  Andreas Jaeger  <aj@suse.de>
11407         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11408         __O_RSYNC if it exists, otherwise to O_SYNC.
11410 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
11411             Joseph Myers  <joseph@codesourcery.com>
11413         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11414         /dev/null.
11415         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11416         from /dev/null
11417         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11418         /dev/null.
11420 2012-10-22  Andreas Jaeger  <aj@suse.de>
11422         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11423         Define always.
11424         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11426         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11427         bits/fcntl-linux.h.
11429         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11430         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11432         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11433         to __O_LARGEFILE.
11434         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11435         to __O_LARGEFILE.
11437 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
11438             Joseph Myers  <joseph@codesourcery.com>
11440         * config.make.in (NM): New variable.
11442 2012-10-21  Andreas Jaeger  <aj@suse.de>
11444         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11445         definitions and declarations that are provided by
11446         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11448 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
11450         [BZ #14683]
11451         * elf/Makefile (tests-static): Add tst-leaks1-static.
11452         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11453         ($(objpfx)tst-leaks1-static): New rule.
11454         ($(objpfx)tst-leaks1-static-mem): Likewise.
11455         (tst-leaks1-static-ENV): New macro.
11456         * elf/dl-open.c (dl_open_worker): Check the main application
11457         only if SHARED is defined.
11458         * elf/tst-leaks1-static.c: New file.
11460 2012-10-20  Andreas Jaeger  <aj@suse.de>
11462         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11463         generic values for Linux.
11464         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11465         and declarations that are provided by <bits/fcntl-linux.h> and
11466         include <bits/fcntl-linux.h>.
11467         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11468         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11470 2012-10-20  Roland McGrath  <roland@hack.frob.com>
11472         * io/fcntl.h: Move include of <bits/types.h> to the top and
11473         include it unconditionally.
11475 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
11477         * wcsmbs/Makefile (tests-ifunc): New variable.
11478         (tests): Add $(tests-ifunc).
11479         * wcsmbs/test-wcschr-ifunc.c: New file.
11480         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11481         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11482         * wcsmbs/test-wcslen-ifunc.c: Likewise.
11483         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11484         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11486         * string/Makefile (tests-ifunc): New variable.
11487         (tests): Add $(tests-ifunc).
11488         * string/test-memccpy.c (TEST_NAME): New macro.
11489         * string/test-memchr.c (TEST_NAME): Likewise.
11490         * string/test-memcmp.c (TEST_NAME): Likewise.
11491         * string/test-memcpy.c (TEST_NAME): Likewise.
11492         * string/test-memmem.c (TEST_NAME): Likewise.
11493         * string/test-memmove.c (TEST_NAME): Likewise.
11494         * string/test-memset.c (TEST_NAME): Likewise.
11495         * string/test-rawmemchr.c (TEST_NAME): Likewise.
11496         * string/test-stpcpy.c (TEST_NAME): Likewise.
11497         * string/test-stpncpy.c (TEST_NAME): Likewise.
11498         * string/test-strcasecmp.c (TEST_NAME): Likewise.
11499         * string/test-strcasestr.c (TEST_NAME): Likewise.
11500         * string/test-strcat.c (TEST_NAME): Likewise.
11501         * string/test-strchr.c (TEST_NAME): Likewise.
11502         * string/test-strcmp.c(TEST_NAME): Likewise.
11503         * string/test-strcpy.c (TEST_NAME): Likewise.
11504         * string/test-strcspn.c (TEST_NAME): Likewise.
11505         * string/test-strlen.c (TEST_NAME): Likewise.
11506         * string/test-strncasecmp.c (TEST_NAME): Likewise.
11507         * string/test-strncmp.c (TEST_NAME): Likewise.
11508         * string/test-strncpy.c (TEST_NAME): Likewise.
11509         * string/test-strnlen.c (TEST_NAME): Likewise.
11510         * string/test-strpbrk.c (TEST_NAME): Likewise.
11511         * string/test-strrchr.c (TEST_NAME): Likewise.
11512         * string/test-strspn.c (TEST_NAME): Likewise.
11513         * string/test-strstr.c (TEST_NAME): Likewise.
11514         * string/test-bcopy-ifunc.c: New file.
11515         * string/test-bzero-ifunc.c: Likewise.
11516         * string/test-memccpy-ifunc.c: Likewise.
11517         * string/test-memchr-ifunc.c: Likewise.
11518         * string/test-memcmp-ifunc.c: Likewise.
11519         * string/test-memcpy-ifunc.c: Likewise.
11520         * string/test-memmem-ifunc.c: Likewise.
11521         * string/test-memmove-ifunc.c: Likewise.
11522         * string/test-mempcpy-ifunc.c: Likewise.
11523         * string/test-memset-ifunc.c: Likewise.
11524         * string/test-rawmemchr-ifunc.c: Likewise.
11525         * string/test-stpcpy-ifunc.c: Likewise.
11526         * string/test-stpncpy-ifunc.c: Likewise.
11527         * string/test-strcasecmp-ifunc.c: Likewise.
11528         * string/test-strcasestr-ifunc.c: Likewise.
11529         * string/test-strcat-ifunc.c: Likewise.
11530         * string/test-strchr-ifunc.c: Likewise.
11531         * string/test-strchrnul-ifunc.c: Likewise.
11532         * string/test-strcmp-ifunc.c: Likewise.
11533         * string/test-strcpy-ifunc.c: Likewise.
11534         * string/test-strcspn-ifunc.c: Likewise.
11535         * string/test-strlen-ifunc.c: Likewise.
11536         * string/test-strncasecmp-ifunc.c: Likewise.
11537         * string/test-strncat-ifunc.c: Likewise.
11538         * string/test-strncmp-ifunc.c: Likewise.
11539         * string/test-strncpy-ifunc.c: Likewise.
11540         * string/test-strnlen-ifunc.c: Likewise.
11541         * string/test-strpbrk-ifunc.c: Likewise.
11542         * string/test-strrchr-ifunc.c: Likewise.
11543         * string/test-strspn-ifunc.c: Likewise.
11544         * string/test-strstr-ifunc.c: Likewise.
11546         * debug/Makefile (tests-ifunc): New variable.
11547         (tests): Add $(tests-ifunc).
11548         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11549         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11550         * debug/test-stpcpy_chk-ifunc.c: New file.
11551         * debug/test-strcpy_chk-ifunc.c: Likewise.
11553 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11555         [BZ #13601]
11556         * elf/dl-load.c (open_verify): Retry read if the entire ELF
11557         header is not read in.
11559 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
11561         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
11562         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
11563         directly.  Pass built executable to script as
11564         $(built-program-cmd).
11565         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
11566         $testprogram without using LD_LIBRARY_PATH and $ldso.
11568         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11569         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11570         $(rtld-installed-name).
11571         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11572         (rtld_installed_name): Likewise.
11573         (library_path): Likewise.
11574         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
11575         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11576         $(run-program-prefix) to tst-tables.sh.
11577         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
11578         it to run tst-table-from and tst-table-to.
11579         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11580         Pass it to tst-table.sh.
11581         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11582         $(run-program-prefix) to tst-gettext.sh.
11583         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11584         tst-translit.sh.
11585         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11586         tst-gettext2.sh.
11587         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
11588         to run tst-gettext.
11589         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
11590         to run tst-gettext2.
11591         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
11592         to run tst-translit.
11593         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11594         $(run-program-prefix) to tst-mtrace.sh.
11595         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
11596         to run tst-mtrace.
11597         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11598         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11599         $(rtld-installed-name).
11600         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11601         (rtld_installed_name): Likewise.
11602         (run_program_prefix): New variable.  Use it to run wordexp-test.
11604         * Makeconfig (ARCH): Remove all definitions.
11605         (machine): Likewise.
11606         [ARCH]: Remove conditional code.
11607         [!objdir]: Give error.
11608         [!objdir] (objpfx): Remove.
11609         [!objdir] (common-objpfx): Likewise.
11610         [!objdir] (common-objdir): Likewise.
11611         * configure.in (config_makefile): Remove.  Hardcode Makefile in
11612         AC_CONFIG_FILES call.
11613         * configure: Regenerated.
11615         [BZ #13888]
11616         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11617         or TMPDIR.
11618         (testout): Likewise.
11620         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11621         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11622         $(rtld-installed-name).
11623         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11624         (rtld_installed_name): Likwise.
11625         (runit): Remove function.
11626         (run_getconf): New variable,  Use it for running getconf binary.
11628 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
11630         [BZ #14716]
11631         * string/test-memmem.c (check_result): New function.
11632         (do_one_test): Use it.
11633         (check1): New function.
11634         (test_main): Use it.
11636 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
11638         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11640 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
11642         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11643         (_G_LSEEK64): Likewise.
11644         (_G_MMAP64): Likewise.
11645         (_G_FSTAT64): Likewise.
11646         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11647         (_G_LSEEK64): Likewise.
11648         (_G_MMAP64): Likewise.
11649         (_G_FSTAT64): Likewise.
11650         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11651         unconditional.  Call __mmap64 directly.
11652         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11653         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
11654         __lseek64 directly.
11655         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11656         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
11657         __mmap64 directly.
11658         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11659         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
11660         __lseek64 directly.
11661         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11662         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
11663         __lseek64 directly.
11664         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11665         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
11666         __lseek64 directly.
11667         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11668         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
11669         __fxstat64 directly.
11670         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11671         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11672         unconditional.
11673         (freopen64) [!_G_OPEN64]: Remove conditional code.
11674         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11675         unconditional.
11676         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11677         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11678         unconditional.
11679         (ftello64) [!_G_LSEEK64]: Remove conditional code.
11680         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11681         unconditional.
11682         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11683         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11684         unconditional.
11685         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11686         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11687         unconditional.
11688         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11689         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11690         unconditional.
11691         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11692         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11693         unconditional.
11694         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11696 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11698         [BZ #12140]
11699         * manual/memory.texi (Malloc Tunable Parameters): Add note
11700         about free list pointers overwriting some perturb bytes.
11701         Wording suggested by Roland McGrath.
11703 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
11705         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11706         (lgamma_test): Likewise.
11707         (tgamma_test): Likewise.
11709 2012-10-16  Florian Weimer  <fweimer@redhat.com>
11711         [BZ #14700]
11712         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11713         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11715 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
11717         * NEWS: Mention BZ #14716.
11718         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11719         when removing AVAILABLE1_USES_J macro.
11721 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
11723         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11724         (__bswap_64): __uint64_t for unsigned 64-bit int.
11726 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
11728         * include/string.h (memmem): Declare libc hidden alias.
11729         * string/memmem.c (memmem): Define libc hidden alias.
11730         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11731         __read, __close instead of open, read, close.
11733 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
11735         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11736         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11737         global and hidden.
11738         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11739         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11740         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11741         Likewise.
11742         (__rawmemchr_sse2): Likewise.
11743         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11744         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11745         (__strchr_sse2): Likewise.
11746         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11747         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11748         (__strcasecmp_sse2): Likewise.
11749         (__strncasecmp_sse2): Likewise.
11750         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11751         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11752         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11753         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11754         (__strrchr_sse2): Likewise.
11755         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11756         ifunc-impl-list.c.
11757         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11758         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11759         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11760         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11761         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11762         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11763         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11764         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11765         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11766         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11767         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11768         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11769         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11770         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11771         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11772         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11773         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11774         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11775         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11776         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11777         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11778         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11779         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11780         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11781         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11782         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11783         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11784         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11785         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11786         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11788         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11789         global and hidden.
11790         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11791         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11792         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11793         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11794         Likewise.
11795         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11796         Likewise.
11797         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11798         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11799         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11800         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11801         ifunc-impl-list.c.
11802         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11803         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11804         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11805         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11806         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11807         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11808         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11809         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11810         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11811         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11812         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11813         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11814         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11815         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11816         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11817         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11818         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11819         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11820         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11821         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11822         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11823         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11824         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11825         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11826         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11827         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11828         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11829         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11830         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11831         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11832         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11833         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11834         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11835         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11836         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11837         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11838         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11839         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11840         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11841         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11842         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11844         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11845         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11846         * include/ifunc-impl-list.h: New file.
11847         * misc/ifunc-impl-list.c: Likewise.
11848         * misc/Makefile (routines): Add ifunc-impl-list.
11849         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11850         * string/test-string.h: Include <ifunc-impl-list.h>.
11851         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11852         impl_array): New variables.
11853         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11854         are defined.
11855         (test_init): Call __libc_ifunc_impl_list to initialize
11856         func_list if TEST_IFUNC and TEST_NAME are defined.
11858         * string/Makefile (strop-tests): Add bcopy and bzero.
11859         * string/test-bcopy.c: New file.
11860         * string/test-bzero.c: Likewise.
11861         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11862         defined.
11863         * string/test-memset.c: Support bzero test if TEST_BZERO is
11864         defined.
11865         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11866         __libc_memmove.
11867         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11868         __libc_memset.
11869         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11870         of memset.
11872 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
11874         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11875         * configure: Regenerated.
11877         * Makeconfig (+link-static-before-libc): Don't include
11878         $(link-static-libc).
11880         * libio/libio.h (_IO_pos_t): Remove.
11882 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
11884         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
11885         McGrath.
11887 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
11889         * crypt/crypt-entry.c: Include fips-private.h.
11890         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11891         * crypt/md5c-test.c (main): Tolerate disabled MD5.
11892         * sysdeps/unix/sysv/linux/fips-private.h: New file.
11893         * sysdeps/generic/fips-private.h: New file, dummy fallback.
11895 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
11897         * crypt/crypt-private.h: Include stdbool.h.
11898         (_ufc_setup_salt_r): Return bool.
11899         * crypt/crypt-entry.c: Include errno.h.
11900         (__crypt_r): Return NULL with EINVAL for bad salt.
11901         * crypt/crypt_util.c (bad_for_salt): New.
11902         (_ufc_setup_salt_r): Check that salt is long enough and within
11903         the specified alphabet.
11904         * crypt/badsalttest.c: New file.
11905         * crypt/Makefile (tests): Add it.
11906         ($(objpfx)badsalttest): New.
11908 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
11910         * NEWS: Add entry for BZ #14602.
11912 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
11914         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11915         type-generic.
11916         * math/libm-test.inc: Update comment listing what functions and
11917         macros are tested.
11918         (isgreater_test): New function.
11919         (isgreaterequal_test): Likewise.
11920         (isless_test): Likewise.
11921         (islessequal_test): Likewise.
11922         (islessgreater_test): Likewise.
11923         (isunordered_test): Likewise.
11924         (main): Call the new functions.
11926 2012-10-09  Roland McGrath  <roland@hack.frob.com>
11928         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11929         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11930         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11931         * sysdeps/i386/configure: Regenerated.
11932         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11933         * sysdeps/mach/configure: Regenerated.
11934         * sysdeps/mach/hurd/configure: Regenerated.
11935         * sysdeps/powerpc/configure: Regenerated.
11936         * sysdeps/powerpc/powerpc32/configure: Regenerated.
11937         * sysdeps/powerpc/powerpc64/configure: Regenerated.
11938         * sysdeps/s390/s390-32/configure: Regenerated.
11939         * sysdeps/s390/s390-64/configure: Regenerated.
11940         * sysdeps/sh/configure: Regenerated.
11941         * sysdeps/sparc/configure: Regenerated.
11942         * sysdeps/unix/sysv/linux/configure: Regenerated.
11943         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11944         * sysdeps/x86_64/configure: Regenerated.
11946         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11947         defined.  Don't check if MAP is NULL.
11949 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
11951         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11952         (_G_stat64): Likewise.
11953         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11954         (_G_stat64): Likewise.
11955         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11956         instead of struct _G_stat64.
11957         * libio/fileops.c (mmap_remap_check): Likewise.
11958         (decide_maybe_mmap): Likewise.
11959         (_IO_new_file_seekoff): Likewise.
11960         (_IO_file_stat): Likewise.
11961         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11962         _G_off64_t.
11963         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11964         instead of struct _G_stat64.
11965         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11967 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
11969         [BZ #14602]
11970         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11971         Replace with ...
11972         (CHECK_EOL): New macro.
11973         (two_way_short_needle): Check beginning of haystack for EOL.  Use
11974         CHECK_EOL.
11975         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11976         Replace with CHECK_EOL.
11977         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11978         Replace with CHECK_EOL.
11980 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
11982         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11983         type-generic.
11984         * math/libm-test.inc: Update comment listing what functions and
11985         macros are tested.
11986         (finite_test): New function.
11987         (isinf_test): Likewise.
11988         (isnan_test): Likewise.
11989         (fpclassify_test): Test subnormal input.
11990         (isfinite_test): Likewise.
11991         (isnormal_test): Likewise.
11992         (main): Call the new functions.
11994 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
11996         [BZ #14660]
11997         * Makerules (%.dynsym): Force C locale when running
11998         $(OBJDUMP) --dynamic-syms.
12000 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
12002         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12003         <stdint.h>.
12005 2012-10-06  David S. Miller  <davem@davemloft.net>
12007         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12008         upper 32-bits of the length value in %o2 since we use branch-on-register
12009         tests which consider the entire 64-bit register.
12011 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
12013         * string/test-strstr.c (check2): Add a test for page boundary.
12015 2012-10-05  David S. Miller  <davem@davemloft.net>
12017         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12018         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12019         file.
12020         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12021         sysdep_routines.
12022         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12023         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12024         and bzero when HWCAP_SPARC_CRYPTO is present.
12026 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
12028         [BZ #14602]
12029         * string/test-strstr.c (check2): New function.
12030         (test_main): Call check2.
12032         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12033         and bug-strchr1.
12034         * string/bug-strcasestr1.c (do_test): Moved to ...
12035         * string/test-strcasestr.c (check1): Here.  New function.
12036         (do_one_test): Break out result checking code into ...
12037         (check_result): This.  New function.
12038         (do_one_test): Call check_result.
12039         (test_main): Call check1.
12040         * string/bug-strchr1.c (do_test): Moved to ...
12041         * string/test-strchr.c (check1): Here.  New function.
12042         (do_one_test): Break out result checking code into ...
12043         (check_result): This.  New function.
12044         (do_one_test): Call check_result.
12045         (test_main): Call check1.
12046         * string/bug-strstr1.c (main): Moved to ...
12047         * string/test-strstr.c (check1): Here.  New function.
12048         (do_one_test): Break out result checking code into ...
12049         (check_result): This.  New function.
12050         (do_one_test): Call check_result.
12051         (test_main): Call check1.
12052         * string/bug-strcasestr1.c: Removed.
12053         * string/bug-strchr1.c: Likewise.
12054         * string/bug-strstr1.c: Likewise.
12056         * elf/Makefile (dl-routines): Add hwcaps.
12057         * elf/dl-support.c (_dl_important_hwcaps): Removed.
12058         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12059         (_dl_important_hwcaps): Moved to ...
12060         * elf/dl-hwcaps.c: Here.  New file.
12061         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12063         [BZ #14557]
12064         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12065         if IS_IN_rtld isn't defined.
12067         * elf/dl-support.c (_dl_sysinfo_map): New.
12068         Include "get-dynamic-info.h" and "setup-vdso.h".
12069         (_dl_non_dynamic_init): Call setup_vdso.
12070         * elf/dynamic-link.h: Don't include <assert.h>.
12071         (elf_get_dynamic_info): Moved to ...
12072         * elf/get-dynamic-info.h: Here.  New file.
12073         * elf/dynamic-link.h: Include "get-dynamic-info.h".
12074         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12075         * elf/setup-vdso.h: Here.  New file.
12076         * elf/rtld.c: Include "setup-vdso.h".
12077         (dl_main): Call setup_vdso.
12079 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
12081         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12082         creal in comment listing functions tested.  List finite, isinf,
12083         isnan, isless, islessequal, isgreater, isgreaterequal,
12084         islessgreater, isunordered, lgamma_r and pow10 as functions and
12085         macros not tested.  Mention which functions not tested are aliases
12086         for other functions.  Fix typo.  Note that signs of NaNs are not
12087         tested.
12089         * scripts/config.guess: Update from config.git.
12090         * scripts/config.sub: Likewise.
12092 2012-10-04  Roland McGrath  <roland@hack.frob.com>
12094         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12095         * misc/madvise.c (madvise): Renamed to __madvise.
12096         Make madvise a weak alias.
12097         * include/sys/mman.h: Declare __madvise.
12098         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12099         * sysdeps/unix/syscalls.list
12100         (madvise): Make __madvise the strong name, and madvise a weak alias.
12101         * sysdeps/unix/sysv/linux/syscalls.list
12102         (madvise, mmap): Remove redundant entries.
12103         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12104         * malloc/malloc.c (mtrim): Likewise.
12105         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12107 2012-10-03  Roland McGrath  <roland@hack.frob.com>
12109         * sysdeps/mach/hurd/dl-cache.c: File removed.
12110         * config.h.in (USE_LDCONFIG): New #undef.
12111         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12112         * configure: Regenerated.
12113         * elf/Makefile (dl-routines): Add dl-cache only under
12114         [$(use-ldconfig) = yes].
12115         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12116         cache on [USE_LDCONFIG].
12117         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12118         [USE_LDCONFIG].
12119         * elf/rtld.c (dl_main): Likewise.
12121 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
12123         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12124         _SC_LEVEL4_CACHE_LINESIZE.
12126 2012-10-03  Roland McGrath  <roland@hack.frob.com>
12128         * sysdeps/unix/bsd/confstr.h: File removed.
12130 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
12132         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12133         sys/sdt-config.h.
12135 2012-10-02  Roland McGrath  <roland@hack.frob.com>
12137         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12138         Make 'mapoff' field ElfW(Off) rather than off_t.
12140 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
12142         * nscd/Makefile: Remove nscd-cflags and all its users.
12143         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12144         (CFLAGS-nonlib): Add compiler flags for nscd modules.
12146         [BZ #10631]
12147         * malloc.c (malloc_printerr): Clarify error message.
12149 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
12151         [BZ #14648]
12152         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12153         Set bit_FMA_Usable if FMA is supported.
12154         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12155         macro.
12156         (bit_FMA4_Usable): Updated.
12157         (index_FMA_Usable): New macro.
12158         (CPUID_FMA): Likewise
12159         (HAS_FMA): Defined with bit_FMA_Usable.
12161 2012-10-01  Roland McGrath  <roland@hack.frob.com>
12163         * bits/types.h (__swblk_t): Type removed.
12164         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12165         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12166         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12167         (__SWBLK_T_TYPE): Likewise.
12168         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12169         (__SWBLK_T_TYPE): Likewise.
12170         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12171         (__SWBLK_T_TYPE): Likewise.
12172         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12173         (__SWBLK_T_TYPE): Likewise.
12175 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
12176             Honza Horak <hhorak@redhat.com>
12178         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12179         (xdr_mapname): Use YPMAXMAP as maxsize.
12180         (xdr_peername): Use YPMAXPEER as maxsize.
12181         (xdr_keydat): Use YPAXRECORD as maxsize.
12182         (xdr_valdat): Use YPMAXRECORD as maxsize.
12184 2012-10-01  Roland McGrath  <roland@hack.frob.com>
12186         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12188         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12189         * csu/init-first.c: ... here.
12190         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12191         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12192         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12193         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12194         * sysdeps/i386/init-first.c: File removed.
12195         * sysdeps/sh/init-first.c: File removed.
12197 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
12199         [BZ #14645]
12200         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12201         if x * y might underflow to zero and z is zero.
12202         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12203         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12204         * math/libm-test.inc (min_subnorm_value): New variable.
12205         (fma_test): Add more tests.
12206         (fma_test_towardzero): Likewise.
12207         (fma_test_downward): Likewise
12208         (fma_test_upward): Likewise.
12209         (initialize): Set min_subnorm_value.
12211 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
12213         [BZ #14638]
12214         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12215         0 + 0.
12216         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12217         mode for addition resulting in exact zero.
12218         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12219         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12220         exact 0 + 0.
12221         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12222         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12223         * math/libm-test.inc (fma_test): Add more tests.
12224         (fma_test_towardzero): New function.
12225         (fma_test_downward): Likewise.
12226         (fma_test_upward): Likewise.
12227         (main): Call the new functions.
12229 2012-09-28  David S. Miller  <davem@davemloft.net>
12231         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12233 2012-09-28  Roland McGrath  <roland@hack.frob.com>
12235         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12236         instead of SIGALRM.
12238         * sysdeps/gnu/_G_config.h: Moved to ...
12239         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12240         * sysdeps/mach/hurd/_G_config.h: Moved to ...
12241         * sysdeps/generic/_G_config.h: ... here.
12243         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
12245         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12247         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12248         Conditionalize target on [libnss_test1.so-version].
12250         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12252         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12253         (elfobjdir): Move out of conditionals.
12255         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12256         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12257         (__nss_lookup_function): Conditionalize label remove_from_tree on
12258         [!DO_STATIC_NSS || SHARED], matching its only use.
12260 2012-09-28  David S. Miller  <davem@davemloft.net>
12262         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12263         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12264         file.
12265         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12266         sysdep_routines.
12267         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12268         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12269         when HWCAP_SPARC_CRYPTO is present.
12271 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
12273         * io/tst-mknodat.c: Create a FIFO instead of a socket.
12275 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
12277         [BZ #6530]
12278         * stdio-common/vfprintf.c (process_string_arg): Revert
12279         2000-07-22 change.
12281 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
12283         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12284         for testcase.
12285         * stdio-common/tst-sprintf.c: Include <locale.h>
12286         (main): Test sprintf's handling of incomplete multibyte
12287         characters.
12289 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
12291         * elf/dl-runtime.c (VERSYMIDX): Removed.
12292         * elf/dl-version.c (VERSYMIDX): Likewise.
12293         * elf/do-rel.h (VERSYMIDX): Likewise.
12294         (VALIDX): Likewise.
12295         * elf/dynamic-link.h (VERSYMIDX): Likewise.
12296         * elf/rtld.c (VALIDX): Likewise.
12297         (ADDRIDX): Likewise.
12298         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12299         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12300         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
12301         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12302         (VALIDX): Likewise.
12303         (ADDRIDX): Likewise.
12305 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
12307         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12309 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
12311         [BZ #11438]
12312         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12313         to global scope.
12314         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12315         addresses are in the same scope as 192.0.2/24.
12316         * posix/gai.conf: Document new scope table defaults.
12318 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12320         [BZ #5298]
12321         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12322         for ftell.  Compute offsets from write pointers instead.
12323         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12325 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12327         [BZ #14543]
12328         * libio/Makefile (tests): New test case tst-fseek.
12329         * libio/tst-fseek.c: New test case to verify that fseek/ftell
12330         combination works in wide mode.
12331         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12332         state when the external buffer state changes.
12334 2012-09-27  David S. Miller  <davem@davemloft.net>
12336         [BZ #14376]
12337         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12338         pass reloc->r_addend in as the 'high' argument to
12339         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12341         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12343 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
12345         * rt/tst-aio2.c: Include <pthread.h>.
12346         * rt/tst-aio3.c: Likewise.
12348 2012-09-27  Steve Ellcey  <sellcey@mips.com>
12350         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12352 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
12354         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12355         contents on [SHARED].
12357 2012-09-26  Marek Polacek  <polacek@redhat.com>
12359         [BZ #14530]
12360         [BZ #13741]
12361         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12362         for C++ and GCC <4.3 as well as for non GCC compilers.
12364 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
12366         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12368 2012-09-25  Roland McGrath  <roland@hack.frob.com>
12370         * Makefile.in (all, install): Declare with .PHONY.
12371         Reported by Michael Hope <michael.hope@linaro.org>.
12373 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12375         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12376         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12377         system header.
12378         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12379         Likewise.
12380         (sydep_routines): Add the new and the internal functions.
12381         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12382         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12384         (GLIBC_2.17): Add the new function.
12385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12386         (GLIBC_2.17): Likewise.
12387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12388         (GLIBC_2.17): Likewise.
12389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12390         (GLIBC_2.17): Likewise.
12391         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12393 2012-09-25  Alan Modra  <amodra@gmail.com>
12395         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12396         Add release barrier before setting once_control to say
12397         initialisation is done.  Add hints on lwarx.  Use macro in
12398         place of isync.
12399         (clear_once_control): Add release barrier.
12401 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
12403         [BZ #13629]
12404         * math/s_clog.c (__clog): Handle more values close to |z| = 1
12405         specially.
12406         * math/s_clog10.c (__clog10): Likewise.
12407         * math/s_clog10f.c (__clog10f): Likewise.
12408         * math/s_clog10l.c (__clog10l): Likewise.
12409         * math/s_clogf.c (__clogf): Likewise.
12410         * math/s_clogl.c (__clogl): Likewise.
12411         * math/Makefile (libm-calls): Add x2y2m1.
12412         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12413         (__x2y2m1): Likewise.
12414         (__x2y2m1l): Likewise.
12415         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12416         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12417         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12418         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12419         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12420         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12421         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12422         * sysdeps/i386/fpu/libm-test-ulps: Update.
12423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12425         [BZ #14621]
12426         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12427         int as type of variable DEPTH.
12428         (glob): Use size_t instead of int as type of variables NEWCOUNT
12429         and OLD_PATHC.
12431 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12433         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12434         Add s_sincosf-sse2.
12435         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12436         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12437         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12438         macros for using routine as __sincosf_ia32.
12439         Use macro for function declaration and weak_alias.
12440         * sysdeps/i386/fpu/libm-test-ulps: Update.
12442         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12443         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12445         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
12446         subnormal argument.
12447         * math/s_cexpf.c (__cexpf): Likewise.
12448         * math/s_csinf.c (__csinf): Likewise.
12449         * math/s_csinhf.c (__csinhf): Likewise.
12450         * math/s_ctanf.c (__ctanf): Likewise.
12451         * math/s_ctanhf.c (__ctanhf): Likewise.
12452         * math/s_ccosh.c (__ccoshf): Likewise.
12453         * math/s_cexp.c (__cexpl): Likewise.
12454         * math/s_csin.c (__csin): Likewise.
12455         * math/s_csinh.c (__csinh): Likewise.
12456         * math/s_ctan.c (__ctan): Likewise.
12457         * math/s_ctanh.c (ctanh): Likewise.
12458         * math/s_ccoshl.c (__ccoshl): Likewise.
12459         * math/s_cexpl.c (__cexpl): Likewise.
12460         * math/s_csinl.c (__csinl): Likewise.
12461         * math/s_csinhl.c (__csinhl): Likewise.
12462         * math/s_ctanl.c (__ctanl): Likewise.
12463         * math/s_ctanhl.c (__ctanhl): Likewise.
12465 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
12467         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12468         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12469         (_IO_off_t): Define to __off_t, not _G_off_t.
12470         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12471         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12472         (_IO_wint_t): Define to wint_t, not _G_wint_t.
12473         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12474         type of __dummy and __dummy2 fields.
12475         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12476         (_G_ssize_t): Likewise.
12477         (_G_off_t): Likewise.
12478         (_G_pid_t): Likewise.
12479         (_G_uid_t): Likewise.
12480         (_G_wchar_t): Likewise.
12481         (_G_wint_t): Likewise.
12482         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12483         (_G_ssize_t): Likewise.
12484         (_G_off_t): Likewise.
12485         (_G_pid_t): Likewise.
12486         (_G_uid_t): Likewise.
12487         (_G_wchar_t): Likewise.
12488         (_G_wint_t): Likewise.
12489         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12490         (_G_ssize_t): Likewise.
12491         (_G_off_t): Likewise.
12492         (_G_pid_t): Likewise.
12493         (_G_uid_t): Likewise.
12494         (_G_wchar_t): Likewise.
12495         (_G_wint_t): Likewise.
12497 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12499         * malloc/arena.c: Include malloc-sysdep.h.
12500         (shrink_heap): Use check_may_shrink_heap to decide if madvise
12501         is sufficient to shrink the heap or an unmap is needed.
12502         * sysdeps/generic/malloc-sysdep.h: New file.  Define
12503         new function check_may_shrink_heap.
12504         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
12505         new function check_may_shrink_heap.
12507 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12509         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12510         comments.
12512 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
12514         * catgets/test-gencat.sh: Add "set -e".
12515         * elf/tst-pathopt.sh: Likewise.
12516         * grp/tst_fgetgrent.sh: Likewise.
12517         * iconvdata/run-iconv-test.sh: Likewise.
12518         * intl/tst-gettext.sh: Likewise.
12519         * intl/tst-gettext2.sh: Likewise.
12520         * intl/tst-gettext4.sh: Likewise.
12521         * intl/tst-gettext6.sh: Likewise.
12522         * intl/tst-translit.sh: Likewise.
12523         * io/ftwtest-sh: Likewise.
12524         * libio/test-freopen.sh: Likewise.
12525         * malloc/tst-mtrace.sh: Likewise.
12526         * posix/globtest.sh: Likewise.
12527         * posix/tst-getconf.sh: Likewise.
12528         * posix/wordexp-tst.sh: Likewise.
12529         * stdio-common/tst-printf.sh: Likewise.
12530         * stdio-common/tst-unbputc.sh: Likewise.
12531         * stdlib/tst-fmtmsg.sh: Likewise.
12532         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12533         * catgets/Makefile: Do not specify -e option when running
12534         testsuite shell scripts.
12535         * elf/Makefile: Likewise.
12536         * grp/Makefile: Likewise.
12537         * iconvdata/Makefile: Likewise.
12538         * intl/Makefile: Likewise.
12539         * io/Makefile: Likewise.
12540         * libio/Makefile: Likewise.
12541         * malloc/Makefile: Likewise.
12542         * posix/Makefile: Likewise.
12543         * stdio-common/Makefile: Likewise.
12544         * stdlib/Makefile: Likewise.
12545         * sysdeps/x86_64/Makefile: Likewise.
12547         * io/ftwtest-sh: Add copyright header.
12548         * posix/globtest.sh: Likewise.
12549         * posix/tst-getconf.sh: Likewise.
12550         * posix/wordexp-tst.sh: Likewise.
12551         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12553 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
12555         [BZ #13679]
12556         * Makeconfig (+link): Defined as $(+link-static) if
12557         $(build-shared) isn't yes.
12558         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12559         isn't yes.
12560         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12562         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12564         [BZ #14562]
12565         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12566         new chunk size with MALLOC_ALIGN_MASK.
12568 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
12570         [BZ #5044]
12571         * stdio-common/printf_fphex.c: Include <stdbool.h> and
12572         <rounding-mode.h>.
12573         (__printf_fphex): Determine rounding using get_rounding_mode and
12574         round_away.
12575         * stdio-common/tst-printf-round.c (struct hex_test): New
12576         structure.
12577         (hex_tests): New variable.
12578         (test_hex_in_one_mode): New function.
12579         (do_test): Also run tests for hex float output.
12581 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
12583         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12584         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12585         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12586         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12587         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12588         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12589         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12590         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12592 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
12594         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12595         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12596         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12597         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12599 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
12601         [BZ #14579]
12602         * elf/rtld.c (dl_main): Limit the check for self loading to normal
12603         mode only.
12604         * elf/tst-rtld-load-self.sh: New test.
12605         * elf/Makefile: Run it.
12607 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
12609         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12610         (tst-writev-ENV): Remove.
12611         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12613 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
12615         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12617 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
12619         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12620         unconditional.
12621         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12622         Likewise.
12623         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12624         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12625         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12626         Likewise.
12628 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
12630         [BZ #14587]
12631         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12632         * config.make.in (have-cpp-asm-debuginfo): Removed.
12633         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12634         * configure: Regenerated.
12636 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
12638         [BZ #5044]
12639         * stdio-common/printf_fp.c: Include <stdbool.h> and
12640         <rounding-mode.h>.
12641         (___printf_fp): Determine rounding using get_rounding_mode and
12642         round_away.
12643         * stdio-common/tst-printf-round.c: New file.
12644         * stdio-common/Makefile (tests): Add tst-printf-round.
12645         (link-libm): New variable.
12646         ($(objpfx)tst-printf-round): Depend in $(link-libm).
12648 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
12650         [BZ #14576]
12651         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12652         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12653         Likewise.
12654         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12655         Likewise.
12657 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
12659         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12660         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12661         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12662         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12664 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
12666         [BZ #14518]
12667         * include/rounding-mode.h: New file.
12668         * sysdeps/generic/get-rounding-mode.h: Likewise.
12669         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12670         * stdlib/strtod_l.c: Include <rounding-mode.h>.
12671         (MAX_VALUE): New macro.
12672         (MIN_VALUE): Likewise.
12673         (overflow_value): New function.
12674         (underflow_value): Likewise.
12675         (round_and_return): Use overflow_value and underflow_value to
12676         determine return values in overflow and underflow cases.  Use
12677         round_away to determine rounding depending on rounding mode.
12678         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12679         determine return values in overflow and underflow cases.
12680         * stdlib/tst-strtod-round.c: Include <fenv.h>.
12681         (struct test_results): New structure.
12682         (struct test): Use struct test_results to store expected results
12683         for all rounding modes.
12684         (TEST): Include expected results for all rounding modes.
12685         (test_in_one_mode): New function.
12686         (do_test): Use test_in_one_mode to compute and check results.
12687         Check results for all rounding modes.
12688         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12689         $(link-libm).
12691 2012-12-09  Allan McRae  <allan@archlinux.org>
12693         * sysdeps/i386/fpu/libm-test-ulps: Update
12695 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
12697         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12698         (_G_int32_t): Likewise.
12699         (_G_uint16_t): Likewise.
12700         (_G_uint32_t): Likewise.
12701         (_G_HAVE_BOOL): Likewise.
12702         (_G_HAVE_ATEXIT): Likewise.
12703         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12704         (_G_HAVE_IO_FILE_OPEN): Likewise.
12705         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12706         (_G_int32_t): Likewise.
12707         (_G_uint16_t): Likewise.
12708         (_G_uint32_t): Likewise.
12709         (_G_HAVE_BOOL): Likewise.
12710         (_G_HAVE_ATEXIT): Likewise.
12711         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12712         (_G_HAVE_IO_FILE_OPEN): Likewise.
12713         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12714         (_G_int32_t): Likewise.
12715         (_G_uint16_t): Likewise.
12716         (_G_uint32_t): Likewise.
12717         (_G_HAVE_BOOL): Likewise.
12718         (_G_HAVE_ATEXIT): Likewise.
12719         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12720         (_G_HAVE_IO_FILE_OPEN): Likewise.
12722 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
12724         * csu/libc-tls.c: Update copyright years.
12726 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
12728         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12729         [!_G_USING_THUNKS]: Remove conditional code.
12730         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12731         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12733         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12734         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12735         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12736         (_G_VTABLE_LABEL_PREFIX): Likewise.
12737         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12738         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12739         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12740         (_G_VTABLE_LABEL_PREFIX): Likewise.
12741         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12742         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12743         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12744         (_G_VTABLE_LABEL_PREFIX): Likewise.
12745         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12747 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
12749         * libio/Makefile: Include ../Makeconfig before tests.
12750         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12751         only if $(build-shared) is yes.
12753         * iconv/gconv_db.c: Update copyright years.
12755 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12757         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12758         unwind info if defined PIC. Fix special cases description.
12759         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12761         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12762         DP_HI_MASK entry.
12763         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12765 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
12767         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12769         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12770         is NULL.
12772         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12773         (LDLIBS-tst-chk4): This.
12774         (LDFLAGS-tst-chk5): Renamed to ...
12775         (LDLIBS-tst-chk5): This.
12776         (LDFLAGS-tst-chk6): Renamed to ...
12777         (LDLIBS-tst-chk6): This.
12778         (LDFLAGS-tst-lfschk4): Renamed to ...
12779         (LDLIBS-tst-lfschk4): This.
12780         (LDFLAGS-tst-lfschk5): Renamed to ...
12781         (LDLIBS-tst-lfschk5): This.
12782         (LDFLAGS-tst-lfschk6): Renamed to ...
12783         (LDLIBS-tst-lfschk6): This.
12785         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12786         on $(common-objpfx)soversions.mk.
12788 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
12790         [BZ #10014]
12791         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12792         example host name.
12794 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12796         * malloc/arena.c (arena_get_retry): New function that gets
12797         another arena for the caller to try its request on.
12798         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12799         current arena cannot fulfill the request.
12800         (__libc_memalign): Likewise.
12801         (__libc_memalign): Likewise.
12802         (__libc_pvalloc): Likewise.
12803         (__libc_calloc): Likewise.
12805 2012-09-05  John Tobey  <john.tobey@gmail.com>
12807         [BZ #13542]
12808         * manual/arith.texi (Operations on Complex): Fix description
12809         of carg branch cut.
12811 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
12813         [BZ #10014]
12814         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12815         host name.
12817         [BZ #10038]
12818         * manual/memory.texi (Memory): Make order of menu items match
12819         order of sections.
12821 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12823         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12824         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
12825         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12827 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12829         * csu/libc-tls.c (static_dtv): Renamed to ...
12830         (_dl_static_dtv): This.  Make it global.
12831         (_dl_initial_dtv): Removed.
12832         (__libc_setup_tls): Updated.
12833         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12834         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12835         DL_INITIAL_DTV.
12837 2012-09-06  Petr Machata  <pmachata@redhat.com>
12839         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12840         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12841         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12842         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12844 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12846         [BZ #14545]
12847         * csu/libc-tls.c (_dl_initial_dtv): New variable.
12848         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12849         freeing dtv[-1].
12851 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12853         [BZ #14544]
12854         * Makeconfig (link-static-before-libc): Replace $(+prector)
12855         with $(+prectorT).
12856         (link-static-after-libc): Replace $(+postctor) with
12857         $(+postctorT).
12858         (link-bounded): Replace $(+prector)/$(+postctor) with
12859         $(+prectorT)/$(+postctorT).
12860         (+prectorT): New macro.
12861         (+postctorT): Likewise.
12863 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
12865         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12866         (round_str): Handle values above the maximum for IBM long double
12867         as inexact.
12868         * stdlib/tst-strtod-round.c (tests): Regenerated.
12870 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12872         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12873         assembler flag.
12874         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12875         zarch_nohighgprs around the zarch optimized routines.
12876         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12877         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12878         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12879         for zarch.
12881 2012-09-05  David S. Miller  <davem@davemloft.net>
12883         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12885         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12886         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12887         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12888         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12889         entries.
12891 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12893         * malloc/arena.c: Fold copyright years.
12894         * malloc/mcheck.c, malloc/memusage.c: Likewise.
12896 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12898         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12900 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12902         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
12904 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12906         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12907         change internal state upon failure.
12909 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12911         * malloc/mcheck.c (mcheck_check_all): Fix typo.
12912         * malloc/memusage.c (mmap): Likewise.
12913         (mmap64, mremap): Likewise.  Adjust name in comment.
12915 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12917         * libio/fileops.c: Fix typos in comments.
12918         * libio/oldfileops.c: Likewise.
12919         * libio/wfileops.c: Likewise.
12921 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12923         [BZ #1349]
12924         * malloc/Makefile (tests): Add tst-malloc-usable test case.
12925         (tst-malloc-usable-ENV): Set environment for test case.
12926         * malloc/hooks.c (malloc_check_get_size): New function to get
12927         requested size.
12928         * malloc/malloc.c (musable): Use malloc_check_get_size.
12929         * malloc/tst-malloc-usable.c: New test case.
12931 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
12933         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12935 2012-09-05  Allan McRae  <allan@archlinux.org>
12937         [BZ #13966]
12938         * configure.in (CXX_SYSINCLUDES): Use compiler output to
12939         determine header location.
12940         * configure: Regenerated.
12942 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
12944         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12945         float format.
12946         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
12947         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12948         format.
12949         (test): Regenerate.
12951 2012-09-04  David S. Miller  <davem@davemloft.net>
12953         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12954         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12955         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12957 2012-09-04  Florian Weimer  <fweimer@redhat.com>
12959         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12960         failures.
12962         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12964 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
12966         [BZ #9914]
12967         * libio/iogetdelim.c: Include <limits.h>.
12968         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12969         + len + 1 would overflow.
12971 2012-09-03  Andreas Jaeger  <aj@suse.de>
12973         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12974         * sysdeps/i386/fpu/libm-test-ulps: Update.
12976 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12978         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12979         Add s_sinf-sse2, s_conf-sse2.
12981         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12982         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12983         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12984         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12986         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12987         for using routine as __sinf_ia32.
12988         Use macro for function declaration and weak_alias.
12989         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12990         for using routine as __cosf_ia32.
12991         Use macro for function declaration and weak_alias.
12993         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12994         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12996         * sysdeps/x86_64/fpu/s_sinf.S: New file.
12997         * sysdeps/x86_64/fpu/s_cosf.S: New file.
12998         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13000         * math/libm-test.inc (cos_test): Add more test cases.
13001         (sin_test): Likewise.
13002         (sincos_test): Likewise.
13004 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13006         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13007         (IFUNC_RESOLVE): Make pointers to the specialized implementations
13008         hidden.
13009         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13011 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
13013         [BZ #14538]
13014         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13015         first element of the GOT.
13016         (elf_machine_load_address): Return the difference between
13017         the runtime address of _DYNAMIC and elf_machine_dynamic ().
13019 2012-09-01  Allan McRae  <allan@archlinux.org>
13021         [BZ #13412]
13022         * configure.in (AWK): Require gawk version 3.0 or later.
13023         * configure: Regenerated.
13025 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
13027         * sysdeps/unix/sysv/linux/kernel-features.h
13028         (__ASSUME_POSIX_CPU_TIMERS): Remove.
13029         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13030         [__NR_clock_getres]: Make code unconditional.
13031         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13032         (clock_getcpuclockid): Remove code left unreachable by removal of
13033         conditionals.
13034         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13035         code unconditional.
13036         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13037         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13038         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13039         Make code unconditional.
13040         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13041         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13042         * sysdeps/unix/sysv/linux/clock_settime.c
13043         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13044         conditional code.
13045         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13046         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13048 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
13050         [BZ #14476]
13051         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13052         scripts/test-installation.pl.
13054         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13055         and $ld_so_version if it is set.
13057 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13059         [BZ #14516]
13060         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13061         failure if reading from procfs failed.
13062         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13064 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
13066         * sysdeps/unix/sysv/linux/kernel-features.h
13067         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13068         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13069         Remove conditional code.
13070         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13071         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13072         Remove conditional code.
13073         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13074         * sysdeps/unix/sysv/linux/i386/fxstat.c
13075         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13076         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13077         * sysdeps/unix/sysv/linux/i386/fxstatat.c
13078         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13079         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13080         * sysdeps/unix/sysv/linux/i386/lxstat.c
13081         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13082         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13083         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13084         Remove conditional code.
13085         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13086         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13087         Remove conditional code.
13088         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13089         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13090         <kernel-features.h>.
13091         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13092         Remove.
13093         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13094         Remove conditional code.
13095         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13096         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13097         Remove conditional.
13099 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
13101         [BZ #5400]
13102         * NEWS: Add fixed bug number.
13104 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
13106         [BZ #14519]
13107         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13108         underflowing exponent in case of negative sign.
13109         * stdlib/tst-strtod-round-data: Add more tests.
13110         * stdlib/tst-strtod-round.c (tests): Regenerated.
13112         [BZ #3479]
13113         * stdlib/strtod_l.c (NDIG): Remove.
13114         (HEXNDIG): Likewise.
13115         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13116         smallest representable value.
13117         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13118         lie within an exact representation of 1/2 ulp of the result.
13119         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13120         unconditionally.
13121         (TENS_P9_IDX): Define unconditionally.
13122         (TENS_P9_SIZE): Likewise.
13123         (TENS_P10_IDX): Likewise.
13124         (TENS_P10_SIZE): Likewise.
13125         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13126         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13127         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13128         entries for 10^2^13 and 10^2^14.
13129         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13130         (TENS_P13_IDX): Define.
13131         (TENS_P13_SIZE): Likewise.
13132         (TENS_P14_IDX): Likewise.
13133         (TENS_P14_SIZE): Likewise.
13134         (_fpioconst_pow10): Change array size to
13135         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
13136         unconditional.
13137         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13138         1024]: Add entries for 10^2^13 and 10^2^14.
13139         [LAST_POW10 > _LAST_POW10]: Remove #error.
13140         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13141         (_fpioconst_pow10): Change array size to
13142         FPIOCONST_POW10_ARRAY_SIZE.
13143         * stdlib/gen-fpioconst.c: New file.
13144         * stdlib/gen-tst-strtod-round.c: Likewise.
13145         * stdlib/tst-strtod-round-data: Likewise.
13146         * stdlib/tst-strtod-round.c: Likewise.
13147         * stdlib/Makefile (tests): Add tst-strtod-round.
13149         [BZ #14459]
13150         * stdlib/strtod_l.c: Include <stdint.h>.
13151         (NDEBUG): Do not define.
13152         (round_and_return): Change EXPONENT parameter to type intmax_t.
13153         Rearrange calculations to avoid internal overflow possibilities.
13154         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13155         Rearrange calculations to avoid internal overflow possibilities.
13156         Assert that number fits inside MPNSIZE limbs.
13157         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13158         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
13159         calculations and add assertions to avoid internal overflow
13160         possibilities.  Add casts to avoid signed/unsigned operations.
13161         * stdlib/tst-strtod-overflow.c: New file.
13162         * stdlib/Makefile (tests): Add tst-strtod-overflow.
13164 2012-08-25  Marek Polacek  <polacek@redhat.com>
13166         * time/time.h: Fix some typos in comments.
13168 2012-08-23  Roland McGrath  <roland@hack.frob.com>
13170         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13171         * posix/tst-rfc3484-2.c: Likewise.
13172         * posix/tst-rfc3484-3.c: Likewise.
13174 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
13176         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13177         (EF_ARM_ABI_FLOAT_HARD): Likewise.
13179 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
13181         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13182         #include of fxstatat64.c.
13184 2012-08-22  Roland McGrath  <roland@hack.frob.com>
13186         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13187         * shadow/getspent_r.c: Likewise.
13188         * shadow/getspnam.c: Likewise.
13189         * shadow/getspnam_r.c: Likewise.
13190         * gshadow/getsgent.c: Likewise.
13191         * gshadow/getsgent_r.c: Likewise.
13192         * gshadow/getsgnam.c: Likewise.
13193         * gshadow/getsgnam_r.c: Likewise.
13194         * inet/getnetbyad.c: Likewise.
13195         * inet/getnetbyad_r.c: Likewise.
13196         * inet/getnetbynm.c: Likewise.
13197         * inet/getnetbynm_r.c: Likewise.
13198         * inet/getnetent.c: Likewise.
13199         * inet/getnetent_r.c: Likewise.
13200         * inet/getproto.c: Likewise.
13201         * inet/getproto_r.c: Likewise.
13202         * inet/getprtent.c: Likewise.
13203         * inet/getprtent_r.c: Likewise.
13204         * inet/getprtname.c: Likewise.
13205         * inet/getprtname_r.c: Likewise.
13206         * inet/getrpcbyname.c: Likewise.
13207         * inet/getrpcbyname_r.c: Likewise.
13208         * inet/getrpcbynumber.c: Likewise.
13209         * inet/getrpcbynumber_r.c: Likewise.
13210         * inet/getrpcent.c: Likewise.
13211         * inet/getrpcent_r.c: Likewise.
13212         * inet/getaliasent.c: Likewise.
13213         * inet/getaliasent_r.c: Likewise.
13214         * inet/getaliasname.c: Likewise.
13215         * inet/getaliasname_r.c: Likewise.
13216         * nscd/getgrgid_r.c: Likewise.
13217         * nscd/getgrnam_r.c: Likewise.
13218         * nscd/gethstbyad_r.c: Likewise.
13219         * nscd/gethstbynm3_r.c: Likewise.
13220         * nscd/getpwnam_r.c: Likewise.
13221         * nscd/getpwuid_r.c: Likewise.
13222         * nscd/getsrvbynm_r.c: Likewise.
13223         * nscd/getsrvbypt_r.c: Likewise.
13224         * nscd/gai.c: Likewise.
13226         * configure.in (build_nscd): New substituted variable, set
13227         by --disable-build-nscd and defaults to $use_nscd.
13228         * configure: Regenerated.
13229         * config.make.in (build-nscd): New substituted variable.
13230         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13231         Change conditional to require [$(build-nscd) = yes] as well.
13232         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13234         [BZ# 13696]
13235         * configure.in (use_nscd): New substituted variable, set by
13236         --disable-nscd.  If enabled, define USE_NSCD.
13237         * configure: Regenerated.
13238         * config.h.in: Add USE_NSCD.
13239         * config.make.in (use-nscd): New substituted variable.
13240         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13241         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13242         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13243         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13244         (CFLAGS-getgrnam_r.c): Likewise.
13245         (CFLAGS-initgroups.c): Likewise.
13246         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13247         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13248         Variables removed.
13249         * inet/getnetgrent_r.c
13250         (nscd_setnetgrent): New function, broken out of ...
13251         (setnetgrent): ... here.  Call it.
13252         (innetgr): Conditionalize nscd bits on [USE_NSCD].
13253         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13254         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13255         * nscd/Makefile (routines, aux): Move definitions after include of
13256         Makeconfig.  Conditionalize on [$(use-nscd) != no].
13257         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13258         Conditionalize on [USE_NSCD].
13259         (is_nscd, nscd_init_cb): Likewise.
13260         (nss_load_library): Conditionalize init callback on [USE_NSCD].
13261         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13262         * nss/nss_db/db-init.c: Likewise.
13263         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13264         [USE_NSCD].
13265         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13266         (make_request): Use it.
13267         (cache_valid_p): New function.
13268         (__check_pf): Use it.
13269         * NEWS: Add item for --disable-nscd.
13271 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
13273         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13274         to support sed >= 4.2.1-20-ga9bf076.
13275         * configure: Regenerated.
13277 2012-08-22  Roland McGrath  <roland@hack.frob.com>
13279         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13280         Conditionalize whole body on [IREL].
13282 2012-08-22  Jeff Law <law@redhat.com>
13284         [BZ #14505]
13285         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13286         if the family is PF_UNSPEC.
13288 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
13290         * Makerules (lib-version): Rename from V.
13291         (install-lib-nosubdir): Change V to lib-version.
13293 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
13295         [BZ #14252]
13296         * powerpc32/power6/wcschr.c: New file.
13297         * powerpc32/power6/wcscpy.c: New file.
13298         * powerpc32/power6/wcsrchr.c: New file.
13299         * powerpc64/power6/wcschr.c: New file.
13300         * powerpc64/power6/wcscpy.c: New file.
13301         * powerpc64/power6/wcsrchr.c: New file.
13303 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
13305         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13306         (two_way_short_needle): Use it.
13307         * string/strstr.c (AVAILABLE1_USES_J): Define.
13308         * string/strcasestr.c: Likewise.
13310         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13311         array references.
13312         * string/strcasestr.c (TOLOWER): Make side-effect safe.
13314         [BZ #11607]
13315         * NEWS: Add an entry.
13316         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13317         define their defaults.
13318         (two_way_short_needle): Detect end-of-string on-the-fly.
13319         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13320         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13321         * string/bug-strcasestr1.c: New test.
13322         * string/Makefile: Run it.
13324 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
13326         [BZ #11607]
13327         * string/str-two-way.h (two_way_short_needle): Optimize matching of
13328         the first character.
13330 2012-08-21  Roland McGrath  <roland@hack.frob.com>
13332         * csu/elf-init.c (__libc_csu_irel): Function removed.
13333         * csu/libc-start.c (apply_irel): New function.
13334         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13336 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
13338         * sysdeps/unix/sysv/linux/kernel-features.h
13339         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13340         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13341         <kernel-features.h>.
13342         [__NR_fadvise64_64]: Make code unconditional.
13343         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13344         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13345         !__NR_fadvise64_64)]: Likewise.
13346         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13347         !__NR_fadvise64_64))]: Likewise.
13348         [__NR_fadvise64]: Make code unconditional.
13349         [!__NR_fadvise64]: Remove conditional code.
13350         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13351         <kernel-features.h>.
13352         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13353         unconditional.
13354         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13355         conditional code.
13356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13357         not include <kernel-features.h>.
13358         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13359         unconditional.
13360         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13361         conditional code.
13362         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13363         include <kernel-features.h>.
13364         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13365         unconditional.
13366         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13367         conditional code.
13369 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
13371         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13372         slight instruction rearrangements per scrollpipe analysis.
13373         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13375 2012-08-20  Roland McGrath  <roland@hack.frob.com>
13377         * manual/syslog.texi (syslog; vsyslog, closelog):
13378         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13379         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13381         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13382         DSOCAPS to match condition on defining it.
13384 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
13386         * sysdeps/unix/sysv/linux/kernel-features.h
13387         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13389         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13390         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13392         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13393         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13395         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13396         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13398         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13399         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13401         * sysdeps/unix/sysv/linux/kernel-features.h
13402         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13403         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13404         unconditional.
13405         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13406         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13407         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13408         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13409         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13410         Make code unconditional.
13411         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13412         (__mmap64) [!__NR_mmap2]: Likewise.
13413         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13414         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13415         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13416         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13417         [__NR_mmap2]: Make code unconditional.
13418         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13419         (__mmap64) [!__NR_mmap2]: Likewise.
13421 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13423         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13425 2012-08-18  Andreas Jaeger  <aj@suse.de>
13427         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13429 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
13431         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13432         * include/unistd.h (__have_sock_cloexec): Likewise.
13433         (__have_pipe2): Likewise.
13434         (__have_dup3): Likewise.
13436 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
13438         [BZ #9685]
13439         * include/unistd.h (__have_pipe2): Change define into an extern int.
13440         (__have_dup3): Likewise.
13441         * socket/have_sock_cloexec.c: Include fcntl.h.
13442         (__have_pipe2): New variable.
13443         (__have_dup3): Likewise.
13445 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
13447         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13449 2012-08-17  Marek Polacek  <polacek@redhat.com>
13451         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13452         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13454 2012-08-17  Roland McGrath  <roland@hack.frob.com>
13456         * configure.in: Add AC_SUBST for sysheaders.
13457         * configure: Regenerated.
13458         * config.make.in (sysheaders): New substituted variable.
13460         * sysdeps/unix/mkfifo.c: Moved ...
13461         * sysdeps/posix/mkfifo.c: ... here.
13462         * sysdeps/unix/mkfifoat.c: Moved ...
13463         * sysdeps/posix/mkfifoat.c: ... here.
13465         * sysdeps/unix/utime.c: Moved ...
13466         * sysdeps/posix/utime.c: ... here.
13468         * sysdeps/unix/time.c: Moved ...
13469         * sysdeps/posix/time.c: ... here.
13470         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13471         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
13473         * sysdeps/unix/nice.c: Moved ...
13474         * sysdeps/posix/nice.c: ... here.
13476         * sysdeps/unix/alarm.c: Moved ...
13477         * sysdeps/posix/alarm.c: ... here.
13479         * intl/Makefile ($(codeset_mo)): Depend on the input file.
13481 2012-08-17  Jeff Law <law@redhat.com>
13483         * intl/Makefile (codeset_mo): New variable.
13484         ($(codeset_mo)): New target.
13485         (tst-codeset.out): Depend on that.  Remove explicit rule.
13486         (tst-gettext3.out, tst-gettext5.out): Likewise.
13487         (LOCPATH-ENV, tst-codeset-ENV): New variables.
13488         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13489         * intl/tst-codeset.sh: Remove.
13490         * intl/tst-gettext3.sh: Likewise.
13491         * intl/tst-gettext5.sh: Likewise.
13493 2012-08-17  Roland McGrath  <roland@hack.frob.com>
13495         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
13496         * sysdeps/unix/syscalls.list: ... here.
13498         * sysdeps/posix/getaddrinfo.c
13499         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13500         (gaiconf_init, gaiconf_reload): Use them.
13501         [!_STATBUF_ST_NSEC]
13502         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13503         Define using time_t rather than struct timespec.
13505         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13506         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13507         Macros removed.
13508         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13509         [!NO_THREADS].
13510         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13511         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13512         Likewise.
13514         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13515         __libc_cleanup_push argument.
13517         * bits/param.h: New file.
13518         * misc/sys/param.h: New file.
13519         * include/sys/param.h: New file.
13520         * misc/Makefile (headers): Add bits/param.h.
13521         * sysdeps/generic/sys/param.h: File removed.
13522         * sysdeps/unix/sysv/linux/bits/param.h: New file.
13523         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13524         * sysdeps/mach/hurd/bits/param.h: New file.
13525         * sysdeps/mach/hurd/sys/param.h: File removed.
13527         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13528         last change.
13530         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13531         [_IO_MTSAFE_IO].
13532         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13533         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13534         New macros.
13536         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13537         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13538         rather than -D_IO_MTSAFE_IO conditionally.
13539         * stdio-common/Makefile (CPPFLAGS): Likewise.
13540         * wcsmbs/Makefile (CPPFLAGS): Likewise.
13541         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13542         Use $(libio-mtsafe).
13543         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13544         of -D_IO_MTSAFE_IO.
13545         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13546         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13547         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13548         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13549         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13550         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13551         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13552         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13553         (CFLAGS-fread_u_chk.c): Likewise.
13554         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13555         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13556         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13557         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13558         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13559         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13560         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13561         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13562         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13564         * libio/Makefile: Test [$(libc-reentrant) = yes]
13565         instead of [$(filter %REENTRANT, $(defines)) nonempty].
13567         * Makeconfig
13568         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13569         * sysdeps/pthread/configure: File removed.
13570         * sysdeps/pthread/Makeconfig: New file.
13571         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13572         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13574 2012-08-16  Gary Benson  <gbenson@redhat.com>
13576         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13577         unmapping the first object in a namespace.
13579 2012-08-16  Roland McGrath  <roland@hack.frob.com>
13581         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13582         (__internal_setnetgrent): ... this.  Add internal_function to
13583         definition.  Add libc_hidden_def.
13584         (setnetgrent): Update caller.
13585         (internal_endnetgrent): Renamed to ...
13586         (__internal_endnetgrent): ... this.  Add internal_function to
13587         definition.  Add libc_hidden_def.
13588         (endnetgrent): Update caller.
13589         (internal_getnetgrent_r): Renamed to ...
13590         (__internal_getnetgrent_r): ... this.  Add internal_function to
13591         definition.  Add libc_hidden_def.
13592         (__getnetgrent_r): Update caller.
13593         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
13595 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
13597         * stdlib/longlong.h: Update from GCC.
13599 2012-08-16  Roland McGrath  <roland@hack.frob.com>
13601         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13602         on _QL, which is set by umul_ppmm but never used.
13603         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13604         variables, which are set by GMP macros but never used.
13605         * stdio-common/_itowa.c (_itowa): Likewise.
13606         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13607         * stdlib/mod_1.c (mpn_mod_1): Likewise.
13609 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
13611         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13612         struct La_sh_regs is not constant.
13613         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13614         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13615         and struct La_sparc64_regs are not constant.
13617 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
13619         * sysdeps/unix/sysv/linux/kernel-features.h
13620         (__ASSUME_POSIX_TIMERS): Remove.
13621         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13622         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13623         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13624         Make code unconditional.
13625         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13626         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13627         Make code unconditional.
13628         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13629         * sysdeps/unix/sysv/linux/clock_nanosleep.c
13630         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13631         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13632         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13633         Make code unconditional.
13634         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13635         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13636         (__libc_missing_posix_timers): Remove.
13638 2012-08-15  Roland McGrath  <roland@hack.frob.com>
13640         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13641         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13643         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13645         * elf/dl-sym.c: Include <stdlib.h>.
13647         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13648         constants, which avoids warnings in 32-bit builds.
13650         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13651         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13653         * misc/lseek.c: File moved to ...
13654         * io/lseek.c: ... here.
13656         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13658         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13659         shifting LEN more than 31 bits at once.
13661 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13663         [BZ #14195]
13664         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13665         segmentation fault for a case of two empty input strings.
13666         * string/test-strncasecmp.c (check1): Renamed to...
13667         (bz12205): ...this.
13668         (bz14195): Add new testcase for two empty input strings and N > 0.
13669         (test_main): Call new testcase, adapt for renamed function.
13671 2012-08-15  Andreas Jaeger  <aj@suse.de>
13673         [BZ #14090]
13674         * crypt/md5test2.c: New test, based on test supplied by Serge
13675         Belyshev <belyshev@depni.sinp.msu.ru>.
13676         * crypt/Makefile (xtests): Add md5test-giant..
13677         * crypt/Makefile ($(objpfx)md5test-giant): Add.
13679 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
13681         [BZ #14090]
13682         * crypt/md5.c (md5_process_block): Don't assume the buffer
13683         length is less than 2**32.
13684         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13685         length is less than 2**64.
13687 2012-08-15  Roland McGrath  <roland@hack.frob.com>
13689         * string/str-two-way.h: Include <sys/param.h>.
13690         (MAX): Macro removed.
13692         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13693         Move #define and #undef of memmove to just before and after
13694         including <string.h>.
13696         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13697         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13698         and after including <string.h>.  Move declarations of
13699         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13700         to before #include "string/memmove.c".
13702         * include/dirent.h: Declare __getdirentries.
13704         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13705         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13707 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
13709         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13710         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13711         * sysdeps/i386/configure: Regenerated.
13712         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13713         STABS_CURRENT_FILE, and STABS_FUN.
13714         (END): Remove call to STABS_FUN_END.
13715         (STABS_CURRENT_FILE1): Delete.
13716         (STABS_CURRENT_FILE): Likewise.
13717         (STABS_FUN): Likewise.
13718         (STABS_FUN_END): Likewise.
13719         (STABS_FUN2): Likewise.
13720         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13721         * sysdeps/x86_64/configure: Regenerated.
13723 2012-08-14  Roland McGrath  <roland@hack.frob.com>
13725         * elf/dl-open.c: Include <atomic.h>.
13726         * elf/dl-lookup.c: Likewise.
13728 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
13730         * sysdeps/unix/sysv/linux/kernel-features.h
13731         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13732         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13733         unconditionally.
13734         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13735         unconditionally.
13736         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13737         condition on __ASSUME_CLONE_THREAD_FLAGS.
13739 2012-08-14  Andreas Jaeger  <aj@suse.de>
13741         * sysdeps/i386/fpu/libm-test-ulps: Update.
13743 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
13745         * include/atomic.h (atomic_exchange_and_add): Split into ...
13746         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13747         New atomic macros.
13749 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
13751         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13753 2012-08-13  Jeff Law <law@redhat.com>
13755         * manual/stdio.texi (snprintf): Clarify handling of the trailing
13756         null byte in the output string.
13758 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
13760         * sysdeps/unix/sysv/linux/kernel-features.h
13761         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13762         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13763         (__ASSUME_ARG_MAX_STACK_BASED): Define.
13764         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13765         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13766         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
13767         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13769 2012-08-09  Jeff Law <law@redhat.com>
13771         [BZ #13939]
13772         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13773         When avoid_arena is set, don't retry in the that arena.  Pick the
13774         next one, whatever it might be.
13775         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13776         (arena_lock): Pass in new parameter to arena_get2.
13777         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13778         arena_get2.
13779         (__libc_malloc): Unify retrying after main arena failure with
13780         __libc_memalign version.
13781         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13783 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
13785         [BZ #14166]
13786         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13787         to __redirect_strstr.
13788         (__strstr_sse42): Use typeof __redirect_strstr.
13789         (__strstr_ia32): Likewise.
13790         (__libc_strstr): New prototype.
13791         (strstr): Renamed to ...
13792         (__libc_strstr): This.
13793         (strstr): New strong alias of __libc_strstr.
13794         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13795         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13796         __redirect_time.
13797         Include <time.h>.
13798         (__libc_time): New prototype.
13799         (time_ifunc): Replace time with __libc_time.
13800         (time): New strong alias and hidden definition of __libc_time.
13801         (__GI_time): Remove strong alias.
13802         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13803         Include <stddef.h>.
13804         (memmove): Redefined to __redirect_memmove.
13805         (__memmove_sse2): Use typeof __redirect_memmove.
13806         (__memmove_ssse3): Likewise.
13807         (__memmove_ssse3_back): Likewise.
13808         (__libc_memmove): New prototype.
13809         (memmove): Renamed to ...
13810         (__libc_memmove): This.
13811         (memmove): New strong alias of __libc_memmove.
13813 2012-08-08  Mark Salter  <msalter@redhat.com>
13815         * elf/elf.h
13816         (R_MN10300_TLS_GD): Define.
13817         (R_MN10300_TLS_LD): Likewise.
13818         (R_MN10300_TLS_LDO): Likewise.
13819         (R_MN10300_TLS_GOTIE): Likewise.
13820         (R_MN10300_TLS_IE): Likewise.
13821         (R_MN10300_TLS_LE): Likewise.
13822         (R_MN10300_TLS_DTPMOD): Likewise.
13823         (R_MN10300_TLS_DTPOFF): Likewise.
13824         (R_MN10300_TLS_TPOFF): Likewise.
13825         (R_MN10300_SYM_DIFF): Likewise.
13826         (R_MN10300_ALIGN): Likewise.
13827         (R_MN10300_NUM): Update.
13829 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
13831         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13832         Remove.
13834 2012-08-08  Roland McGrath  <roland@hack.frob.com>
13836         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13838         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13839         sysdeps/unix -> sysdeps/posix move.
13840         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13842 2012-08-07      Allan McRae     <allan@archlinux.org>
13844         [BZ #14303]
13845         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13846         (SUNOS_CPP): Likewise.
13847         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13848         not found.
13849         (open_input): Call CPP using execvp.
13851 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
13853         * sysdeps/unix/sysv/linux/kernel-features.h
13854         (__ASSUME_PROT_GROWSUPDOWN): Remove.
13855         (__ASSUME_NO_CLONE_DETACHED): Likewise.
13856         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13857         (__ASSUME_WAITID_SYSCALL): Likewise.
13858         * sysdeps/unix/sysv/linux/dl-execstack.c
13859         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13860         code unconditional.
13861         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13862         conditional code.
13863         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13864         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13865         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13866         code.
13867         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13868         unconditional.
13869         [__ASSUME_WAITID_SYSCALL]: Likewise.
13870         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13872 2012-08-07  Roland McGrath  <roland@hack.frob.com>
13874         * sysdeps/unix/closedir.c: Renamed to ...
13875         * sysdeps/posix/closedir.c: ... here.
13876         * sysdeps/unix/dirfd.c: Renamed to ...
13877         * sysdeps/posix/dirfd.c: ... here.
13878         * sysdeps/unix/dirstream.h: Renamed to ...
13879         * sysdeps/posix/dirstream.h: ... here.
13880         * sysdeps/unix/fdopendir.c: Renamed to ...
13881         * sysdeps/posix/fdopendir.c: ... here.
13882         * sysdeps/unix/opendir.c: Renamed to ...
13883         * sysdeps/posix/opendir.c: ... here.
13884         * sysdeps/unix/readdir.c: Renamed to ...
13885         * sysdeps/posix/readdir.c: ... here.
13886         * sysdeps/unix/readdir_r.c: Renamed to ...
13887         * sysdeps/posix/readdir_r.c: ... here.
13888         * sysdeps/unix/rewinddir.c: Renamed to ...
13889         * sysdeps/posix/rewinddir.c: ... here.
13890         * sysdeps/unix/seekdir.c: Renamed to ...
13891         * sysdeps/posix/seekdir.c: ... here.
13892         * sysdeps/unix/telldir.c: Renamed to ...
13893         * sysdeps/posix/telldir.c: ... here.
13894         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13895         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13896         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13897         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13899         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13900         * bits/fcntl.h: ... here.
13902         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13903         not 0.
13904         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13905         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13906         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13907         (struct flock): Move l_start, l_len to the beginning.
13908         Use __pid_t for l_pid.
13909         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13910         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13911         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13912         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13913         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13914         [__USE_LARGEFILE64] (struct flock64): New type.
13915         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13917         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13918         * bits/dirent.h: ... here.
13920         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13921         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13923 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
13925         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13926         Change from 2.6.0 to 2.6.16.
13927         * sysdeps/unix/sysv/linux/configure: Regenerated.
13928         * sysdeps/unix/sysv/linux/kernel-features.h
13929         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13930         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13931         version.
13932         (__ASSUME_UTIMES): Likewise.
13933         (__ASSUME_CLONE_STOPPED): Remove.
13934         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13935         architectures, not kernel version.
13936         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13937         (__ASSUME_NO_CLONE_DETACHED): Likewise.
13938         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13939         (__ASSUME_WAITID_SYSCALL): Likewise.
13940         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13941         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13942         * README: State 2.6.16 as minimum Linux kernel version.  Do not
13943         refer to older versions.
13945 2012-08-06  Roland McGrath  <roland@hack.frob.com>
13947         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13948         Define alphasort64 as an alias.
13949         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13950         Define versionsort64 as an alias.
13951         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13952         Define scandir64 as an alias.
13953         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13954         Define scandirat64 as an alias.
13955         * dirent/alphasort64.c (alphasort64):
13956         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13957         * dirent/versionsort64.c: Likewise.
13958         * dirent/scandir64.c: Likewise.
13959         * dirent/scandirat64.c: Likewise.
13960         * sysdeps/wordsize-64/alphasort.c: File removed.
13961         * sysdeps/wordsize-64/alphasort64.c: File removed.
13962         * sysdeps/wordsize-64/scandir.c: File removed.
13963         * sysdeps/wordsize-64/scandir64.c: File removed.
13964         * sysdeps/wordsize-64/scandirat.c: File removed.
13965         * sysdeps/wordsize-64/scandirat64.c: File removed.
13966         * sysdeps/wordsize-64/versionsort.c: File removed.
13967         * sysdeps/wordsize-64/versionsort64.c: File removed.
13968         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13969         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13970         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13971         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13972         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13973         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13974         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13975         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13977         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13978         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13979         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13980         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13981         [defined __arch64__ || defined __sparcv9]
13982         (__INO_T_MATCHES_INO64_T): New macro.
13983         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13984         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13985         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13986         * sysdeps/unix/sysv/linux/bits/dirent.h
13987         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13988         (_DIRENT_MATCHES_DIRENT64): New macro.
13990         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13991         Define lockf64 as an alias.
13992         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13993         Define fseeko64 as an alias.
13994         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13995         Define ftello64 as an alias.
13996         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13997         Define _IO_fgetpos64 and fgetpos64 as aliases.
13998         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13999         Define _IO_fsetpos64 and fsetpos64 as aliases.
14000         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14001         Conditionalize body on this.
14002         * libio/fseeko64.c: Likewise.
14003         * libio/ftello64.c: Likewise.
14004         * libio/iofgetpos64.c: Likewise.
14005         * libio/iofsetpos64.c: Likewise.
14006         * sysdeps/wordsize-64/lockf.c: File removed.
14007         * sysdeps/wordsize-64/lockf64.c: File removed.
14008         * sysdeps/wordsize-64/fseeko.c: File removed.
14009         * sysdeps/wordsize-64/fseeko64.c: File removed.
14010         * sysdeps/wordsize-64/ftello.c: File removed.
14011         * sysdeps/wordsize-64/ftello64.c: File removed.
14012         * sysdeps/wordsize-64/iofgetpos.c: File removed.
14013         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14014         * sysdeps/wordsize-64/iofsetpos.c: File removed.
14015         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14016         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14017         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14018         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14019         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14020         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14021         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14022         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14023         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14024         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14025         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14027         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14028         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14029         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14030         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14031         [defined __arch64__ || defined __sparcv9]
14032         (__OFF_T_MATCHES_OFF64_T): New macro.
14033         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14034         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14035         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14036         (__OFF_T_MATCHES_OFF64_T): New macro.
14038 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
14040         * stdlib/secure-getenv.c (__secure_getenv): Replace
14041         GLIBC_2_16 with GLIBC_2_17.
14043 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
14045         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14046         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14048 2012-08-03  David S. Miller  <davem@davemloft.net>
14050         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14052 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
14054         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14055         Remove.
14056         (__ASSUME_CORRECT_SI_PID): Likewise.
14057         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14058         (__ASSUME_TMPFS_NAME): Likewise.
14059         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14060         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14061         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14062         (HAVE_AUX_SECURE): Make definition unconditional.
14063         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14064         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14066 2012-08-03  Roland McGrath  <roland@hack.frob.com>
14068         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14069         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14070         * sysdeps/mach/hurd/eloop-threshold.h: New file.
14071         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14072         __eloop_threshold instead of SYMLOOP_MAX.
14074         * sysdeps/generic/eloop-threshold.h: New file.
14075         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14076         of MAXSYMLINKS.
14077         * elf/chroot_canon.c (chroot_canon): Likewise.
14079 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
14081         [BZ #13717]
14082         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14083         Change to 2.6.0 everywhere.
14084         * sysdeps/unix/sysv/linux/configure: Regenerated.
14085         * sysdeps/unix/sysv/linux/kernel-features.h
14086         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14087         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14088         kernel versions.
14089         (__ASSUME_POSIX_TIMERS): Define unconditionally.
14090         (__ASSUME_FUTEX_REQUEUE): Remove.
14091         (__ASSUME_STATFS64): Define unconditionally.
14092         (__ASSUME_AT_SECURE): Likewise.
14093         (__ASSUME_CORRECT_SI_PID): Likewise.
14094         (__ASSUME_TGKILL): Define without depending on kernel version for
14095         i386.
14096         (__ASSUME_UTIMES): Likewise.
14097         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14098         kernel version.
14099         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14100         (__ASSUME_TMPFS_NAME): Likewise.
14101         * README: Update reference to Linux kernel versions.
14103 2012-08-02  Marek Polacek  <polacek@redhat.com>
14105         [BZ# 14150]
14106         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
14107         libc_cv_asm_type_prefix with %.
14108         * configure: Regenerated.
14109         * include/libc-symbols.h: Remove comment about
14110         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14111         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14112         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14113         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14114         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14115         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14116         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14117         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14118         * elf/tst-unique2mod1.c: Likewise.
14119         * elf/tst-unique1mod2.c: Likewise.
14120         * elf/tst-unique1mod1.c: Likewise.
14121         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14122         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14123         Replace ASM_TYPE_DIRECTIVE with .type.
14124         * sysdeps/s390/s390-64/sysdep.h: Likewise.
14125         * sysdeps/i386/sysdep.h: Likewise.
14126         * sysdeps/x86_64/sysdep.h: Likewise.
14127         * sysdeps/sh/sysdep.h: Likewise.
14128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14129         Do not define ASM_TYPE_DIRECTIVE.
14130         * sysdeps/powerpc/sysdep.h: Likewise.
14131         * sysdeps/powerpc/powerpc32/sysdep.h:
14132         Replace ASM_TYPE_DIRECTIVE with .type.
14133         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14134         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14135         * sysdeps/i386/fpu/e_powf.S: Likewise.
14136         * sysdeps/i386/fpu/e_expl.S: Likewise.
14137         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14138         * sysdeps/i386/fpu/e_acosh.S: Likewise.
14139         * sysdeps/i386/fpu/e_pow.S: Likewise.
14140         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14141         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14142         * sysdeps/i386/fpu/s_expm1.S: Likewise.
14143         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14144         * sysdeps/i386/fpu/e_log2.S: Likewise.
14145         * sysdeps/i386/fpu/e_log2l.S: Likewise.
14146         * sysdeps/i386/fpu/e_scalb.S: Likewise.
14147         * sysdeps/i386/fpu/e_powl.S: Likewise.
14148         * sysdeps/i386/fpu/e_log10f.S: Likewise.
14149         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14150         * sysdeps/i386/fpu/e_logl.S: Likewise.
14151         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14152         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14153         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14154         * sysdeps/i386/fpu/e_log2f.S: Likewise.
14155         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14156         * sysdeps/i386/fpu/e_log.S: Likewise.
14157         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14158         * sysdeps/i386/fpu/e_logf.S: Likewise.
14159         * sysdeps/i386/fpu/e_log10l.S: Likewise.
14160         * sysdeps/i386/fpu/e_atanh.S: Likewise.
14161         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14162         * sysdeps/i386/fpu/e_log10.S: Likewise.
14163         * sysdeps/i386/fpu/s_frexp.S: Likewise.
14164         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14165         * sysdeps/i386/fpu/s_asinh.S: Likewise.
14166         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14167         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14168         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14169         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14170         * sysdeps/i386/i686/strtok.S: Likewise.
14171         * sysdeps/i386/i386-mcount.S: Likewise.
14172         * sysdeps/i386/strtok.S: Likewise.
14173         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14174         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14175         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14176         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14177         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14178         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14179         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14180         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14181         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14182         * sysdeps/x86_64/_mcount.S: Likewise.
14183         * sysdeps/x86_64/strtok.S: Likewise.
14184         * sysdeps/sh/_mcount.S: Likewise.
14186 2012-08-01  Roland McGrath  <roland@hack.frob.com>
14188         * libio/iofopen.c: Include <fcntl.h>.
14189         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14190         (_IO_fopen64, fopen64): Define as aliases.
14191         * libio/iofopen64.c: Include <fcntl.h>.
14192         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14193         Conditionalize body on this.
14194         * sysdeps/wordsize-64/iofopen.c: File removed.
14195         * sysdeps/wordsize-64/iofopen64.c: File removed.
14197 2012-08-01  Marek Polacek  <polacek@redhat.com>
14199         * libc/Makeconfig: Use elf in place of binfmt-subdir.
14200         Use dlfcn directly instead of a variable.
14201         (binfmt-subdir): Do not define.
14202         (dlfcn): Likewise.
14204 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
14206         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14207         Remove all definitions.
14208         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14209         <kernel-features.h>.
14210         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14211         (miss_F_GETOWN_EX): Remove all definitions.
14212         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14213         macro definition.
14214         [!__ASSUME_FCNTL64]: Remove conditional code.
14215         [__ASSUME_FCNTL64]: Make code unconditional.
14216         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14217         <kernel-features.h>.
14218         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14219         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14220         (lockf64) [__NR_fcntl64]: Make code unconditional.
14221         (lockf64) [__ASSUME_FCNTL64]: Likewise.
14223         * sysdeps/unix/sysv/linux/kernel-features.h
14224         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14225         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14226         Make code unconditional.
14227         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14228         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14230         [__NR_vfork]: Make code unconditional.
14231         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14232         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14234         [__NR_vfork]: Make code unconditional.
14235         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14236         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14238 2012-08-01  Roland McGrath  <roland@hack.frob.com>
14240         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14241         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14243         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14244         Define mkstemp64 as an alias.
14245         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14246         Define mkstemps64 as an alias.
14247         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14248         Define mkostemp64 as an alias.
14249         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14250         Define mkostemps64 as an alias.
14251         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14252         Conditionalize body on this.
14253         * misc/mkostemp64.c: Likewise.
14254         * misc/mkostemps64.c: Likewise.
14255         * misc/mkstemps64.c: Likewise.
14256         * sysdeps/wordsize-64/mkstemp64.c: File removed.
14257         * sysdeps/wordsize-64/mkostemp64.c: File removed.
14258         * sysdeps/wordsize-64/mkostemp.c: File removed.
14259         * sysdeps/wordsize-64/mkstemp.c: File removed.
14260         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14261         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14262         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14263         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14265         [BZ #14138]
14266         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14267         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14268         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14269         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14271         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14272         compat_symbol macros from <shlib-compat.h> rather than the underlying
14273         default_symbol_version and symbol_version macros, so that DEFAULT
14274         lines in shlib-versions are respected.
14275         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14277 2012-08-01  Florian Weimer  <fweimer@redhat.com>
14279         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14280         Declare with warn_unused_result.
14281         (setgid, setregid, setegid, setresgid): Likewise.
14282         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14283         Likewise.
14284         * WUR-REPORT: Remove set*id functions.
14286 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
14288         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14290 2012-07-31  Roland McGrath  <roland@hack.frob.com>
14292         [BZ #10191]
14293         * include/sys/socket.h (__libc_accept, __libc_accept4):
14294         Add attribute_hidden.
14295         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14297         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14298         use of PTR_MANGLE.
14299         * inet/getnetgrent_r.c (setup): Likewise.
14301         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14303 2012-07-31  David S. Miller  <davem@davemloft.net>
14305         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14307 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
14309         [BZ #13629]
14310         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14311         value between 1.0 and 2.0 and smaller part has absolute value less
14312         than 1.0.
14313         * math/s_clog10.c (__clog10): Likewise.
14314         * math/s_clog10f.c (__clog10f): Likewise.
14315         * math/s_clog10l.c (__clog10l): Likewise.
14316         * math/s_clogf.c (__clogf): Likewise.
14317         * math/s_clogl.c (__clogl): Likewise.
14318         * math/libm-test.inc (clog_test): Add more tests.
14319         (clog10_test): Likewise.
14320         * sysdeps/i386/fpu/libm-test-ulps: Update.
14321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14323 2012-07-31  Florian Weimer  <fweimer@redhat.com>
14325         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14326         Exit with zero in case no suitable GID is found, and write a
14327         message to standard error.
14329 2012-07-30  Roland McGrath  <roland@hack.frob.com>
14331         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14332         rather than to 1.
14333         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14334         (MAXPATHLEN): Removed.
14335         (NOGROUP, NODEV): New macros.
14336         (setbit, clrbit, isset, isclr): New macros.
14337         (howmany, roundup, powerof2): New macros.
14338         (DEV_BSIZE): New macro.
14340         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14341         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14343         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14344         definition on [!__NO_LONG_DOUBLE_MATH].
14346         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14347         PTR_MANGLE and PTR_DEMANGLE.
14349         * socket/accept4.c (accept4): Rename to __libc_accept4.
14350         Define accept4 as a weak alias.
14352         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14353         on [_DIRENT_HAVE_D_TYPE].
14354         * io/ftw.c (ftw_dir): Likewise.
14356         * io/xmknod.c (__xmknod): Don't check PATH for being null.
14358         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14360         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14361         Use the BSD numbers rather than the arbitrary ones we had.
14362         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14363         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14364         (SIGXCPU, SIGXFSZ): New macros.
14365         (_NSIG): Now 32.
14367         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14368         initializer on [_LIBC_REENTRANT].
14370         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14371         definitions inside [_POSIX_MAPPED_FILES].
14373         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14375         * dirent/opendir.c: Include <fcntl.h>.
14377         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14378         (__libc_getspecific): Likewise.
14379         (__libc_key_create): Likewise.
14381         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14382         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14383         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14384         (tmpfile64): Define as alias.
14385         * sysdeps/wordsize-64/tmpfile.c: File removed.
14386         * sysdeps/wordsize-64/tmpfile64.c: File removed.
14387         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14388         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14390         * stdio-common/vfscanf.c: Include <stdbool.h>.
14391         * nss/makedb.c: Likewise.
14392         * stdio-common/_i18n_number.h: Likewise.
14393         * argp/argp-help.c: Likewise.
14394         * posix/wordexp.c: Likewise.
14395         * sysdeps/posix/spawni.c: Likewise.
14396         * nss/nss_files/files-initgroups.c: Likewise.
14397         * stdio-common/reg-modifier.c: Include <stdlib.h>.
14398         * nss/nss_files/files-initgroups.c: Likewise.
14399         * nss/nss_db/db-netgrp.c: Likewise.
14400         * nss/nss_db/db-initgroups.c: Likewise.
14401         * io/fchmodat.c: Include <sys/stat.h>.
14403         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14404         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14406         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14407         [HAVE_MMAP].
14409         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14410         Add multiple inclusion protection.
14412 2012-07-27  David S. Miller  <davem@davemloft.net>
14414         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14416 2012-07-27  Gary Benson  <gbenson@redhat.com>
14418         [BZ #14298]
14419         * elf/rtld.c: Include <stap-probe.h>.
14420         (dl_main): Added static probes "init_start" and "init_complete".
14421         * elf/dl-load.c: Include <stap-probe.h>.
14422         (lose): Take new parameter "nsid".
14423         Added static probe "map_failed".
14424         (_dl_map_object_from_fd): Pass namespace id to lose.
14425         Added static probe "map_start".
14426         (open_verify): Pass namespace id to lose.
14427         * elf/dl-open.c: Include <stap-probe.h>.
14428         (dl_open_worker) Added static probes "map_complete", "reloc_start"
14429         and "reloc_complete".
14430         * elf/dl-close.c: Include <stap-probe.h>.
14431         (_dl_close_worker): Added static probes "unmap_start" and
14432         "unmap_complete".
14433         * elf/rtld-debugger-interface.txt: New file documenting the above.
14435 2012-07-26  Roland McGrath  <roland@hack.frob.com>
14437         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14438         rather than a string variable.
14439         * sunrpc/rpc_main.c (h_output): Likewise.
14440         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14442 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
14444         * inet/check_native.c: New file.
14446 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
14448         [BZ #13629]
14449         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14450         if larger part has absolute value 1.0.
14451         * math/s_clog10.c (__clog10): Likewise.
14452         * math/s_clog10f.c (__clog10f): Likewise.
14453         * math/s_clog10l.c (__clog10l): Likewise.
14454         * math/s_clogf.c (__clogf): Likewise.
14455         * math/s_clogl.c (__clogl): Likewise.
14456         * math/libm-test.inc (clog_test): Add more tests.
14457         (clog10_test): Likewise.
14458         * sysdeps/i386/fpu/libm-test-ulps: Update.
14459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14461         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14462         (pltexit): Likewise.
14463         (La_regs): Likewise.
14464         (La_retval): Likewise.
14465         (int_retval): Likewise.
14466         Update #error for removed macros to refer only to definitions in
14467         tst-audit.h.
14468         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14469         macro.
14470         (pltexit): Likewise.
14471         (La_regs): Likewise.
14472         (La_retval): Likewise.
14473         (int_retval): Likewise.
14474         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14475         macro.
14476         (pltexit): Likewise.
14477         (La_regs): Likewise.
14478         (La_retval): Likewise.
14479         (int_retval): Likewise.
14480         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14481         macro.
14482         (pltexit): Likewise.
14483         (La_regs): Likewise.
14484         (La_retval): Likewise.
14485         (int_retval): Likewise.
14486         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14487         macro.
14488         (pltexit): Likewise.
14489         (La_regs): Likewise.
14490         (La_retval): Likewise.
14491         (int_retval): Likewise.
14492         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14493         macro.
14494         (pltexit): Likewise.
14495         (La_regs): Likewise.
14496         (La_retval): Likewise.
14497         (int_retval): Likewise.
14498         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14499         macro.
14500         (pltexit): Likewise.
14501         (La_regs): Likewise.
14502         (La_retval): Likewise.
14503         (int_retval): Likewise.
14504         * sysdeps/generic/tst-audit.h: Update comment to refer only to
14505         macro definitions in tst-audit.h.
14506         * sysdeps/i386/tst-audit.h: New file.
14507         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14508         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14509         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14510         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14511         * sysdeps/sh/tst-audit.h: Likewise.
14512         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14513         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14514         * sysdeps/x86_64/tst-audit.h: Likewise.
14516 2012-07-26  Andreas Jaeger  <aj@suse.de>
14518         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14519         ptrace.
14521         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14522         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14523         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14524         PTRACE_O_MASK.
14525         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14526         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14527         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14529         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14530         value.
14532         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14533         _sigsys.
14534         (si_call_addr, si_syscall, si_arch): Define new macro.
14535         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14536         _sigsys.
14537         (si_call_addr, si_syscall, si_arch): Define new marcro.
14538         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14539         _sigsys.
14540         (si_call_addr, si_syscall, si_arch): Define new macro.
14541         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14542         _sigsys.
14543         (si_call_addr, si_syscall, si_arch): Define new macro.
14545 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
14547         [BZ #13717]
14548         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14549         Change to 2.4.21 where previously 2.4.1.
14550         * sysdeps/unix/sysv/linux/configure: Regenerated.
14551         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14552         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14553         Linux kernel version.
14554         (__ASSUME_STD_AUXV): Remove.
14555         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14556         kernel version.
14557         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14558         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14559         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14560         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14561         (__ASSUME_NETLINK_SUPPORT): Likewise.
14562         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14563         (__no_netlink_support): Remove conditional definition.
14564         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14565         Remove.
14566         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14567         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14568         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14569         (if_nameindex_ioctl): Remove.
14570         (if_nameindex_netlink): Do not handle __no_netlink_support.
14571         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14572         code.
14573         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14574         Remove conditional code.
14575         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14576         code.
14577         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14578         unconditional.
14579         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14580         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14581         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14582         Remove.
14583         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14584         [!__ASSUME_STD_AUXV]: Remove conditional code.
14585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14586         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14587         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14589         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14590         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14591         code.
14592         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14594         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14595         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14596         conditional code.
14597         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14599         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14600         code.
14601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14602         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14603         conditional code.
14604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14605         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14606         code unconditional.
14607         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14608         conditional code.
14609         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14610         unconditional.
14611         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14612         conditional code.
14613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14614         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14615         unconditional.
14616         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14617         conditional code.
14618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14619         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14620         code unconditional.
14621         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14622         conditional code.
14623         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14624         unconditional.
14625         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14626         conditional code.
14627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14628         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14629         code unconditional.
14630         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14631         conditional code.
14632         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14633         unconditional.
14634         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14635         conditional code.
14637 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
14639         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14640         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14641         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14642         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14643         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14644         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14645         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14646         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14647         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14648         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14649         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14650         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14651         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14652         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14653         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14654         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14655         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14656         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14657         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14658         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14659         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14660         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14661         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14663 2012-07-25  Florian Weimer  <fweimer@redhat.com>
14665         * Versions.def: Add GLIBC_2.17.
14666         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14667         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14668         Introduce __libc_secure_getenv.
14669         * stdlib/Versions (2.17): Add secure_getenv
14670         (GLIBC_PRIVATE): Add __libc_secure_getenv.
14671         * stdlib/secure-getenv.c: Rename __secure_getenv to
14672         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
14673         symbol __secure_getenv for GLIBC_2.0.
14674         * stdlib/tst-secure-getenv.c: New.
14675         * stdlib/Makefile (tests): Add testcase.
14676         * manual/startup.texi (Environment Access): Document
14677         secure_getenv.
14678         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14679         __libc_secure_getenv.
14680         * inet/ruserpass.c (ruserpass): Likewise.
14681         * malloc/mtrace.c (mtrace): Likewise.
14682         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
14683         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
14684         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14685         * sysdeps/posix/tempname.c: Likewise.  Evaluate
14686         HAVE_SECURE_GETENV.
14687         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
14688         __secure_getenv to __libc_secure_getenv.
14689         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
14690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14691         Likewise.
14692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14693         Likewise.
14694         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14695         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14696         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14697         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14698         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14699         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14700         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14702 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
14704         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14705         (struct La_i86_retval): Likewise.
14706         (struct La_x86_64_regs): Likewise.
14707         (struct La_x86_64_retval): Likewise.
14708         (struct La_x32_regs): Likewise.
14709         (struct La_x32_retval): Likewise.
14710         (struct La_ppc32_regs): Likewise.
14711         (struct La_ppc32_retval): Likewise.
14712         (struct La_ppc64_regs): Likewise.
14713         (struct La_ppc64_retval): Likewise.
14714         (struct La_sh_regs): Likewise.
14715         (struct La_sh_retval): Likewise.
14716         (struct La_s390_32_regs): Likewise.
14717         (struct La_s390_32_retval): Likewise.
14718         (struct La_s390_64_regs): Likewise.
14719         (struct La_s390_64_retval): Likewise.
14720         (struct La_sparc32_regs): Likewise.
14721         (struct La_sparc32_retval): Likewise.
14722         (struct La_sparc64_regs): Likewise.
14723         (struct La_sparc64_retval): Likewise.
14724         (struct audit_ifaces): Remove architecture-specific pltenter and
14725         pltexit members.
14726         * sysdeps/i386/ldsodefs.h: New file.
14727         * sysdeps/powerpc/ldsodefs.h: Likewise.
14728         * sysdeps/s390/ldsodefs.h: Likewise.
14729         * sysdeps/sh/ldsodefs.h: Likewise.
14730         * sysdeps/sparc/ldsodefs.h: Likewise.
14731         * sysdeps/x86_64/ldsodefs.h: Likewise.
14733 2012-07-25  Marek Polacek  <polacek@redhat.com>
14735         [BZ #6808]
14736         * math/libm-test.inc (yn_test): Add another test.
14737         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14738         to ERANGE when the result is +-Inf.
14739         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14740         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14741         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14742         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14744 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
14746         * conform/data/time.h-data (NULL): Use macro-constant.  Require
14747         equal to 0.
14748         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
14749         clock_t.
14750         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
14752 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
14754         * configure.in <sysdeps resolving>: Correct printing
14755         Implies_before.
14756         * configure: Regenerate.
14758 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
14760         * math/w_ilogb.c: Include <limits.h>.
14761         * math/w_ilogbl.c: Likewise.
14763 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
14765         * manual/lang.texi (__va_copy): Document primarily as ISO C99
14766         va_copy.  Document allowing for unavailable va_copy only as
14767         pre-C99 compatibility.
14768         * manual/string.texi (Copying and Concatenation): Use va_copy
14769         instead of __va_copy in concat example.
14771 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
14773         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14774         (__sendto): Use create_address_port.  Initialize APORT and deallocate
14775         it if not null.
14777         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14778         with O_NOLINK passed to __file_name_lookup.
14780         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14781         with O_NOLINK passed to __file_name_lookup.
14783         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14784         negative N or less than NGIDS.
14786         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14787         type to string_t.  Set ERANGE as errno and return it if NAME is not big
14788         enough.  Use memcpy instead of strncpy.
14790 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
14792         * elf/Makefile (check-data): Remove.
14793         (localplt.data): New vpath directive.
14794         ($(objpfx)check-localplt.out): Use localplt.data from vpath
14795         instead of $(check-data).
14796         * scripts/data/localplt-generic.data: Move to ...
14797         * sysdeps/generic/localplt.data: ... here.
14798         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14799         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14800         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14802         ... here.
14803         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14805         ... here.
14806         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14807         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14808         ... here.
14809         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14810         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14811         ... here.
14812         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14813         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14814         ... here.
14815         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14816         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14817         ... here.
14819 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14821         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14822         PPC32 and PPC64 files.
14823         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14824         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14826 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14828         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14829         __makecontext_ret to ...
14830         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14831         ... here and call exit if uc_link is NULL.  New file.
14832         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14833         __makecontext_ret.S.
14834         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14835         __makecontext_ret to ...
14836         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14837         ... here and call exit if uc_link is NULL.  New file.
14838         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14839         __makecontext_ret.S.
14841 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14843         * elf/elf.h (R_390_IRELATIVE): New definition.
14844         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14845         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
14846         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14847         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14848         (elf_machine_lazy_rel): Likewise.
14849         * sysdeps/s390/dl-irel.h: New file.
14850         * sysdeps/s390/s390-64/memcpy.S: New asm code.
14851         * sysdeps/s390/s390-64/memset.S: New asm code.
14852         * sysdeps/s390/s390-64/memcmp.S: New asm code.
14853         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14854         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14855         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14856         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14857         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14858         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14859         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14860         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14861         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14862         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14863         * sysdeps/s390/s390-32/memcpy.S: New asm code.
14864         * sysdeps/s390/s390-32/memset.S: New asm code.
14865         * sysdeps/s390/s390-32/memcmp.S: New asm code.
14867 2012-07-17  Marek Polacek  <polacek@redhat.com>
14869         [BZ #14349]
14870         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14871         * sysdeps/s390/s390-64/configure.in: Likewise.
14872         * sysdeps/sparc/configure.in: Likewise.
14873         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14874         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14875         * sysdeps/i386/configure.in: Likewise.
14876         * sysdeps/x86_64/configure.in: Likewise.
14877         * sysdeps/sh/configure.in: Likewise.
14878         * sysdeps/s390/s390-32/configure: Regenerated.
14879         * sysdeps/s390/s390-64/configure: Likewise.
14880         * sysdeps/x86_64/configure: Likewise.
14881         * sysdeps/sh/configure: Likewise.
14882         * sysdeps/powerpc/powerpc64/configure: Likewise.
14883         * sysdeps/powerpc/powerpc32/configure: Likewise.
14884         * sysdeps/sparc/configure: Likwise.
14885         * sysdeps/i386/configure: Likewise.
14887         * elf/dl-open.c: Comment fixes.
14889 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
14891         * Makefile [CXX] (check-data): Remove.
14892         [CXX] (c++-types.data): New vpath directive.
14893         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14894         vpath.  Do not allow for C++ type data being missing.
14895         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14896         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14897         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14898         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14899         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14900         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14901         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14903         ... here.
14904         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14906         ... here.
14907         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14908         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14909         ... here.
14910         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14911         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14912         ... here.
14913         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14914         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14915         ... here.
14916         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14917         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14918         ... here.
14919         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14920         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14921         ... here.
14922         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14923         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14925         * elf/tls-macros.h (TLS_LE): Move architecture-specific
14926         definitions to architecture-specific files.
14927         (TLS_IE): Likewise.
14928         (TLS_LD): Likewise.
14929         (TLS_GD): Likewise.
14930         * sysdeps/i386/tls-macros.h: New file.
14931         * sysdeps/powerpc/tls-macros.h: Likewise.
14932         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14933         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14934         * sysdeps/sh/tls-macros.h: Likewise.
14935         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14936         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14937         * sysdeps/x86_64/tls-macros.h: Likewise.
14939 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
14941         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14942         zero value for regular exit case.
14944         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14945         (__start_context): Preserve zero value for regular exit case.
14947 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
14948             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14950         * manual/setjmp.texi (setcontext): Clarify normal process
14951         termination when uc_link is the null pointer.
14952         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14953         exit call.
14955 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
14957         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14958         preprocessor.  Test for each exception mask separately.
14960 2012-07-16  Andreas Jaeger  <aj@suse.de>
14962         * po/ru.po: Update from translation team.
14964 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
14966         * conform/data/string.h-data (NULL): Use macro-constant.  Require
14967         equal to 0.
14968         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14969         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14970         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14971         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14972         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14974 2012-07-13  Andreas Jaeger  <aj@suse.de>
14976         * po/fr.po: Update from translation team.
14978 2012-07-12  Marek Polacek  <polacek@redhat.com>
14980         [BZ #14173]
14981         * math/libm-test.inc (yn_test): Add test for BZ #14173.
14982         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14983         loop condition.
14985 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
14987         [BZ #13717]
14988         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14989         Change to 2.4.1 where previously 2.4.0.
14990         * sysdeps/unix/sysv/linux/configure: Regenerated.
14991         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14992         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14993         version.
14994         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14995         (__ASSUME_AT_CLKTCK): Remove.
14996         (__ASSUME_AT_PAGESIZE): Likewise.
14997         (__ASSUME_AT_XID): Likewise.
14998         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14999         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15000         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15001         unconditionally.
15002         (HAVE_AUX_PAGESIZE): Likewise.
15003         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15004         [__ASSUME_AT_CLKTCK]: Make code unconditional.
15005         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15007 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
15009         [BZ #14307]
15010         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15011         the temporary buffer used to invoke __gethostbyname2_r,
15012         __gethostbyaddr_r and gethostbyname4_r to make room for struct
15013         host_data / struct gaih_addrtuple.
15014         * resolv/nss_dns/dns-host.c (global scope): Move definition of
15015         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15016         header file nss/nsswitch.h.
15017         * nss/nsswitch.h (global scope): Add definition of implementation
15018         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15019         resolv/nss_dns/dns-host.c).
15021 2012-07-11  Andreas Jaeger  <aj@suse.de>
15023         * po/fr.po: Update from translation team.
15025         * po/sv.po: Update from translation team
15026         * po/fr.po: Another update from translation team.
15028 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15030         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15031         for subnormals or multiply small sinh result by itself.
15032         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15033         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15035 2012-07-11  David S. Miller  <davem@davemloft.net>
15037         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15039 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
15041         [BZ #14347]
15042         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15043         (INTERNAL_MARK): Shift it here.
15045 2012-07-10  Marek Polacek  <polacek@redhat.com>
15047         [BZ #14151]
15048         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
15049         libc_cv_asm_global_directive with .globl.
15050         * configure: Regenerated.
15051         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15052         with .globl.
15053         * sysdeps/i386/configure: Regenerated.
15054         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15055         with .globl.
15056         * sysdeps/x86_64/configure: Regenerated.
15057         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15058         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15059         * elf/tst-unique2mod2.c: Likewise.
15060         * elf/tst-unique2mod1.c: Likewise.
15061         * elf/tst-unique1mod2.c: Likewise.
15062         * elf/tst-unique1mod1.c: Likewise.
15063         * sysdeps/s390/s390-32/sysdep.h: Likewise.
15064         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15065         * sysdeps/s390/s390-64/sysdep.h: Likewise.
15066         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15067         * sysdeps/mach/sysdep.h: Likewise.
15068         * sysdeps/i386/sysdep.h: Likewise.
15069         * sysdeps/i386/i386-mcount.S: Likewise.
15070         * sysdeps/x86_64/_mcount.S: Likewise.
15071         * sysdeps/x86_64/sysdep.h: Likewise.
15072         * sysdeps/sh/_mcount.S: Likewise.
15073         * sysdeps/sh/sysdep.h: Likewise.
15074         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15075         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15076         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15077         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15078         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15079         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15080         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15081         * locale/localeinfo.h: Likewise.
15082         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15083         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15085 2012-07-09  Roland McGrath  <roland@hack.frob.com>
15087         [BZ #14336]
15088         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15089         system".
15090         * manual/message.texi (The Uniforum approach): Likewise.
15091         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15092         (glibc iconv Implementation): Likewise.
15094 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
15096         [BZ #14337]
15097         * math/s_clog.c (__clog): Avoid scaling a value down where that
15098         could result in underflow.
15099         * math/s_clog10.c (__clog10): Likewise.
15100         * math/s_clog10f.c (__clog10f): Likewise.
15101         * math/s_clog10l.c (__clog10l): Likewise.
15102         * math/s_clogf.c (__clogf): Likewise.
15103         * math/s_clogl.c (__clogl): Likewise.
15104         * math/libm-test.inc (clog_test): Add more tests.
15105         (clog10_test): Likewise.
15106         * sysdeps/i386/fpu/libm-test-ulps: Update.
15107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15109 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
15111         [BZ #14283]
15112         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15113         by 7 not 8 to examine high bit of fractional part.
15115         [BZ #14042]
15116         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15117         for call to __mcount_internal.
15118         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15119         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15120         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15122 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
15124         [BZ #14154]
15125         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15126         approximation for values within 0x1p-13f of an odd multiple of
15127         pi/4.
15128         * math/libm-test.inc (tan_test): Do not allow spurious underflow
15129         exception.  Add more tests.
15130         * sysdeps/i386/fpu/libm-test-ulps: Update.
15132         [BZ #6778]
15133         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15134         inputs and return -1 for them.  Do not check for +Inf in case not
15135         reachable for +Inf.
15136         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15137         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15138         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15139         and return -1 for them.  Do not check for +Inf in case not
15140         reachable for +Inf.
15141         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15142         define.
15143         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15144         and return -1 for them.  Do not check for +Inf in case not
15145         reachable for +Inf.
15146         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
15147         spurious underflow.
15148         * sysdeps/i386/fpu/libm-test-ulps: Update.
15149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15151 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
15153         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15155 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
15157         [BZ #14157]
15158         [BZ #14331]
15159         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15160         could result in spurious underflow.  Scale down values above
15161         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15162         * math/s_csqrtf.c (__csqrtf): Likewise.
15163         * math/s_csqrtl.c (__csqrtl): Likewise.
15164         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
15165         spurious underflow.
15166         * sysdeps/i386/fpu/libm-test-ulps: Update.
15167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15169 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
15171         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15172         xopen-msg.sed.
15173         * catgets/xopen-msg.awk: New file.
15174         * catgets/xopen-msg.sed: Removed.
15176         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15177         po2text.sed.
15178         * intl/po2test.awk: New file.
15179         * intl/po2test.sed: Removed.
15181 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
15183         [BZ #14328]
15184         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15185         or multiply small sinh result by itself.
15186         * math/s_ctanf.c (__ctanf): Likewise.
15187         * math/s_ctanh.c (__ctanh): Likewise.
15188         * math/s_ctanhf.c (__ctanhf): Likewise.
15189         * math/s_ctanhl.c (__ctanhl): Likewise.
15190         * math/s_ctanl.c (__ctanl): Likewise.
15191         * math/libm-test.inc (ctan_test_tonearest): New function.
15192         (ctan_test_towardzero): Likewise.
15193         (ctan_test_downward): Likewise.
15194         (ctan_test_upward): Likewise.
15195         (ctanh_test_tonearest): Likewise.
15196         (ctanh_test_towardzero): Likewise.
15197         (ctanh_test_downward): Likewise.
15198         (ctanh_test_upward): Likewise.
15199         (main): Call these new functions.
15200         * sysdeps/i386/fpu/libm-test-ulps: Update.
15201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15203 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
15205         * .gitignore: Delete /ports entry.
15207 2012-07-03  Andreas Jaeger  <aj@suse.de>
15209         * po/bg.po: Update from translation team.
15210         * po/cs.po: Likewise.
15211         * po/de.po: Likewise.
15212         * po/hr.po: Likewise.
15213         * po/nl.pl: Likewise.
15214         * po/pl.po: Likewise.
15215         * po/vi.po: Likewise.
15217 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
15219         * Makeconfig [!+link] (+link-before-libc): New variable.
15220         [!+link] (+link-after-libc): Likewise.
15221         [!+link] (+link-tests): Likewise.
15222         [!+link] (+link): Define in terms of $(+link-before-libc) and
15223         $(+link-after-libc).
15224         [!+link-static] (+link-static-before-libc): New variable.
15225         [!+link-static] (+link-static-after-libc): Likewise.
15226         [!+link-static] (+link-static-tests): Likewise.
15227         [!+link-static] (+link-static): Define in terms of
15228         $(+link-static-before-libc) and $(+link-static-after-libc).
15229         [build-shared] (link-libc-before-gnulib): New variable.
15230         [build-shared] (link-libc-tests): Likewise.
15231         [build-shared] (link-libc): Define in terms of
15232         $(link-libc-before-gnulib).
15233         [!build-shared] (link-libc-tests): New variable.
15234         (link-libc-static-tests): New variable.
15235         [!gnulib] (gnulib-arch): New variable.
15236         [!gnulib] (gnulib-tests): Likewise.
15237         [!gnulib] (static-gnulib-arch): Likewise.
15238         [!gnulib] (static-gnulib-tests): Likewise.
15239         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
15240         Define with "=" instead of ":=".
15241         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
15242         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
15243         * Rules (binaries-all-notests): New variable.
15244         (binaries-all-tests): Likewise.
15245         (binaries-static-notests): Likewise.
15246         (binaries-static-tests): Likewise.
15247         (binaries-all): Define using $(binaries-all-notests) and
15248         $(binaries-all-tests).
15249         (binaries-static): Define using $(binaries-static-notests) and
15250         $(binaries-static-tests).
15251         (binaries-shared-tests): New variable.
15252         (binaries-shared-notests): Likewise.
15253         (binaries-shared): Remove variable.
15254         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15255         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15256         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15257         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15258         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15259         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15260         * elf/Makefile (sln-modules): New variable.
15261         (extra-objs): Add $(sln-modules:=.o).
15262         (ldconfig-modules): Add static-stubs.
15263         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15264         * elf/static-stubs.c: New file.
15266         [BZ #14283]
15267         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15268         by 7 not 8 to examine high bit of fractional part.  Use volatile
15269         variables when splitting into final array of floats if
15270         __FLT_EVAL_METHOD__ != 0.
15271         * math/libm-test.inc (cos_test): Add another test.
15272         (sin_test): Likewise.
15273         * sysdeps/i386/fpu/libm-test-ulps: Update.
15275         [BZ #14273]
15276         * math/libm-test.inc (cosh_test): Add more tests.
15278         * version.h (RELEASE): Set to "development".
15279         (VERSION): Set to "2.16.90".
15281 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
15283         * NEWS: Update copyright. Remove last-updated date.
15284         Mention math library bug fixes and timezone data changes.
15285         * README: Mention GNU/Hurd, x32, and HPPA support status.
15287 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
15289         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15291 2012-06-27  Andreas Jaeger  <aj@suse.de>
15293         * manual/contrib.texi (Contributors): Add Samuel Thibault.
15295 2012-06-25  Andreas Jaeger  <aj@suse.de>
15297         * sysdeps/s390/fpu/libm-test-ulps: Update.
15299 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
15300             Thomas Schwinge  <thomas@codesourcery.com>
15302         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15303         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15304         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15305         fanotify_mark.
15307 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
15309         * sysdeps/mach/start.c: Remove file.
15310         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15311         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15312         * sysdeps/sh/init-first.c: Likewise.
15314         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15315         registers for frame unwinding purposes, add CFI directives.
15316         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15317         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15318         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15319         Likewise.
15321         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15322         __fortify_fail returning.
15323         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15325         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15326         sysdeps/sh/____longjmp_chk.S.
15327         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15328         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15329         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15330         (gen-as-const-headers): Append sigaltstack-offsets.sym.
15332         * sysdeps/sh/abort-instr.h: New file.
15333         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15334         process in case exit returns.
15336         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15337         initialize the GOT register before use.
15339         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15340         calculation of ARGC > 4.
15342         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15343         meaningful names to some local labels.
15345 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15346             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15348         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15349         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15350         (__arch_compare_and_exchange_val_16_acq): Likewise.
15351         (__arch_compare_and_exchange_val_32_acq): Likewise.
15352         (atomic_exchange_and_add): Fix gUSA sequence.
15353         (atomic_add): Likewise.
15354         (atomic_add_negative): Likewise.
15355         (atomic_add_zero): Likewise.
15356         (atomic_bit_test_set): Likewise.
15358 2012-06-22  Andreas Schwab  <schwab@redhat.com>
15360         [BZ #13579]
15361         * include/link.h (struct link_map): Add l_free_initfini.
15362         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15363         l_initfini.
15364         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15365         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15366         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15367         set.
15369 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
15371         * configure.in: Use AC_LANG_SOURCE.
15372         * configure: Regenerate.
15374 2012-06-22  Roland McGrath  <roland@hack.frob.com>
15376         * configure.in (libc_cv_localstatedir): New substituted variable.
15377         * configure: Regenerated.
15378         * config.make.in (localstatedir): New variable, substituted from
15379         libc_cv_localstatedir.
15380         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15381         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15382         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15383         * sysdeps/gnu/configure: Regenerated.
15385 2012-06-21  Jeff Law  <law@redhat.com>
15387         [BZ #14277]
15388         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15389         free.  Simplify list management for _LIBC case.
15391 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
15393         [BZ #14273]
15394         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15395         Clear sign bit of 64-bit integer value before comparing against
15396         overflow value.
15398         * sysdeps/mach/configure: Regenerated.
15400 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
15402         [BZ #14278]
15403         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15405 2012-06-21  Jeff Law  <law@redhat.com>
15407         [BZ #13882]
15408         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
15409         uint16_t for elements in the "seen" array to avoid char overflows.
15410         * elf/dl-fini.c (_dl_sort_fini): Likewise.
15411         * elf/dl-open.c (dl_open_worker): Likewise.
15413 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
15415         * scripts/list-sources.sh: Scan PORTS for translations.
15416         * po/libc.pot: Regenerated.
15418 2012-06-21  Andreas Jaeger  <aj@suse.de>
15420         [BZ #12194]
15421         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15422         warning.
15423         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15424         * bits/byteswap-16.h (__bswap_16): Likewise.
15425         * bits/byteswap.h (__bswap_constant_16): Likewise.
15427 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
15429         [BZ #14117]
15430         * sysdeps/i386/fpu_control.h: Removed.
15431         * sysdeps/x86_64/fpu_control.h: Moved to ...
15432         * sysdeps/x86/fpu_control.h: Here.
15434         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15435         (_FPU_SETCW): Likewise.
15437 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
15439         [BZ #14117]
15440         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15441         * sysdeps/x86/fpu/bits/mathinline.h: This.
15442         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15444         [BZ #14050]
15445         [BZ #14117]
15446         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15447         functions if __x86_64__ is defined.
15449 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
15451         * string/endian.h: Add !__ASSEMBLER__ condition for including
15452         conversion interfaces.
15454 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
15456         [BZ #14241]
15457         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15458         of ABS(x) in calculating zero to negative powers other than odd
15459         integers.
15460         * math/libm-test.inc (pow_test): Add more tests.
15462 2012-06-15  Andreas Jaeger  <aj@suse.de>
15464         * manual/contrib.texi (Contributors): Update entry of Liubov
15465         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15466         Machado Filho.
15468 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
15470         * string/string.h: Add __wur to GNU version of strerror_r.
15472 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
15474         [BZ #14229]
15475         * string/Makefile (tests): Add tst-strtok_r.
15476         * string/tst-strtok_r.c: New file.
15477         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15478         RAX_LP/RDX_LP on SAVE_PTR.
15480 2012-06-14  Roland McGrath  <roland@hack.frob.com>
15482         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15484 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
15486         * libm_test.inc (csqrt_test): Allow more spurious underflow
15487         exceptions.
15488         (j0_test): Likewise.
15489         (j1_test): Likewise.
15490         (y0_test): Likewise.
15491         (y1_test): Likewise.
15493 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
15495         * po/Makefile (libc.pot): Use UTF-8 charset.
15497 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
15499         [BZ #14210]
15500         Suppress sign-conversion warning from FD_SET.
15501         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15502         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15503         not unsigned long int.
15504         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15506 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
15508         [BZ #14050]
15509         [BZ #14117]
15510         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15511         __extern_always_inline instead of __extern_inline.
15512         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15513         (__signbit): Likewise.
15514         (__signbitl): Support C++ namespace.
15515         (lrintf): New inline function.
15516         (lrint): Likewise.
15517         (llrintf): Likewise.
15518         (llrint): Likewise.
15519         (fmaxf): Likewise.
15520         (fmax): Likewise.
15521         (fminf): Likewise.
15522         (fmin): Likewise.
15523         (rint): Likewise.
15524         (rintf): Likewise.
15525         (ceil): Likewise.
15526         (ceilf): Likewise.
15527         (floor): Likewise.
15528         (floorf): Likewise.
15529         (nearbyint): Likewise.
15530         (nearbyintf): Likewise.
15532 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
15534         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15535         non-default versions.
15537 2012-06-11  Roland McGrath  <roland@hack.frob.com>
15539         [BZ #14218]
15540         * manual/argp.texi (Argp): Reword argp_parse description slightly.
15542 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
15544         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15545         (FE_UPWARD, FE_DOWNWARD): Don't define.
15546         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15547         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15549         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15550         reading it.
15551         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15552         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15554 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15556         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15557         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15558         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15559         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15561 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
15563         [BZ #14117]
15564         * sysdeps/i386/fpu/bits/fenv.h: Removed.
15565         * sysdeps/i386/fpu/Implies: New file.
15566         * sysdeps/x86_64/fpu/Implies: Likewise.
15567         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15568         * sysdeps/x86/fpu/bits/fenv.h: This.
15570         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15571         __SSE_MATH__.
15573 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15575         [BZ #14134]
15576         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15577         character 0xffff that matches the last element of the
15578         conversion table.
15580 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15582         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15583         fmodl commit.
15585 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15587         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15588         values higher than 25.6283.
15590 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15592         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15593         subnormal exponent extraction and add some __builtin_expect.
15594         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15595         Fix for subnormal mantissa calculation.
15597 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
15599         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15600         cpu2 is -1 and errno is not ENOSYS.
15602 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
15604         [BZ #14117]
15605         * sysdeps/i386/i486/bits/string.h: Renamed to ...
15606         * sysdeps/x86/bits/string.h: This.
15607         * sysdeps/x86_64/bits/string.h: Removed.
15609         * sysdeps/i386/i486/bits/string.h: Define inline functions only
15610         if not compiling for x86-64, but compiling for >= i486.
15612         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15613         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15615         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15616         New macro from Linux kernel 3.4.0.
15617         (FP_XSTATE_MAGIC2): Likewise.
15618         (FP_XSTATE_MAGIC2_SIZE): Likewise.
15619         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15620         (struct _fpx_sw_bytes): New struct.
15621         (struct _xsave_hdr): Likewise.
15622         (struct _ymmh_state): Likewise.
15623         (struct _xstate): Likewise.
15625         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15626         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15627         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15628         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15629         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15630         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15632         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15633         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15634         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15635         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15636         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15637         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15639 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15641         [BZ #13743]
15642         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15643         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15644         (sysdep_headers): Include sys/platform/ppc.h.
15645         * sysdeps/powerpc/test-gettimebase.c: Test for
15646         __ppc_get_timebase() to catch future ISA opcode/insn changes.
15647         * manual/Makefile (appendices): Include platform.texi.
15648         * manual/contrib.texi (Contributors): Update @node pointers.
15649         * manual/maint.texi (Maintenance): Likewise.
15650         (Platform): New node.
15651         * manual/platform.texi: New file.  Document the new features.
15653 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15654             Jakub Jelinek  <jakub@redhat.com>
15656         [BZ #14188]
15657         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15658         where __builtin_expect is unavailable.
15660 2012-06-03  David S. Miller  <davem@davemloft.net>
15662         * stdlib/longlong.h: Updated from GCC.
15664 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
15666         [BZ #14042]
15667         * sysdeps/powerpc/powerpc32/mcount.c: New file.
15668         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15669         __mcount_internal.
15670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15671         (GLIBC_2.16): Likewise.
15673 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
15675         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15677 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
15679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15680         (default-abi): New variable.
15681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15682         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15683         variable.
15684         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15685         Likewise.
15686         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15687         Likewise.
15688         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15689         Likewise.
15691         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15692         definition.  Document in comment.
15694 2012-06-01  David S. Miller  <davem@davemloft.net>
15696         * stdlib/longlong.h: Updated from GCC.
15698 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
15700         [BZ #14117]
15701         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15702         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15703         sys/debugreg.h sys/io.h here.
15704         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15705         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15706         sys/io.h.
15707         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15708         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15709         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15710         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15711         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15712         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15714         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15715         Define only if __x86_64__ is defined.
15717 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
15719         [BZ #14048]
15720         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15721         Use int64_t for variable i.
15722         * math/libm-test.inc (fmod_test): Add more tests.
15724         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15725         z computation is not scheduled after fetestexcept.
15726         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15727         Use math_force_eval instead of asm to ensure calculation scheduled
15728         before exception test.
15729         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15730         Ensure a1 + u.d computation is not scheduled after fetestexcept.
15732 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
15734         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15735         computation is not scheduled after fetestexcept.
15737 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
15739         [BZ #14117]
15740         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15741         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15743 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15745         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15746         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15748 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
15750         [BZ #14117]
15751         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15752         <bits/wordsize.h>.
15753         (__WCHAR_MIN): Support __WORDSIZE == 64.
15754         (__WCHAR_MAX): Likewise.
15756         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15757         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15759         [BZ #14183]
15760         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15761         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15763         [BZ #14117]
15764         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15765         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15767         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15768         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15770         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15771         Defined to 1 if __x86_64__ isn't defined.
15772         (_STAT_VER_LINUX_OLD): New.
15773         (st_atime): Remove duplicate.
15774         (st_mtime): Likewise.
15775         (st_ctime): Likewise.
15777 2012-05-31  David S. Miller  <davem@davemloft.net>
15779         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15780         entries.
15782 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
15784         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15785         gen-libm-test.pl.
15787         [BZ #14132]
15788         * elf/dl-reloc.c: Include <_itoa.h>.
15789         (_dl_reloc_bad_type): Remove use of INTUSE.
15790         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15791         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15792         * stdio-common/psiginfo.c (psiginfo): Likewise.
15793         * stdio-common/psignal.c (psignal): Likewise.
15794         * string/strsignal.c (strsignal): Likewise.
15795         * include/signal.h (_sys_siglist): Declare hidden proto.
15796         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
15797         INTVARDEF with libc_hidden_data_def.
15798         * stdio-common/itoa-udigits.c: Likewise.
15799         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15800         (_itoa_lower_digits_internal): Remove declaration.
15801         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15802         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15803         (_sys_sigabbrev_internal): Remove aliases.
15804         (_sys_siglist): Define hidden alias.
15806 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
15808         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15809         bits/sysctl.h.
15811 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
15813         [BZ #14117]
15814         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15815         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15817         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15818         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15819         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15820         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15821         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15822         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15824         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15825         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15826         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15828         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15829         with __addr.
15830         (insw): Likewise.
15831         (insl): Likewise.
15832         (outsb): Likewise.
15833         (outsw): Likewise.
15834         (outsl): Likewise.
15836         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15837         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15838         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15840         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15841         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15842         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15843         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15844         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15845         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15847         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15848         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15850         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15851         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15853         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15854         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15855         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15857         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15858         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15859         to ...
15860         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15862         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15863         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15864         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15866         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15867         for x86-64.
15868         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15870 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
15872         * math/math.h (M_El): Use two more decimal places.
15873         (M_LOG2El): Likewise.
15874         (M_LOG10El): Likewise.
15875         (M_LN2l): Likewise.
15876         (M_LN10l): Likewise.
15877         (M_PIl): Likewise.
15878         (M_PI_2l): Likewise.
15879         (M_PI_4l): Likewise.
15880         (M_1_PIl): Likewise.
15881         (M_2_PIl): Likewise.
15882         (M_2_SQRTPIl): Likewise.
15883         (M_SQRT2l): Likewise.
15884         (M_SQRT1_2l): Likewise.
15886 2012-05-31  David S. Miller  <davem@davemloft.net>
15888         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15889         values between float registers.
15890         * sysdeps/sparc/sparc64/memset.S: Likewise.
15891         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15893 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
15895         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15896         -D_FORTIFY_SOURCE=1.
15897         (CPPFLAGS-tst-longjmp_chk.c): Define.
15898         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15899         (CPPFLAGS-tst-longjmp_chk2.c): Define.
15900         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15901         CFLAGS-tst-wchar-h.c.
15903 2012-05-31  Marek Polacek  <polacek@redhat.com>
15905         [BZ #14132]
15906         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15907         __endmntent_internal): Remove declaration.
15908         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15909         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15910         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15912 2012-05-30  David S. Miller  <davem@davemloft.net>
15914         * sysdeps/sparc/sparc32/soft-fp/q_util.c
15915         (___Q_simulate_exceptions): Use real FP ops rather than writing
15916         into the %fsr.
15917         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15918         Likewise.
15920 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
15922         [BZ #14117]
15923         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15924         * sysdeps/x86/bits/xtitypes.h: This.
15926         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15927         * sysdeps/x86/bits/wordsize.h: This.
15929         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15930         * sysdeps/x86/bits/huge_vall.h: This.
15932         * sysdeps/i386/bits/select.h: Removed.
15933         * sysdeps/x86_64/bits/select.h: Renamed to ...
15934         * sysdeps/x86/bits/select.h: This.
15936         * sysdeps/i386/bits/setjmp.h: Removed.
15937         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15938         * sysdeps/x86/bits/setjmp.h: This.
15940         * sysdeps/i386/bits/mathdef.h: Removed.
15941         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15942         * sysdeps/x86/bits/mathdef.h: This.
15944 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
15946         [BZ #14132]
15947         * include/sys/socket.h (__connect_internal)
15948         (__libc_sa_len_internal): Remove declaration.
15949         (__connect, __libc_sa_len): Declare hidden_proto.
15950         (SA_LEN): Remove use of INTUSE.
15951         * socket/connect.c: Add libc_hidden_def.
15952         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15953         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15954         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15955         alias.
15956         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15957         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15958         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15959         of adding _internal alias.
15961 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
15963         [BZ #14117]
15964         * sysdeps/i386/bits/link.h: Removed.
15965         * sysdeps/i386/bits/linkmap.h: Likewise.
15966         * sysdeps/x86_64/bits/link.h: Renamed to ...
15967         * sysdeps/x86/bits/link.h: This.
15968         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15969         * sysdeps/x86/bits/linkmap.h: This.
15971         * sysdeps/i386/bits/endian.h: Removed.
15972         * sysdeps/x86_64/bits/endian.h: Renamed to ...
15973         * sysdeps/x86/bits/endian.h: This.
15975         * sysdeps/i386/bits/byteswap.h: Removed.
15976         * sysdeps/i386/bits/byteswap-16.h: Likewise.
15977         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15978         * sysdeps/x86/bits/byteswap.h: This.
15979         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15980         * sysdeps/x86/bits/byteswap-16.h: This.
15981         * sysdeps/i386/Implies: Add x86.
15982         * sysdeps/x86_64/Implies: Likewise.
15984 2012-05-30  David S. Miller  <davem@davemloft.net>
15986         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15987         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15988         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15989         (FP_TRAPPING_EXCEPTIONS): Define.
15990         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15991         (FP_TRAPPING_EXCEPTIONS): Define.
15992         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15993         subnormals only when inexact has been signalled or underflow
15994         exceptions are enabled.
15995         (_FP_PACK_CANONICAL): Likewise.
15997 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
15999         [BZ #14183]
16000         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16001         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16003 2012-05-30  Richard Henderson  <rth@twiddle.net>
16005         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16006         with #ifndef NOT_IN_libc.
16008         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
16009         marked to avoid plt entry.
16011 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
16013         [BZ #14112]
16014         * Makeconfig (default-abi): New macro.
16015         (abi-includes): Likewise.
16016         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
16017         $(abi-$(default-abi)-lib-soname) for soname if defined.
16018         ($(common-objpfx)gnu/lib-names.stmp): Generate from
16019         abi-variants.
16020         * Makefile (installed-stubs): Likewise.
16021         * include/stubs-biarch.h: Removed.
16022         * scripts/lib-names.awk: Only handle one library at a time.
16023         * scripts/soversions.awk: Remove WORDSIZE support.
16024         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16025         entries.
16026         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16027         Removed.
16028         (syscall-list-default-condition): Likewise.
16029         (syscall-list-default-condition): Likewise.
16030         (syscall-list-includes): Likewise.
16031         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16032         syscall-list-* with abi-*.  Handle undefined abi-variants.
16033         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16034         * sysdeps/unix/sysv/linux/i386/Implies: New file.
16035         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16036         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16037         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16038         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16039         Removed.
16040         (syscall-list-32-options): Likewise.
16041         (syscall-list-32-condition): Likewise.
16042         (syscall-list-64-options): Likewise.
16043         (syscall-list-64-condition): Likewise.
16044         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16045         macro.
16046         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16047         Renamed to ...
16048         (abi-*): This.
16049         (abi-64-ld-soname): New macro.
16050         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16051         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16052         Renamed to ...
16053         (abi-*): This.
16054         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16055         * sysdeps/x86_64/x32/shlib-versions: Likewise.
16057 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
16059         * sysdeps/unix/sysv/linux/kernel-features.h
16060         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16061         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16062         include <kernel-features.h>.
16063         [!__NR_ftruncate64]: Remove conditional code.
16064         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16065         [__NR_ftruncate64]: Make code unconditional.
16066         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16067         * sysdeps/unix/sysv/linux/truncate64.c: Do not
16068         include <kernel-features.h>.
16069         [!__NR_ftruncate64]: Remove conditional code.
16070         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16071         [__NR_ftruncate64]: Make code unconditional.
16072         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16074         include <kernel-features.h>.
16075         [!__NR_ftruncate64]: Remove conditional code.
16076         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16077         [__NR_ftruncate64]: Make code unconditional.
16078         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16080         include <kernel-features.h>.
16081         [!__NR_ftruncate64]: Remove conditional code.
16082         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16083         [__NR_ftruncate64]: Make code unconditional.
16084         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16086         * configure.in (libc_cv_fpie): Weaken to a compile test using
16087         LIBC_TRY_CC_OPTION.
16088         * configure: Regenerated.
16090 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16094         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16096         Refreshed.
16097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16099         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16100         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16101         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16102         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16103         Refreshed.
16105 2012-05-27  David S. Miller  <davem@davemloft.net>
16107         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16108         (___Q_zero): New.
16109         (__Q_simulate_exceptions): Return void.  Change to simulate
16110         exceptions by writing into the %fsr.
16111         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16112         (__Qp_handle_exceptions): Likewise.
16113         (numbers): Delete.
16114         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16115         __Qp_handle_exceptions.
16116         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16117         __Qp_handle_exceptions.
16118         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16119         as unused and give dummy FP_RND_NEAREST initializer.
16120         (FP_INHIBIT_RESULTS): Define.
16121         (___Q_simulate_exceptions): Update declaration.
16122         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16123         formatting.
16124         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16125         as unused and give dummy FP_RND_NEAREST initializer.
16126         (__Qp_handle_exceptions): Update declaration.
16127         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16128         formatting.
16130 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
16132         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16133         the temporary FPU control word.
16134         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16135         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16136         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16137         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16138         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16139         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16140         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16141         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16142         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16143         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16144         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16146 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16148         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16149         fields.
16151 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
16153         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16154         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16155         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16156         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16157         Likewise.
16158         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16159         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16160         Likewise.
16162 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
16164         * po/h.po: Update from translation team.
16166 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
16168         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16170         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16171         handling of denormals.
16172         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16173         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16174         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16175         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16176         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16177         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16178         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16179         Likewise.
16181 2012-05-26  Marek Polacek  <polacek@redhat.com>
16183         [BZ #14152]
16184         * math/libm-test.inc (fma_test): Don't always expect underflow
16185         exception.
16187 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16189         [BZ #12416]
16190         * elf/tst-execstack.c: Include stackinfo.h.
16191         (do_test): Adjust test case to ensure that pthread_getattr_np
16192         behaviour remains the same after marking stack executable.
16194 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
16196         * sysdeps/unix/sysv/linux/kernel-features.h
16197         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16198         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16199         kernel-features.h.
16200         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16201         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16202         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16203         kernel-features.h.
16204         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16205         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16207 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
16209         * configure.in: Define the default includes to being none.
16210         * configure: Regenerated.
16212 2012-05-25  Roland McGrath  <roland@hack.frob.com>
16214         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16215         * sysdeps/x86_64/setjmp.S: Likewise.
16216         * sysdeps/i386/bsd-setjmp.S: Likewise.
16217         * sysdeps/i386/bsd-_setjmp.S: Likewise.
16218         * sysdeps/i386/setjmp.S: Likewise.
16219         * sysdeps/i386/__longjmp.S: Likewise.
16220         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16221         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16223         * include/stap-probe.h: New file.
16224         * configure.in: Handle --enable-systemtap.
16225         * configure: Regenerated.
16226         * config.h.in (USE_STAP_PROBE): New #undef.
16227         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16228         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16229         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16231 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
16233         [BZ #13717]
16234         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16235         to 2.4.0 where earlier.
16236         * sysdeps/unix/sysv/linux/configure: Regenerated.
16237         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16238         <kernel-features.h>.
16239         [__ASSUME_32BITUIDS]: Make code unconditional.
16240         [!__ASSUME_32BITUIDS]: Remove conditional code.
16241         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16242         <kernel-features.h>.
16243         [__ASSUME_32BITUIDS]: Make code unconditional.
16244         [!__ASSUME_32BITUIDS]: Remove conditional code.
16245         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16246         [__ASSUME_32BITUIDS]: Make code unconditional.
16247         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16248         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16249         <kernel-features.h>.
16250         [__ASSUME_32BITUIDS]: Make code unconditional.
16251         [!__ASSUME_32BITUIDS]: Remove conditional code.
16252         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16253         <kernel-features.h>.
16254         [__ASSUME_32BITUIDS]: Make code unconditional.
16255         [!__ASSUME_32BITUIDS]: Remove conditional code.
16256         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16257         <kernel-features.h>.
16258         [__ASSUME_32BITUIDS]: Make code unconditional.
16259         [!__ASSUME_32BITUIDS]: Remove conditional code.
16260         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16261         <kernel-features.h>.
16262         [__ASSUME_32BITUIDS]: Make code unconditional.
16263         [!__ASSUME_32BITUIDS]: Remove conditional code.
16264         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16265         <kernel-features.h>.
16266         [__ASSUME_32BITUIDS]: Make code unconditional.
16267         [!__ASSUME_32BITUIDS]: Remove conditional code.
16268         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16269         <kernel-features.h>.
16270         [__ASSUME_32BITUIDS]: Make code unconditional.
16271         [!__ASSUME_32BITUIDS]: Remove conditional code.
16272         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16273         <kernel-features.h>.
16274         [__ASSUME_32BITUIDS]: Make code unconditional.
16275         [!__ASSUME_32BITUIDS]: Remove conditional code.
16276         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16277         <kernel-features.h>.
16278         [__ASSUME_32BITUIDS]: Make code unconditional.
16279         [!__ASSUME_32BITUIDS]: Remove conditional code.
16280         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16281         <kernel-features.h>.
16282         [__ASSUME_32BITUIDS]: Make code unconditional.
16283         [!__ASSUME_32BITUIDS]: Remove conditional code.
16284         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16285         <kernel-features.h>.
16286         [__ASSUME_32BITUIDS]: Make code unconditional.
16287         [!__ASSUME_32BITUIDS]: Remove conditional code.
16288         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16289         <kernel-features.h>.
16290         [__NR_setresgid] (__setresgid): Do not declare.
16291         [__ASSUME_32BITUIDS]: Make code unconditional.
16292         [!__ASSUME_32BITUIDS]: Remove conditional code.
16293         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16294         <kernel-features.h>.
16295         [__NR_setresuid] (__setresuid): Do not declare.
16296         [__ASSUME_32BITUIDS]: Make code unconditional.
16297         [!__ASSUME_32BITUIDS]: Remove conditional code.
16298         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16299         <kernel-features.h>.
16300         [__ASSUME_32BITUIDS]: Make code unconditional.
16301         [!__ASSUME_32BITUIDS]: Remove conditional code.
16302         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16303         <kernel-features.h>.
16304         [__ASSUME_32BITUIDS]: Make code unconditional.
16305         [!__ASSUME_32BITUIDS]: Remove conditional code.
16306         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16307         <kernel-features.h>.
16308         [__ASSUME_32BITUIDS]: Make code unconditional.
16309         [!__ASSUME_32BITUIDS]: Remove conditional code.
16310         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16311         <kernel-features.h>.
16312         [__ASSUME_32BITUIDS]: Make code unconditional.
16313         [!__ASSUME_32BITUIDS]: Remove conditional code.
16314         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16315         <kernel-features.h>.
16316         [__ASSUME_32BITUIDS]: Make code unconditional.
16317         [!__ASSUME_32BITUIDS]: Remove conditional code.
16318         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16319         <kernel-features.h>.
16320         [__ASSUME_32BITUIDS]: Make code unconditional.
16321         [!__ASSUME_32BITUIDS]: Remove conditional code.
16322         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16323         <kernel-features.h>.
16324         [__ASSUME_32BITUIDS]: Make code unconditional.
16325         [!__ASSUME_32BITUIDS]: Remove conditional code.
16326         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16327         <kernel-features.h>.
16328         [__ASSUME_32BITUIDS]: Make code unconditional.
16329         [!__ASSUME_32BITUIDS]: Remove conditional code.
16330         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16331         <kernel-features.h>.
16332         [__ASSUME_32BITUIDS]: Make code unconditional.
16333         [!__ASSUME_32BITUIDS]: Remove conditional code.
16334         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16335         <kernel-features.h>.
16336         [__ASSUME_32BITUIDS]: Make code unconditional.
16337         [!__ASSUME_32BITUIDS]: Remove conditional code.
16338         * sysdeps/unix/sysv/linux/kernel-features.h
16339         (__ASSUME_SETRESUID_SYSCALL): Remove.
16340         (__ASSUME_SETRESGID_SYSCALL): Likewise.
16341         (__ASSUME_32BITUIDS): Likewise.
16342         (__ASSUME_LDT_WORKS): Likewise.
16343         (__ASSUME_O_DIRECTORY): Likewise.
16344         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16345         architecture but not kernel version.
16346         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16347         (__ASSUME_MMAP2_SYSCALL): Likewise.
16348         (__ASSUME_STAT64_SYSCALL): Likewise.
16349         (__ASSUME_IPC64): Likewise.
16350         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16351         <kernel-features.h>.
16352         [__ASSUME_32BITUIDS]: Make code unconditional.
16353         [!__ASSUME_32BITUIDS]: Remove conditional code.
16354         * sysdeps/unix/sysv/linux/opendir.c: Do not include
16355         <kernel-features.h>.
16356         [__ASSUME_O_DIRECTORY]: Make code unconditional.
16357         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16358         132096]: Remove conditional code.
16359         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16360         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16361         <kernel-features.h>.
16362         [__ASSUME_32BITUIDS]: Make code unconditional.
16363         [!__ASSUME_32BITUIDS]: Remove conditional code.
16364         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16365         <kernel-features.h>.
16366         [__ASSUME_32BITUIDS]: Make code unconditional.
16367         [!__ASSUME_32BITUIDS]: Remove conditional code.
16368         * sysdeps/unix/sysv/linux/setegid.c: Do not include
16369         <kernel-features.h>.
16370         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16371         unconditional.
16372         (__setresgid): Do not declare.
16373         [__ASSUME_32BITUIDS]: Make code unconditional.
16374         [!__ASSUME_32BITUIDS]: Remove conditional code.
16375         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16376         <kernel-features.h>.
16377         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16378         unconditional.
16379         (__setresuid): Do not declare.
16380         [__ASSUME_32BITUIDS]: Make code unconditional.
16381         [!__ASSUME_32BITUIDS]: Remove conditional code.
16382         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16383         <kernel-features.h>.
16384         [__ASSUME_32BITUIDS]: Make code unconditional.
16385         [!__ASSUME_32BITUIDS]: Remove conditional code.
16386         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16387         <kernel-features.h>.
16388         [__ASSUME_32BITUIDS]: Make code unconditional.
16389         [!__ASSUME_32BITUIDS]: Remove conditional code.
16391 2012-05-25  Richard Henderson  <rth@twiddle.net>
16393         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16394         dl_hwcap to ifunc resolver.
16395         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16396         elf_ifunc_invoke.
16397         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16398         dl_hwcap to ifunc resolver.
16399         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16401 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
16403         [BZ #14153]
16404         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16405         for |x| <= 2**-26, not 2**-57.
16406         * math/libm-test.inc (acos_test): Do not allow spurious underflow
16407         exception.
16409 2012-05-24  Jeff Law  <law@redhat.com>
16411         * stdio-common/Makefile (tests): Add bug25.
16412         * stdio-common/bug25.c: New test.
16414 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
16416         [BZ #13576]
16417         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16418         multiple of MALLOC_ALIGNMENT in size.
16419         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16421 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
16423         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16424         Require >= 256.
16425         (FILENAME_MAX): Use macro-int-constant.
16426         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
16427         (_IOFBF): Use macro-int-constant.
16428         (_IOLBF): Likewise.
16429         (_IONBF): Likewise.
16430         (SEEK_CUR): Likewise.
16431         (SEEK_END): Likewise.
16432         (SEEK_SET): Likewise.
16433         (TMP_MAX): Likewise.
16434         (EOF): Use macro-int-constant.  Require < 0.
16435         (NULL): Use macro-constant.  Require == 0.
16436         (stdin): Require type to be FILE *.
16437         (stdout): Likewise.
16438         (stderr): Likewise.
16439         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16440         macro-int-constant.
16441         (EXIT_SUCCESS): Likewise.
16442         (NULL): Use macro-constant.  Require == 0.
16443         (RAND_MAX): Use macro-int-constant.
16444         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16445         [C99-based standards] (strtof): Require function.
16446         [C99-based standards] (strtold): Likewise.
16447         [C99-based standards] (strtoll): Likewise.
16448         [C99-based standards] (strtoull): Likewise.
16449         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16450         [ISO || ISO99 || ISO11] (limits.h): Likewise.
16451         [ISO || ISO99 || ISO11] (math.h): Likewise.
16452         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16453         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16454         [ISO || ISO99 || ISO11] (*_t): Do not allow.
16456 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
16458         [BZ #14132]
16459         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16460         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16461         * intl/dgettext.c (DCGETTEXT): Likewise.
16462         * intl/gettext.c (DCGETTEXT): Likewise.
16463         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16464         * posix/regex_internal.h (gettext): Likewise.
16465         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16466         Remove declaration.
16467         * include/argz.h (__argz_count_internal)
16468         (__argz_stringify_internal): Remove declaration.
16469         (__argz_count, __argz_stringify): Declare hidden proto.
16470         * intl/dcgettext.c: Remove use of INTDEF.
16471         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16472         * string/argz-stringify.c: Likewise.
16473         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16474         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16475         Declare hidden proto.
16476         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16477         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16478         Declare hidden proto.
16479         * include/stdio.h (__asprintf_internal): Don't declare.
16480         (__asprintf): Don't define as macro.  Declare hidden proto.
16481         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16482         (__fsetlocking): Declare hidden proto.
16483         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16484         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16485         hidden proto.
16486         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16487         (_IO_setlinebuf): Remove use of INTUSE.
16488         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16489         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16490         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16491         Remove declaration.
16492         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16493         (_IO_do_flush): Remove use of INTUSE.
16494         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16495         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16496         (_IO_adjust_column, _IO_least_wmarker)
16497         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16498         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16499         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16500         (_IO_default_doallocate, _IO_wdefault_doallocate)
16501         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16502         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16503         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16504         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16505         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16506         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16507         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16508         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16509         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16510         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16511         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16512         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16513         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16514         proto.
16515         (_IO_flush_all_internal, _IO_adjust_column_internal)
16516         (_IO_default_uflow_internal, _IO_default_finish_internal)
16517         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16518         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16519         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16520         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16521         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16522         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16523         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16524         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16525         (_IO_file_close_internal, _IO_file_close_it_internal)
16526         (_IO_file_underflow_internal, _IO_file_overflow_internal)
16527         (_IO_file_init_internal, _IO_file_attach_internal)
16528         (_IO_file_fopen_internal, _IO_file_read_internal)
16529         (_IO_file_sync_internal, _IO_file_seek_internal)
16530         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16531         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16532         (_IO_str_underflow_internal, _IO_str_overflow_internal)
16533         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16534         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16535         (_IO_list_all_internal, _IO_link_in_internal)
16536         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16537         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16538         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16539         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16540         (_IO_do_write_internal, _IO_padn_internal)
16541         (_IO_getline_info_internal, _IO_getline_internal)
16542         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16543         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16544         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16545         (_IO_vfscanf_internal, _IO_vfprintf_internal)
16546         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16547         (_IO_init_internal, _IO_un_link_internal): Don't declare.
16548         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16549         with libc_hidden_ver, remove use of INTUSE.
16550         * libio/genops.c: Likewise.
16551         * libio/freopen.c: Likewise.
16552         * libio/freopen64.c: Likewise.
16553         * libio/iofclose.c: Likewise.
16554         * libio/iofdopen.c: Likewise.
16555         * libio/iofflush.c: Likewise.
16556         * libio/iofflush_u.c: Likewise.
16557         * libio/iofgets.c: Likewise.
16558         * libio/iofgets_u.c: Likewise.
16559         * libio/iofopen.c: Likewise.
16560         * libio/iofopncook.c: Likewise.
16561         * libio/iofread.c: Likewise.
16562         * libio/iofread_u.c: Likewise.
16563         * libio/ioftell.c: Likewise.
16564         * libio/iofwrite.c: Likewise.
16565         * libio/iogetline.c: Likewise.
16566         * libio/iogets.c: Likewise.
16567         * libio/iogetwline.c: Likewise.
16568         * libio/iopadn.c: Likewise.
16569         * libio/iopopen.c: Likewise.
16570         * libio/ioseekoff.c: Likewise.
16571         * libio/ioseekpos.c: Likewise.
16572         * libio/iosetbuffer.c: Likewise.
16573         * libio/iosetvbuf.c: Likewise.
16574         * libio/ioungetc.c: Likewise.
16575         * libio/ioungetwc.c: Likewise.
16576         * libio/iovdprintf.c: Likewise.
16577         * libio/iovsprintf.c: Likewise.
16578         * libio/iovsscanf.c: Likewise.
16579         * libio/memstream.c: Likewise.
16580         * libio/obprintf.c: Likewise.
16581         * libio/oldfileops.c: Likewise.
16582         * libio/oldiofclose.c: Likewise.
16583         * libio/oldiofdopen.c: Likewise.
16584         * libio/oldiofopen.c: Likewise.
16585         * libio/oldiopopen.c: Likewise.
16586         * libio/oldstdfiles.c: Likewise.
16587         * libio/putc.c: Likewise.
16588         * libio/setbuf.c: Likewise.
16589         * libio/setlinebuf.c: Likewise.
16590         * libio/stdfiles.c: Likewise.
16591         * libio/strops.c: Likewise.
16592         * libio/vasprintf.c: Likewise.
16593         * libio/vscanf.c: Likewise.
16594         * libio/vsnprintf.c: Likewise.
16595         * libio/vswprintf.c: Likewise.
16596         * libio/wfiledoalloc.c: Likewise.
16597         * libio/wfileops.c: Likewise.
16598         * libio/wgenops.c: Likewise.
16599         * libio/wmemstream.c: Likewise.
16600         * libio/wstrops.c: Likewise.
16601         * libio/__fpurge.c: Likewise.
16602         * libio/__fsetlocking.c: Likewise.
16603         * assert/assert.c: Likewise.
16604         * debug/fgets_chk.c: Likewise.
16605         * debug/fgets_u_chk.c: Likewise.
16606         * debug/fread_chk.c: Likewise.
16607         * debug/fread_u_chk.c: Likewise.
16608         * debug/gets_chk.c: Likewise.
16609         * debug/obprintf_chk.c: Likewise.
16610         * debug/vasprintf_chk.c: Likewise.
16611         * debug/vdprintf_chk.c: Likewise.
16612         * debug/vsnprintf_chk.c: Likewise.
16613         * debug/vsprintf_chk.c: Likewise.
16614         * malloc/mtrace.c: Likewise.
16615         * misc/error.c: Likewise.
16616         * misc/syslog.c: Likewise.
16617         * stdio-common/asprintf.c: Likewise.
16618         * stdio-common/fxprintf.c: Likewise.
16619         * stdio-common/getw.c: Likewise.
16620         * stdio-common/isoc99_fscanf.c: Likewise.
16621         * stdio-common/isoc99_scanf.c: Likewise.
16622         * stdio-common/isoc99_vfscanf.c: Likewise.
16623         * stdio-common/isoc99_vscanf.c: Likewise.
16624         * stdio-common/isoc99_vsscanf.c: Likewise.
16625         * stdio-common/printf-prs.c: Likewise.
16626         * stdio-common/printf_fp.c: Likewise.
16627         * stdio-common/printf_fphex.c: Likewise.
16628         * stdio-common/printf_size.c: Likewise.
16629         * stdio-common/putw.c: Likewise.
16630         * stdio-common/scanf.c: Likewise.
16631         * stdio-common/sprintf.c: Likewise.
16632         * stdio-common/tmpfile.c: Likewise.
16633         * stdio-common/vfprintf.c: Likewise.
16634         * stdio-common/vfscanf.c: Likewise.
16635         * stdlib/strfmon_l.c: Likewise.
16636         * sunrpc/openchild.c: Likewise.
16637         * sunrpc/xdr_stdio.c: Likewise.
16638         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16639         * sysdeps/mach/hurd/tmpfile.c: Likewise.
16641 2012-05-24  Roland McGrath  <roland@hack.frob.com>
16643         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16645         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16646         in the third column, to generate for the shared library an IFUNC
16647         that uses _dl_vdso_vsym.
16648         * Makerules (COMPILE.c, compile-stdin.c): New variables.
16649         * Makeconfig (object-suffixes-noshared): New variable.
16651         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16652         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16653         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16654         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16656         [BZ #14132]
16657         * include/sys/time.h (__gettimeofday): Remove macro.
16658         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16659         * time/gettimeofday.c (__gettimeofday): Remove #undef.
16660         Remove INTDEF.
16661         (__gettimeofday): Add libc_hidden_def.
16662         (gettimeofday): Add libc_hidden_weak.
16663         * sysdeps/mach/gettimeofday.c: Likewise.
16664         * sysdeps/posix/gettimeofday.c: Likewise.
16665         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16666         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16667         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16668         (__gettimeofday_internal): Remove strong_alias.
16669         (__gettimeofday): Add libc_hidden_def.
16670         (gettimeofday): Add libc_hidden_weak.
16671         * sysdeps/unix/syscalls.list (gettimeofday):
16672         Remove __gettimeofday_internal alias.
16674 2012-05-24  Daniel Jacobowitz  <drow@false.org>
16675             H.J. Lu  <hongjiu.lu@intel.com>
16677         [BZ #12495]
16678         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16679         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16680         (largebin_index_32_big): New.
16681         (largebin_index): Use it for 16-byte alignment.
16682         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
16683         correction with front_misalign.
16685 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
16687         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16688         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16689         Likewise.
16690         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16691         Likewise.
16692         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16693         Likewise.
16694         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16695         Likewise.
16696         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16697         Likewise.
16698         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16699         Likewise.
16700         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16701         Likewise.
16702         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16703         Likewise.
16704         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16705         Likewise.
16706         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16707         Likewise.
16708         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16709         Likewise.
16710         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16711         Likewise.
16713         * scripts/data/c++-types-x32-linux-gnu.data: New file.
16714         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16716 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
16718         [BZ #10846]
16719         [BZ #14036]
16720         * math/libm-test.inc (exp_test): Add test from bug 14036.
16721         (pow_test): Add test from bug 10846.
16723         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16724         and other flags.
16725         (special_function): Do not include flags in test name.
16726         (parse_args): Likewise.
16727         * sysdeps/i386/fpu/libm-test-ulps: Update.
16728         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16729         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16730         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16733         * math/gen-libm-test.pl (%beautify): Add entries for underflow
16734         exceptions.
16735         * math/libm-test.inc ("Philosophy"): Update comment about
16736         exception testing.
16737         (UNDERFLOW_EXCEPTION): New macro.
16738         (UNDERFLOW_EXCEPTION_OK): Likewise.
16739         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16740         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16741         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16742         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16743         (INVALID_EXCEPTION_OK): Update value.
16744         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16745         (OVERFLOW_EXCEPTION_OK): Likewise.
16746         (IGNORE_ZERO_INF_SIGN): Likewise.
16747         (test_exceptions): Handle underflow exceptions.
16748         (acos_test): Update for underflow exception expectations.
16749         (cexp_test): Likewise.
16750         (clog_test): Likewise.
16751         (clog10_test): Likewise.
16752         (csqrt_test): Likewise.
16753         (ctan_test): Likewise.
16754         (ctanh_test): Likewise.
16755         (exp_test): Likewise.
16756         (exp10_test): Likewise.
16757         (exp2_test): Likewise.
16758         (expm1_test): Likewise.
16759         (fma_test): Likewise.
16760         (j0_test): Likewise.
16761         (jn_test): Likewise.
16762         (nexttoward_test): Likewise.
16763         (pow_test): Likewise.
16764         (scalbn_test): Likewise.
16765         (scalbln_test): Likewise.
16766         (tan_test): Likewise.
16767         (y1_test): Likewise.
16768         * sysdeps/i386/fpu/libm-test-ulps: Update.
16769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16771 2012-05-23  David S. Miller  <davem@davemloft.net>
16773         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16774         (__libc_sigaction): Remove unused local variables.
16776 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
16778         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16780 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
16782         mktime: avoid signed integer overflow
16783         * time/mktime.c (__mktime_internal): Do not mishandle the case
16784         where diff == INT_MIN.
16786         mktime: simplify computation of average
16787         * time/mktime.c (ranged_convert): Use new time_t_avg function
16788         instead of rolling our own (probably-slower) code.
16790         mktime: do not assume signed right shift propagates sign bit
16791         * time/mktime.c (isdst_differ): New static function.
16792         (__mktime_internal): No need to normalize tm_isdst now.
16793         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16794         tm_isdst values.
16796         mktime: merge another wrapv change from gnulib
16797         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16798         from some compilers.
16800         mktime: remove incorrect attempt at unusual arithmetics
16801         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16802         The code didn't really work on such machines anyway.
16803         (TYPE_MINIMUM): Assume two's complement.
16804         (twos_complement_arithmetic): Verify that long_int and time_t
16805         are two's complement (or unsigned, in the latter case).
16807         mktime: check signed shifts on long_int and time_t, too
16808         * time/mktime.c (SHR): Check that shifts work as desired
16809         on the types long_int and time_t too, as SHR is used on
16810         such types.
16812         mktime: do not assume 'long' is wide enough
16813         * time/mktime.c (verify): Move decl up.
16814         (long_int): New type.
16815         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16816         to remove assumption in the code that 'long' is wide enough to
16817         store year values.  This assumption is not true on x32 and on
16818         some non-glibc platforms.
16820         mktime: merge wrapv change from gnulib
16821         * time/mktime.c (WRAPV): New macro.
16822         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16823         (guess_time_tm, __mktime_internal): Do not assume that signed
16824         integer overflow wraps around; modern compilers generate code
16825         where this assumption is no longer valid.
16827 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
16829         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16830         Replace "jmp L(pseudo_end)" with "ret".
16831         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16832         Likewise.
16834 2012-05-23  Andreas Jaeger  <aj@suse.de>
16836         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16837         * sysdeps/unix/sysv/linux/poll.c: Remove file.
16839 2012-05-23  Andreas Jaeger  <aj@suse.de>
16840             Maximilian Attems  <max@stro.at>
16842         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16843         New macros.
16845 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
16847         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16848         code so that pseudo_end is just ret and the stack pointer is
16849         correct also for static library in error case.
16851 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
16853         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16854         move to syscalls.list.
16855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16860         * manual/install.texi (Running make install): Do not mention Linux
16861         kernel version for which pt_chown is not needed.
16862         (Linux): Do not mention problems with nscd with 2.0 kernels.
16863         * INSTALL: Regenerated.
16865 2012-05-23  Andreas Jaeger  <aj@suse.de>
16867         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16868         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16869         macro.
16870         * sysdeps/unix/sysv/linux/s390/bits/mman.h
16871         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16872         * sysdeps/unix/sysv/linux/sh/bits/mman.h
16873         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16874         * sysdeps/unix/sysv/linux/i386/bits/mman.h
16875         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16876         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16877         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16878         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16879         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16880         * sysdeps/unix/sysv/linux/bits/in.h
16881         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16883 2012-05-22  Roland McGrath  <roland@hack.frob.com>
16885         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16886         (PREPARE_VERSION): Just use assert instead, it will be elided
16887         under [NDEBUG] anyway.
16889 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16891         * sysdeps/unix/sysv/linux/Makefile: Include
16892         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
16893         (sysdep_routines): Remove sysctl.
16894         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16895         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16896         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16897         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16898         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16900 2012-05-22  Andreas Jaeger  <aj@suse.de>
16902         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16903         that pseudo_end is just ret and the stack pointer is correct also
16904         for static library in error case.
16906 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
16908         [BZ #14122]
16909         * nss/nsswitch.c (defconfig_entries): New variable.
16910         (__nss_database_lookup): Don't leak defconfig entries.
16911         (nss_parse_service_list): Don't leak on error paths.
16912         (free_database_entries): New function.
16913         (free_defconfig): New function.
16914         (free_mem): Move common code to free_database_entries.
16916 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16918         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16919         Add arch_prctl.
16920         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16922         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16923         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16924         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16925         New macro.
16926         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16927         (INTERNAL_SYSCALL_TYPES): Likewise.
16928         (LOAD_ARGS_TYPES_[1-6]): Likewise.
16929         (LOAD_REGS_TYPES_[1-6]): Likewise.
16930         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16931         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16933 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16935         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16936         copysignl for GLIBC_2_0.
16937         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16938         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16939         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16940         logbl for GLIBC_2_0.
16941         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16942         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16944 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16946         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16947         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
16949         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16950         Use "neg %eax".
16952         * time/mktime.c: Update copyright years.
16954 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
16956         mktime: merge comment-quoting-style change from gnulib
16957         * time/mktime.c: Quote 'like this' in comments.
16958         The GNU coding standards suggest that we no longer quote `like this',
16959         as "`" and "'" are typically rendered asymmetrically nowadays.
16960         The typical gnulib style is to quote 'like this' when quoting
16961         code, and "like this" when quoting English.
16963         * time/mktime.c (compile-command): Add "-I.".
16965         mktime: merge mktime-internal.h change from gnulib
16966         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16968         mktime: merge time_r change from gnulib
16969         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16971         mktime: merge DEBUG change from gnulib
16972         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16973         case system <time.h> has a #define.
16975         mktime: merge <sys/types.h> change from gnulib
16976         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16977         since <time.t> is now guaranteed to define time_t.
16979         mktime: merge HAVE_CONFIG_H change from gnulib
16980         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16982 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16984         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16985         Use "neg %eax".
16987         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16988         __rlim_t cast.
16989         (struct rusage): Use anonymous union to pad each field to
16990         __syscall_slong_t.
16992 2012-05-21  David S. Miller  <davem@davemloft.net>
16994         * Makefules (o-iterator): Remove .s cases.
16995         (compile-command.s): Delete.
16996         (COMPILE.s): Delete.
16997         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16999 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
17001         * configure.in (libc_cv_predef_stack_protector): Only consider
17002         "foobar" and "__stack_chk_fail" lines in libc_undefs.
17003         * configure: Regenerated.
17005 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
17007         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17008         New macro.  Use R*LP on int and pointer.
17009         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
17010         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17011         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
17012         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17014         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17015         [__WORDSIZE_TIME64_COMPAT32] instead of
17016         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17017         (struct utmp): Likewise.
17018         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17019         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17020         Renamed to ...
17021         (__WORDSIZE_TIME64_COMPAT32): This.
17022         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17023         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17024         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17025         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17026         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17027         (__WORDSIZE_TIME64_COMPAT32): New macro.
17029 2012-05-21  Andreas Jaeger  <aj@suse.de>
17031         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17032         only if [SHARED]. Add prototype for __wcschr_ia32.
17034 2012-05-21  Roland McGrath  <roland@hack.frob.com>
17036         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17037         of %rbp unmolested in the jmp_buf while mangling the low bits.
17038         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17039         unmolested high bits of %rbp while demangling the low bits.
17040         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17042 2012-05-21  Andreas Jaeger  <aj@suse.de>
17044         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17045         * sunrpc/svc_simple.c: Use it for registerrpc.
17046         * sunrpc/xcrypt.c: Use it for passwd2des.
17048         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17050 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
17052         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17053         Don't define if [__SYSCALL_WORDSIZE != 32].
17054         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17055         New macro.
17057 2012-05-21  Bruno Haible  <bruno@clisp.org>
17058             Andreas Jaeger  <aj@suse.de>
17060         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17061         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17062         inptr and inend for must_buffer_ch.
17063         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17064         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17065         * stdio-common/Makefile (tests): Remove bug15.
17066         (bug15-ENV): Remove macro.
17067         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17068         anymore.
17070 2012-05-19  Andreas Jaeger  <aj@suse.de>
17071             Roland McGrath  <roland@hack.frob.com>
17073         * manual/contrib.texi: Completely rewritten. It contains now an
17074         alphabetical list of contributors and their contributions.
17076 2012-05-21  Richard Henderson  <rth@twiddle.net>
17078         * misc/getauxval.c (__getauxval): Use unsigned long int.
17079         * misc/sys/auxv.h: Include <sys/cdefs.h>.
17080         (getauxval): Use unsigned long int.
17082 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
17084         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17086 2012-05-21  Roland McGrath  <roland@hack.frob.com>
17088         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17089         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17090         __alignof__ (long double).
17092 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17096 2012-05-20  Richard Henderson  <rth@twiddle.net>
17098         * misc/getauxval.c: New file.
17099         * misc/sys/auxv.h: New file.
17100         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17101         (routines): Add getauxval.
17102         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17103         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17104         * elf/dl-sysdep.c (_dl_auxv): Remove.
17105         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17106         * elf/dl-support.c (_dl_auxv): New variable.
17107         (_dl_aux_init): Initialize it.
17108         * manual/startup.texi (Auxiliary Vector): New node.
17109         * sysdeps/generic/bits/hwcap.h: New file.
17110         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17111         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
17112         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17113         * sysdeps/sparc/sysdep.h: ... here.  Include it.
17114         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17115         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
17116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17117         Update.
17118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17120         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17121         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17122         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17123         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17124         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17125         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17127 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17129         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17131 2012-05-19  David S. Miller  <davem@davemloft.net>
17133         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17135 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
17137         [BZ #14123]
17138         * math/s_ccosh.c: Include <float.h>
17139         (__ccosh): Avoid internal overflow calculating sinh and cosh
17140         values before multiplying by sin and cos values.
17141         * math/s_ccoshf.c: Likewise.
17142         * math/s_ccoshl.c: Likewise.
17143         * math/s_csin.c: Likewise.
17144         * math/s_csinf.c: Likewise.
17145         * math/s_csinl.c: Likewise.
17146         * math/s_csinh.c: Likewise.
17147         * math/s_csinhf.c: Likewise.
17148         * math/s_csinhl.c: Likewise.
17149         * math/libm-test.inc (ccos_test): Add more tests.
17150         (ccosh_test): Likewise.
17151         (csin_test): Likewise.
17152         (csinh_test): Likewise.
17153         * sysdeps/i386/fpu/libm-test-ulps: Update.
17154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17156 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
17158         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17159         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17161         * sysdeps/x86_64/x32/_itoa.h: Add comment.
17163 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
17165         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17166         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17167         * sysdeps/powerpc/soft-fp/Versions: Likewise.
17168         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17169         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17170         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17171         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17172         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17173         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17174         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17175         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17176         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17177         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17178         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17179         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17180         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17181         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17182         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17183         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17184         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17185         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17186         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17187         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17188         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17189         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17190         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17191         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17192         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17193         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17194         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17195         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17197 2012-05-18  Andreas Jaeger  <aj@suse.de>
17199         * csu/.gitignore: Delete.
17201 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17203         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17204         (timex): Use __syscall_slong_t.
17206 2012-05-18  Andreas Jaeger  <aj@suse.de>
17207             Carlos O'Donell  <carlos_odonell@mentor.com>
17209         * manual/install.texi (Configuring and compiling): Update
17210         description about files modified in the source directory.
17211         * INSTALL: Regenerated.
17213 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17215         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17216         value.  Use "or" to set return value to -1.
17217         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17218         negate return value.
17220 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17222         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17223         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17224         failure if the compiler has Graphite support disabled.
17225         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17226         Likewise.
17227         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17228         CFLAGS-memmove.c): Likewise.
17229         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17230         Likewise.
17232 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17234         * sysdeps/x86_64/x32/_itoa.h: New file.
17236         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17237         getdents system call only if kernel and user dirents have the
17238         same d_ino and d_off.
17240         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17241         LLONG_MAX != LONG_MAX.
17242         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17243         (_fitoa_word): Likewise.
17245         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17246         years.
17247         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17248         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17249         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17251         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17252         include <bits/wordsize.h>.  Check __x86_64__ instead of
17253         __WORDSIZE.
17254         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17255         if __x86_64__ is defined.  Use anonymous union on fpstate.
17257         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17258         anonymous union.
17260 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
17262         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17263         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17264         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17265         Refer to _rtld_local_ro instead of _rtld_global_ro.
17266         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17267         Likewise.
17268         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17269         Likewise.
17270         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17271         Likewise.
17272         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17273         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17274         of _rtld_global, and rtld_progname instead of _dl_argv[0].
17276         * sysdeps/powerpc/powerpc32/dl-machine.c
17277         (__elf_machine_runtime_setup) [PROF]: Don't reference
17278         _dl_prof_resolve.
17280 2012-05-18  Andreas Jaeger  <aj@suse.de>
17282         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17283         function only available for GCCs before 3.4 since GCC 3.4
17284         introduced a builtin.
17285         (lrint): Likewise.
17286         (llrintf): Likewise.
17287         (llrint): Likewise.
17288         (fmaxf): Likewise.
17289         (fmax): Likewise.
17290         (fminf): Likewise.
17291         (fmin): Likewise.
17292         (rint): Likewise.
17293         (rintf): Likewise.
17294         (nearbyint): Likewise.
17295         (nearbyintf): Likewise.
17296         (ceil): Likewise.
17297         (ceilf): Likewise.
17298         (floor): Likewise.
17299         (floorf): Likewise.
17301 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
17303         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17304         on both fields and cast pointer to __syscall_ulong_t.
17306         * bits/types.h (__fsword_t): New type.
17307         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17308         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17309         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17310         (__FSWORD_T_TYPE): Likewise.
17311         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17312         (__FSWORD_T_TYPE): Likewise.
17313         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17314         (__FSWORD_T_TYPE): Likewise.
17315         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17316         (__FSWORD_T_TYPE): Likewise.
17317         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17318         __SWORD_TYPE with __fsword_t.
17319         (statfs64): Likewise.
17321 2012-05-17  David S. Miller  <davem@davemloft.net>
17323         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17325 2012-05-17  Andreas Jaeger  <aj@suse.de>
17327         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17328         warning.
17330 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
17332         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17334 2012-05-17  Andreas Jaeger  <aj@suse.de>
17336         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17337         when it is used.
17339 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
17341         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17343 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
17345         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17346         * sysdeps/x86_64/tst-mallocalign1.c: New file.
17348 2012-05-17  Andreas Jaeger  <aj@suse.de>
17349             Carlos O'Donell  <carlos_odonell@mentor.com>
17351         [BZ #14059]
17352         * sysdeps/x86_64/multiarch/init-arch.h
17353         (bit_YMM_Usable): Rename to...
17354         (bit_AVX_Usable): ... this.
17355         (bit_FMA4_Usable): New macro.
17356         (bit_XMM_state): New macro.
17357         (bit_YMM_state): New macro.
17358         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17359         [__ASSEMBLER__] (index_AVX_Usable): ... this.
17360         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17361         (CPUID_OSXSAVE): New macro.
17362         (CPUID_AVX): New macro.
17363         (CPUID_FMA4): New macro.
17364         (index_YMM_Usable): Rename to...
17365         (index_AVX_Usable): ... this.
17366         (HAS_AVX): Use HAS_ARCH_FEATURE.
17367         (HAS_FMA4): Likewise.
17368         (HAS_YMM_USABLE): Remove.
17369         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17370         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17371         are present.
17372         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17373         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17374         * sysdeps/x86_64/multiarch/Makefile: Likewise.
17375         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17376         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17378 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
17380         * math/libm-test.c: Support platforms without multiple rounding modes.
17381         * math/bug-nextafter.c: Support platforms without FP exceptions.
17382         * math/bug-nexttoward.c: Likewise.
17383         * math/test-fenv.c: Likewise.
17384         * math/test-misc.c: Likewise.
17385         * stdlib/bug-getcontext.c: Likewise.
17387 2012-05-17  Andreas Jaeger  <aj@suse.de>
17389         * manual/examples/search.c (critter_cmp): Change signature to
17390         avoid warnings.
17391         * manual/string.texi (Collation Functions): Likewise.
17393 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17395         * bits/types.h: Fold copyright years.
17396         * bits/typesizes.h: Likewise.
17397         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17398         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17399         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17400         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17401         * time/time.h: Likewise.
17403 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
17405         [BZ #208]
17406         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17407         in instead of returning them.  Return void.
17408         (__libc_mallinfo): Accumulate over all arenas.
17409         (__malloc_stats): Adjust for change in int_mallinfo interface.
17411 2012-05-16  Roland McGrath  <roland@hack.frob.com>
17413         [BZ #10375]
17414         * configure.in (NM): Add AC_CHECK_TOOL for it.
17415         (libc_extra_cflags): New substituted variable.
17416         Check for -fstack-protector being used implicitly.
17417         * configure: Regenerated.
17418         * config.make.in (config-extra-cflags): New variable,
17419         gets @libc_extra_cflags@.
17420         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17422         [BZ #10375]
17423         * configure.in: Check for _FORTIFY_SOURCE being predefined.
17424         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17425         * configure: Regenerated.
17426         * config.make.in (CPPUNDEFS): New substituted variable.
17427         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17428         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17429         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17431 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17433         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17434         (mq_attr): Use __syscall_slong_t.
17436 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17438         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17439         Check __x86_64__ instead of __WORDSIZE.
17440         (_STAT_VER_LINUX): Likewise.
17441         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
17442         __syscall_ulong_t and __syscall_slong_t.
17443         (stat64): Likewise.
17445 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17447         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17449 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17451         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17453 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17455         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17456         __syscall_ulong_t.
17458         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17459         include <bits/wordsize.h>.  Check __x86_64__ instead of
17460         __WORDSIZE.
17461         (greg_t): Use "__extension__ long long int" if __x86_64__ is
17462         defined.
17463         (mcontext_t): Replace "unsigned long" with "unsigned long long".
17465         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17466         include <bits/wordsize.h>.  Check __x86_64__ instead of
17467         __WORDSIZE.
17468         (user_regs_struct): Use "__extension__ unsigned long long"
17469         instead of "unsigned long" if __x86_64__ is defined.
17470         (user): Likewise.  Pad after pointer field if __ILP32__ is
17471         defined.
17473 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
17475         * configure.in (makeinfo): Require version 4.5 or later.  Allow
17476         versions 5 to 9.
17477         * configure: Regenerated.
17478         * manual/install.texi (texinfo): Increase version requirement to
17479         4.5 or later.
17480         * INSTALL: Regenerated.
17482         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17484 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17486         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17488         * sysdeps/x86_64/x32/ffs.c: New file.
17490         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17491         __syscall_ulong_t.
17492         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17493         defined.  Use __syscall_ulong_t.
17494         (shminfo): Use __syscall_ulong_t.
17495         (shm_info): Likewise.
17497         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17498         __syscall_ulong_t.
17500         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17501         <bits/wordsize.h>.
17502         (msgqnum_t): Use __syscall_ulong_t.
17503         (msglen_t): Likewise.
17504         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
17505         __syscall_ulong_t.
17507         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17508         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
17510         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17512         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17513         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17515         * sysvipc/sys/msg.h (msgbuf): Replace long int with
17516         __syscall_slong_t.
17518         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17519         include <bits/wordsize.h>.  Check __x86_64__ instead of
17520         __WORDSIZE.
17522         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17523         "unsigned long long int" if __x86_64__ is defined.
17524         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17526         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17527         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
17528         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17530         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17531         <stdint.h>.
17532         (GET_PC): Cast to uintptr_t first.
17533         (GET_FRAME): Likewise.
17534         (GET_STACK): Likewise.
17536         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17537         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17538         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17539         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17540         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17541         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17542         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17543         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17544         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17545         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17546         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17547         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17548         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17549         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17550         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17551         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17552         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17553         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17554         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17555         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17556         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17557         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17558         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17559         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17560         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17561         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17562         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17563         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17564         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17566 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
17568         * Makerules (+depfiles): Also collect depfiles from .oS in
17569         $(extra-objs).
17570         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17571         .oS, $(libnldbl-routines)).
17573         * Makerules (native-compile-mkdep-flags): Define.
17574         * sunrpc/Makefile (extra-objs): Add $(addprefix
17575         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17576         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17577         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
17578         calling $(make-target-directory).
17580 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17582         * bits/types.h (__snseconds_t): Removed.
17583         * time/time.h (struct timespec): Replace __snseconds_t with
17584         __syscall_slong_t.
17585         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17586         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17587         Likewise.
17588         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17589         (__SNSECONDS_T_TYPE): Likewise.
17590         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17591         (__SNSECONDS_T_TYPE): Likewise.
17592         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17593         (__SNSECONDS_T_TYPE): Likewise.
17595 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17597         * sysdeps/mach/hurd/bits/typesizes.h
17598         (__SYSCALL_SLONG_TYPE): New macro.
17599         (__SYSCALL_ULONG_TYPE): Likewise.
17601 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17603         * bits/types.h (__syscall_slong_t): New type.
17604         (__syscall_ulong_t): Likewise.
17606         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17607         (__SYSCALL_ULONG_TYPE): Likewise.
17608         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17609         (__SYSCALL_SLONG_TYPE): Likewise.
17610         (__SYSCALL_ULONG_TYPE): Likewise.
17611         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17612         (__SYSCALL_SLONG_TYPE): Likewise.
17613         (__SYSCALL_ULONG_TYPE): Likewise.
17614         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17615         (__SYSCALL_SLONG_TYPE): Likewise.
17616         (__SYSCALL_ULONG_TYPE): Likewise.
17618 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17620         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17621         Add sigaltstack-offsets.sym.
17622         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17623         <sigaltstack-offsets.h>.
17624         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
17625         longjmp_msg pointer.
17626         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
17627         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17628         signal stack.
17629         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17631 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
17633         * elf/stackguard-macros.h: Remove file.
17634         * sysdeps/generic/stackguard-macros.h: New file.
17635         * sysdeps/i386/stackguard-macros.h: Likewise.
17636         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17637         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17638         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17639         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17640         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17641         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17642         * sysdeps/x86_64/stackguard-macros.h: Likewise.
17643         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17644         <elf/stackguard-macros.h>.
17646         [BZ #14109]
17647         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17648         __aligned__ in attribute.
17649         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17650         (gregset_t): Likewise.
17652 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17654         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17655         * sysdeps/x86_64/64/Implies-after: Here.  New file.
17656         * sysdeps/x86_64/x32/Implies-after: New file.
17658 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17660         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17661         and access return value for _dl_profile_fixup.  Use R10_LP to
17662         load frame size.
17664 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17666         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17668 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17670         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17671         * sysdeps/x86_64/x32/sysdep.h: New file.
17673 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17675         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17676         * sysdeps/x86_64/setjmp.S: Likewise.
17678 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17680         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17681         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17682         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17683         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17684         remove unused global constant.
17686 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
17688         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17689         include of <not-cancel.h>.
17691 2012-05-15  Roland McGrath  <roland@hack.frob.com>
17693         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17695 2012-05-15  Jeff Law  <law@redhat.com>
17696             Andreas Jaeger  <aj@suse.de>
17698         [BZ #13594]
17699         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17700         out from...
17701         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17702         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17703         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17704         code changing __hst_map_handle.map.
17706 2012-05-15  Roland McGrath  <roland@hack.frob.com>
17708         * configure.in (sysnames): Look for Implies-before and Implies-after
17709         files.
17710         * configure: Regenerated.
17712 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17714         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17715         8-byte data alignment with LP_SIZE alignment.
17717 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17719         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17720         into R10_LP.
17722 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17724         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17726 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17728         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17729         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17730         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17731         Likewise.
17732         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17734 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17736         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17737         (stackinfo_sub_sp): Likewise.
17739 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17741         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17742         RAX_LP.
17744 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17746         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17747         into R*_LP.
17749 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17751         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17752         sizes into R*_LP.
17754 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17756         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17758 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17760         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17761         into R11_LP and load __x86_64_shared_cache_size_half into
17762         R8_LP.
17764 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17766         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17767         R8_LP.
17769 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17771         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17772         logb for POWER7.
17773         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17774         logbf for POWER7.
17775         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17776         logbl for POWER7.
17777         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17778         powerpc32/power7/fpu/s_logb.c via #include.
17779         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17780         powerpc32/power7/fpu/s_logbf.c via #include.
17781         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17782         powerpc32/power7/fpu/s_logbl.c via #include.
17784 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
17786         * README.libm: Remove file.
17788 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17790         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17791         count for x32.  Use R*_LP and omit operand-size suffix.
17793 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17795         * shlib-versions: Move x86_64-.*-linux.* entries to ...
17796         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
17797         * sysdeps/x86_64/x32/shlib-versions: New file.
17799 2012-05-14  Roland McGrath  <roland@hack.frob.com>
17801         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17802         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17803         Use _dl_fatal_printf instead.
17805 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
17807         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17808         set if not set by the user.  Do not allow for being unset.
17809         * sysdeps/unix/sysv/linux/configure: Regenerated.
17811 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17813         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17814         the `q' suffix from lea and replace .quad with ASM_ADDR.
17816 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17818         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17819         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
17820         instead of $17.
17821         (PTR_DEMANGLE): Likewise.
17823 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17825         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17826         (LP_OP): Likewise.
17827         (ASM_ADDR): Likewise.
17828         (RAX_LP): Likewise.
17829         (RBP_LP): Likewise.
17830         (RBX_LP): Likewise.
17831         (RCX_LP): Likewise.
17832         (RDI_LP): Likewise.
17833         (RSI_LP): Likewise.
17834         (RSP_LP): Likewise.
17835         (R8_LP): Likewise.
17836         (R9_LP): Likewise.
17837         (R10_LP): Likewise.
17838         (R10_LP): Likewise.
17839         (R11_LP): Likewise.
17840         (R12_LP): Likewise.
17841         (R13_LP): Likewise.
17842         (R14_LP): Likewise.
17843         (R15_LP): Likewise.
17845 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17847         * sysdeps/x86_64/x32/dl-machine.h: New file.
17849 2012-05-14  Andreas Jaeger  <aj@suse.de>
17851         * manual/Makefile (subdir): Remove export of subdir.
17852         (all): Remove target.
17853         (.PHONY): Remove all from list.
17854         (mkinstalldirs): Remove.
17855         (.PHONY): Remove installdirs from list.
17856         ($(inst_infodir)/libc.info): Use make-target-directory.
17857         (installdirs): Remove.
17858         (subdir_%): Remove.
17859         (glibc-targets): Remove.
17860         (lib): Remove.
17861         (stubs): Remove.
17862         ($(objpfx)stubs ../po/manual.pot): Remove.
17863         ($(objpfx)stamp%): Remove.
17864         (make-target-directory): Remove.
17865         (subdir_install): Remove.
17866         (routines): Remove.
17867         (aux): Remove.
17868         (sources): Remove.
17869         (objects): Remove.
17870         (headers): Remove.
17872         [BZ #13750]
17873         * manual/.gitignore: Remove, it's not needed anymore.
17874         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17875         all files in it.
17876         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17877         directory.
17878         (texis): Renamed to $(objpfx)texis.
17879         (texis-path): New, contains path to generated files.
17880         (chapters.%): Use texis-path for complete path, add extra argument
17881         libc-texinfo.sh.
17882         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17883         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17884         (summary,texi, stamp-summary): Use complete path of
17885         files. Generate files in build dir.
17886         (dir-add.texi): Build in build dir.
17887         (libm-err.texi,stamp-libm-err): Likewise.
17888         (version.texi, stamp-version): Likewise.
17889         (.%c.texi): Likewise.
17890         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17891         (mostlyclean): Remove target.
17892         (realclean): Remove target.
17893         (generated): Add new variable with contents from mostlyclean and
17894         realclean, remove entries duplicated in common-mostlyclean, add
17895         stamp-libm-err and stamp-version.
17896         (generated-dirs): Add libc directory.
17897         ($(inst_infodir)/libc.info): Install files from build dir.
17899         * manual/install.texi (Configuring and compiling): Adjust since
17900         the info files are not part of the tar ball anymore.
17902 2012-05-14  Andreas Jaeger  <aj@suse.de>
17904         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17905         variable.
17907 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
17909         [BZ #13717]
17910         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17911         to 2.2.0 where earlier.
17912         * sysdeps/unix/sysv/linux/configure: Regenerated.
17913         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17914         Remove conditional code.
17915         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17916         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17917         Remove conditional code.
17918         [!__NR_lchown]: Likewise.
17919         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17920         [__NR_lchown]: Likewise.
17921         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17922         comment referencing __ASSUME_LCHOWN_SYSCALL.
17923         * sysdeps/unix/sysv/linux/i386/sigaction.c
17924         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17925         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17926         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17927         Remove conditional code.
17928         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17929         (__protocol_available): Remove #if 0 code.
17930         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17931         conditional code.
17932         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17933         * sysdeps/unix/sysv/linux/kernel-features.h
17934         (__ASSUME_GETCWD_SYSCALL): Don't define.
17935         (__ASSUME_REALTIME_SIGNALS): Likewise.
17936         (__ASSUME_PREAD_SYSCALL): Likewise.
17937         (__ASSUME_PWRITE_SYSCALL): Likewise.
17938         (__ASSUME_POLL_SYSCALL): Likewise.
17939         (__ASSUME_LCHOWN_SYSCALL): Likewise.
17940         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17941         non-SPARC.
17942         (__ASSUME_SIOCGIFNAME): Don't define.
17943         (__ASSUME_MSG_NOSIGNAL): Likewise.
17944         (__ASSUME_SENDFILE): Define unconditionally.
17945         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17946         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17947         conditional code.
17948         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17949         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17950         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17951         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17952         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17953         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17954         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17956         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17957         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17959         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17960         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17962         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17963         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17965         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17966         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17968         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17969         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17971         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17972         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17974         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17975         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17977         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17978         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17979         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17980         Remove conditional code.
17981         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17982         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17983         Remove conditional code.
17984         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17985         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17986         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17987         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17988         Remove conditional code.
17989         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17990         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17991         Remove conditional code.
17992         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17993         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17994         Remove conditional code.
17995         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17996         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17997         Remove conditional code.
17998         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17999         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18000         Remove conditional code.
18001         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18002         * sysdeps/unix/sysv/linux/sh/pwrite64.c
18003         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18004         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18005         * sysdeps/unix/sysv/linux/sigaction.c
18006         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18007         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18008         * sysdeps/unix/sysv/linux/sigpending.c
18009         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18010         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18011         * sysdeps/unix/sysv/linux/sigprocmask.c
18012         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18013         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18014         * sysdeps/unix/sysv/linux/sigsuspend.c
18015         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18016         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18017         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18018         (__libc_missing_rt_sigs): Remove.
18019         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18020         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18021         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18022         Remove conditional code.
18023         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18024         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18025         return 1.
18026         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18027         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18028         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18029         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18031 2012-05-14  Andreas Jaeger  <aj@suse.de>
18033         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18034         it's not used in glibc.
18035         (__coshm1): Likewise.
18036         (__acosh1p): Likewise.
18037         (__sgn): Likewise.
18039         * manual/string.texi (Copying and Concatenation): Add missing
18040         variable in concat example.
18041         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18043 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18045         [BZ #14103]
18046         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18047         __builtin_clzl with __builtin_clzll.
18049 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18051         [BZ #14104]
18052         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18053         libc_freeres_ptr.
18055 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18057         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18058         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18059         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18060         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18062 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
18064         * NEWS: Update ia64 info.
18066 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
18068         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18069         used as bcopy.
18071 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
18073         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18074         * sysdeps/unix/syscalls.list (dup3): Likewise.
18075         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18076         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18078 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
18080         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18081         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18083 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
18085         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18086         thread pointer.
18087         (TLS_IE): Use mov/add instead of movq/addq to load thread
18088         pointer.
18089         (TLS_GD_PREFIX): New.
18090         (TLS_GD): Use it.
18092 2012-05-11  David S. Miller  <davem@davemloft.net>
18094         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18095         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18096         (_FPU_SETCW): Likewise.
18098 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18100         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18101         is 32-byte aligned.
18103 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
18105         [BZ #11837]
18106         * iconvdata/gb18030.c: Update tables.
18107         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
18108         characters specially.
18109         (BODY for TO_LOOP): Add encoding of missing ranges.
18111 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
18113         [BZ #13673]
18114         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18115         * sysdeps/mach/hurd/dup3.c: Likewise.
18116         * sysdeps/mach/hurd/readlinkat.c: Likewise.
18117         * sysdeps/powerpc/memmove.c:: Likewise.
18119 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18121         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18122         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18124 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18126         * elf/elf.h (R_X86_64_RELATIVE64): New.
18127         (R_X86_64_NUM): Updated.
18128         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18129         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
18130         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18131         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18132         tst-quad1pie tst-quad2pie
18133         (modules-names): Add tst-quadmod1 tst-quadmod2.
18134         ($(objpfx)tst-quad1): New dependency.
18135         ($(objpfx)tst-quad2): Likewise.
18136         ($(objpfx)tst-quad1pie): Likewise.
18137         ($(objpfx)tst-quad2pie): Likewise.
18138         * sysdeps/x86_64/tst-quad1.c: New file.
18139         * sysdeps/x86_64/tst-quad1pie.c: New file.
18140         * sysdeps/x86_64/tst-quad2.c: Likewise.
18141         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18142         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18143         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18144         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18145         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18147 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18149         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18150         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18151         * streams/stropts.h (t_scalar_t): Define type.
18153         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18154         (_PATH_PRESERVE): Set to "/var/lib".
18155         (_PATH_RWHODIR): Set to "/var/spool/rwho".
18157         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18158         instead of int.
18160         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18161         if __dir_mkfile succeeded.
18163         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18164         checking for _hurd_dtablesize.  Unlock it right after having
18165         finished _hurd_dtable allocation.
18167 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18169         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18170         * sysdeps/mach/hurd/configure: Regenerated.
18171         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18172         special-casing to...
18173         * sysdeps/gnu/configure.in: ... this new file.
18174         * sysdeps/unix/sysv/linux/configure: Regenerated.
18175         * sysdeps/gnu/configure: New generated file.
18177         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18178         for Linux: use nsec instead of usec, as well as:
18179         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18180         members of type struct timespec.
18181         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18182         New macros.
18183         (struct stat64): Likewise.
18184         (_STATBUF_ST_NSEC): New macro.
18185         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18187         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18188         __strtoul_internal rather than strtoul.
18190 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18192         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18193         and reject them.
18195 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18197         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18198         which preserves existing values.
18199         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18201 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18203         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18204         TIMEOUT values.  Return EINVAL for NFDS values either negative or
18205         greater than FD_SETSIZE.
18207 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18209         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18210         allocated, call __vm_protect to finish enabling the existing space, and
18211         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18212         allocate the remainder.
18214 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18216         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18217         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
18219 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18221         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18222         sysdeps/mach/hurd/readlink.c.
18224         * posix/tst-sysconf.c (posix_options): Only use
18225         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18226         _POSIX_SYNCHRONIZED_IO when they are defined
18227         * sysdeps/mach/hurd/bits/posix_opt.h:
18228         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18229         (_XOPEN_REALTIME): Undefine macro.
18230         (_XOPEN_REALTIME_THREADS): Undefine macro.
18231         (_XOPEN_SHM): Undefine macro.
18232         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18233         macro to -1.
18234         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18235         macro to -1.
18236         (_POSIX_ASYNC_IO): Undefine macro.
18237         (_POSIX_PRIORITIZED_IO): Undefine macro.
18238         (_POSIX_SPIN_LOCKS): Define macro to -1.
18240         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18241         SA_NODEFER, SA_RESETHAND.
18242         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18243         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18244         F_DUPFD_CLOEXEC.
18246 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18248         * elf/Makefile (pldd-modules): Define unconditionally.
18250 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18252         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18254 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18256         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18257         Return ENOENT when name is empty.
18258         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18260 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18262         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18264         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18266 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18268         Fix mlock in all cases except non-readable pages.
18269         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18270         instead of VM_PROT_ALL as parameter to __vm_wire function.
18272         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18273         (__mkdir): When path is `/', just fail with EEXIST.
18274         * sysdeps/mach/hurd/mkdirat.c: Likewise.
18276 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18278         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18279         <sys/uio.h> (for writev).
18280         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18281         and <sys/param.h> (for MIN).
18283 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18285         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18286         REQUESTED_TIME.  Properly set the remaining time and return EINTR
18287         if interrupted.
18289 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18291         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18292         Depend on against $(link-rpcuserlibs).
18294 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18296         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18297         (__libc_stack_end): Do not use attribute_relro.
18298         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18299         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
18300         to libthread-provided value.
18301         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18302         attribute_relro.
18304 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18306         [BZ #3748]
18307         * bits/libc-lock.h (__libc_once_get): New macro.
18308         * sysdeps/mach/bits/libc-lock.h: Likewise.
18309         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18310         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18311         instead of using implementation details.
18313         * libio/fileops.c: Unconditionally include <kernel-features.h>.
18314         * libio/freopen.c: Likewise.
18315         * libio/freopen64.c: Likewise.
18316         * misc/syslog.c: Likewise.
18317         * nscd/connections.c: Likewise.
18318         * nscd/netgroupcache.c: Likewise.
18319         * sysdeps/posix/getcwd.c: Likewise.
18321 2012-05-10  Roland McGrath  <roland@hack.frob.com>
18323         * math/w_ilogbf.c: Add #include <limits.h>.
18325 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18327         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
18328         path instead of returning without unlocking.
18330         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18331         immediate-write ioctls.
18332         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18334 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18336         * sysdeps/mach/hurd/i386/init-first.c (init): Use
18337         __builtin_frame_address instead of making assumptions about the
18338         location of the return address relative to DATA.  Force early load of
18339         the return address.
18340         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18341         __builtin_frame_address.
18343         dup3 for GNU Hurd.
18344         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18345         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
18346         implement dup3 and do some further code clean-ups.
18347         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18348         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18350 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18352         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18354         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18355         HURD_CRITICAL_END around holding _hurd_dtable_lock.
18356         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18357         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18358         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18359         d->port.lock.
18361         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18362         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
18363         when handler == SIG_ERR, not when handler != SIG_ERR.
18365 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18367         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18368         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18369         definitions.
18371         accept4 for GNU Hurd.
18372         * include/sys/socket.h (__libc_accept4): New prototype.
18373         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
18374         to implement __libc_accept4.
18375         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18376         __libc_accept4.
18377         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18379         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18380         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18381         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18382         signal-defines.sym.
18384 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18386         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
18388 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18390         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18391         assertion on O_CLOEXEC flag.
18392         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18393         * hurd/intern-fd.c: Likewise.
18394         * hurd/port2fd.c: Likewise.
18396 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18398         [BZ #3906]
18399         * bits/in.h (IPV6_PKTINFO): Define new macro.
18400         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18402 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18404         [BZ #13954]
18405         [BZ #13955]
18406         [BZ #13956]
18407         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18408         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18409         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18410         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18411         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18412         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18413         * math/libm-test.inc (logb_test) : Additional logb tests.
18415 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
18416             Andreas Jaeger  <aj@suse.de>
18418         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18419         * configure: Regenerated.
18420         * config.h.in (LINK_OBSOLETE_RPC): New macro.
18421         * config.make.in (link-obsolete-rpc): New substituted variable.
18422         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18423         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18424         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18425         (shared-only-routines): Don't set it under [link-obsolete-rpc],
18426         so that libc.a contains the symbols.
18427         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18428         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18429         * sunrpc/auth_none.c: Likewise.
18430         * sunrpc/auth_unix.c: Likewise.
18431         * sunrpc/authdes_prot.c: Likewise.
18432         * sunrpc/authuxprot.c: Likewise.
18433         * sunrpc/clnt_gen.c: Likewise.
18434         * sunrpc/clnt_perr.c: Likewise.
18435         * sunrpc/clnt_raw.c: Likewise.
18436         * sunrpc/clnt_simp.c: Likewise.
18437         * sunrpc/clnt_tcp.c: Likewise.
18438         * sunrpc/clnt_udp.c: Likewise.
18439         * sunrpc/clnt_unix.c: Likewise.
18440         * sunrpc/des_crypt.c: Likewise.
18441         * sunrpc/des_soft.c: Likewise.
18442         * sunrpc/get_myaddr.c: Likewise.
18443         * sunrpc/key_call.c: Likewise.
18444         * sunrpc/key_prot.c: Likewise.
18445         * sunrpc/netname.c: Likewise.
18446         * sunrpc/pm_getmaps.c: Likewise.
18447         * sunrpc/pm_getport.c: Likewise.
18448         * sunrpc/pmap_clnt.c: Likewise.
18449         * sunrpc/pmap_prot.c: Likewise.
18450         * sunrpc/pmap_prot2.c: Likewise.
18451         * sunrpc/pmap_rmt.c: Likewise.
18452         * sunrpc/publickey.c: Likewise.
18453         * sunrpc/rpc_cmsg.c: Likewise.
18454         * sunrpc/rpc_common.c: Likewise.
18455         * sunrpc/rpc_dtable.c: Likewise.
18456         * sunrpc/rpc_prot.c: Likewise.
18457         * sunrpc/rpc_thread.c: Likewise.
18458         * sunrpc/rtime.c: Likewise.
18459         * sunrpc/svc.c: Likewise.
18460         * sunrpc/svc_auth.c: Likewise.
18461         * sunrpc/svc_raw.c: Likewise.
18462         * sunrpc/svc_run.c: Likewise.
18463         * sunrpc/svc_tcp.c: Likewise.
18464         * sunrpc/svc_udp.c: Likewise.
18465         * sunrpc/svc_unix.c: Likewise.
18466         * sunrpc/svcauth_des.c: Likewise.
18467         * sunrpc/xcrypt.c: Likewise.
18468         * sunrpc/xdr.c: Likewise.
18469         * sunrpc/xdr_array.c: Likewise.
18470         * sunrpc/xdr_float.c: Likewise.
18471         * sunrpc/xdr_intXX_t.c: Likewise.
18472         * sunrpc/xdr_mem.c: Likewise.
18473         * sunrpc/xdr_rec.c: Likewise.
18474         * sunrpc/xdr_ref.c: Likewise.
18475         * sunrpc/xdr_sizeof.c: Likewise.
18476         * sunrpc/xdr_stdio.c: Likewise.
18478 2012-05-10  Roland McGrath  <roland@hack.frob.com>
18480         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18481         change.  Update copyright years.
18483 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
18485         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18487 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
18488             Joseph Myers  <joseph@codesourcery.com>
18489             Paul Pluzhnikov  <ppluzhnikov@google.com>
18491         [BZ #14012]
18492         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18493         requiring rpcgen.
18494         [cross-compiling] (extra-libs): Likewise.
18495         [cross-compiling] (extra-libs-others): Likewise.
18496         [cross-compiling] (librpcsvc-routines): Likewise.
18497         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18498         [cross-compiling] (omit-deps): Likewise.
18499         (sunrpc-CPPFLAGS): New variable.
18500         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18501         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18502         (cross-rpcgen-objs): New variable.
18503         (extra-objs): Append $(cross-rpcgen-objs).
18504         ($(cross-rpcgen-objs)): New rule.
18505         ($(objpfx)cross-rpcgen): Likewise.
18506         (rpcgen-cmd): Define to use $(built-program-file).  Expand
18507         comment.
18508         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18509         ($(objpfx)x%.stmp): Likewise.
18510         * sunrpc/proto.h [IS_IN_build] (_): Define.
18511         [IS_IN_build] (_libc_intl_domainname): Likewise.
18513 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18515         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18516         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18517         and R_X86_64_TPOFF64.
18519 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
18521         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18522         sysdeps/unix/sysv/syscalls.list.
18523         (stime): Likewise.
18524         (utime): Likewise.
18525         * sysdeps/unix/sysv/syscalls.list: Remove file.
18527 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
18529         [BZ #3440]
18530         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18531         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18532         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18533         (__LC_IDENTIFICATION): Make these macros useful in #if
18534         expressions, as required by C99.
18536 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
18538         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18539         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
18540         after this.
18542 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
18544         * stdlib/longlong.h: Updated from GCC.
18546 2012-05-09  Andreas Jaeger  <aj@suse.de>
18548         * nscd/nscd.c (run_modes): Make named enum, reorder so that
18549         default is first entry.
18550         (run_mode): Set type.
18551         (main): Remove informal message about syslog.
18552         (options): Fix typo.
18554         [BZ #14053]
18555         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
18556         to asm.
18557         (lrint): Likewise.
18558         (llrintf): Likewise.
18559         (llrint): Likewise.
18560         (rint): Likewise.
18561         (rintf): Likewise.
18562         (nearbyint): Likewise.
18563         (nearbyintf): Likewise.
18565 2012-05-09  Andreas Jaeger  <aj@suse.de>
18566             Pedro Alves  <palves@redhat.com>
18568         * nscd/nscd.c (run_mode): Use enum.
18569         (main): Cleanup coding style issue.
18571 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
18572             Andreas Jaeger  <aj@suse.de>
18574         * nscd/nscd.c (go_background): Replaced with...
18575         (run_mode): ... this.
18576         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
18577         (options): Add -F --foreground.
18578         (main): Implement it.
18579         (parse_opt): Parse it.
18581 2012-05-09  Andreas Jaeger  <aj@suse.de>
18583         [BZ #14083]
18584         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18585         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18586         -Wconversion warning.
18587         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18588         Likewise.
18590 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
18592         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
18593         == 0.
18594         (LC_ALL): Use macro-int-constant.
18595         (LC_COLLATE): Likewise.
18596         (LC_CTYPE): Likewise.
18597         (LC_MESSAGES): Likewise.
18598         (LC_MONETARY): Likewise.
18599         (LC_NUMERIC): Likewise.
18600         (LC_TIME): Likewise.
18601         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18602         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18603         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18604         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18605         Specify type.
18606         [C99-based standards] (float_t): Expect type.
18607         [C99-based standards] (double_t): Expect type.
18608         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
18609         type.
18610         [C99-based standards] (HUGE_VALL): Likewise.
18611         [C99-based standards] (INFINITY): Likewise.
18612         [C99-based standards] (NAN): Likewise.
18613         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18614         [C99-based standards] (FP_NAN): Likewise.
18615         [C99-based standards] (FP_NORMAL): Likewise.
18616         [C99-based standards] (FP_SUBNORMAL): Likewise.
18617         [C99-based standards] (FP_ZERO): Likewise.
18618         [C99-based standards] (FP_FAST_FMA): Use
18619         optional-macro-int-constant.  Specify type.  Require == 1.
18620         [C99-based standards] (FP_FAST_FMAF): Likewise.
18621         [C99-based standards] (FP_FAST_FMAL): Likewise.
18622         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18623         [C99-based standards] (FP_ILOGBNAN): Likewise.
18624         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18625         Specify type.
18626         [C99-based standards] (MATH_ERREXCEPT): Likewise.
18627         [C99-based standards] (math_errhandling): Specify type.
18628         [ISO99 || ISO11] (signgam): Do not allow.
18629         [non-C99-based standards] (copysignf): Do not allow.
18630         [non-C99-based standards] (exp2f): Likewise.
18631         [non-C99-based standards] (log2f): Likewise.
18632         [non-C99-based standards] (modff): Allow.
18633         [non-C99-based standards] (erff): Do not allow.
18634         [non-C99-based standards] (erfcf): Likewise.
18635         [non-C99-based standards] (gammaf): Likewise.
18636         [non-C99-based standards] (hypotf): Likewise.
18637         [non-C99-based standards] (j0f): Likewise.
18638         [non-C99-based standards] (j1f): Likewise.
18639         [non-C99-based standards] (jnf): Likewise.
18640         [non-C99-based standards] (lgammaf): Likewise.
18641         [non-C99-based standards] (tgammaf): Likewise.
18642         [non-C99-based standards] (y0f): Likewise.
18643         [non-C99-based standards] (y1f): Likewise.
18644         [non-C99-based standards] (ynf): Likewise.
18645         [non-C99-based standards] (isnanf): Likewise.
18646         [non-C99-based standards] (acoshf): Likewise.
18647         [non-C99-based standards] (asinhf): Likewise.
18648         [non-C99-based standards] (atanhf): Likewise.
18649         [non-C99-based standards] (cbrtf): Likewise.
18650         [non-C99-based standards] (expm1f): Likewise.
18651         [non-C99-based standards] (ilogbf): Likewise.
18652         [non-C99-based standards] (log1pf): Likewise.
18653         [non-C99-based standards] (logbf): Likewise.
18654         [non-C99-based standards] (nextafterf): Likewise.
18655         [non-C99-based standards] (remainderf): Likewise.
18656         [non-C99-based standards] (rintf): Likewise.
18657         [non-C99-based standards] (scalbf): Likewise.
18658         [non-C99-based standards] (copysignl): Likewise.
18659         [non-C99-based standards] (exp2l): Likewise.
18660         [non-C99-based standards] (log2l): Likewise.
18661         [non-C99-based standards] (modfl): Allow.
18662         [non-C99-based standards] (erfl): Do not allow.
18663         [non-C99-based standards] (erfcl): Likewise.
18664         [non-C99-based standards] (gammal): Likewise.
18665         [non-C99-based standards] (hypotl): Likewise.
18666         [non-C99-based standards] (j0l): Likewise.
18667         [non-C99-based standards] (j1l): Likewise.
18668         [non-C99-based standards] (jnl): Likewise.
18669         [non-C99-based standards] (lgammal): Likewise.
18670         [non-C99-based standards] (tgammal): Likewise.
18671         [non-C99-based standards] (y0l): Likewise.
18672         [non-C99-based standards] (y1l): Likewise.
18673         [non-C99-based standards] (ynl): Likewise.
18674         [non-C99-based standards] (isnanl): Likewise.
18675         [non-C99-based standards] (acoshl): Likewise.
18676         [non-C99-based standards] (asinhl): Likewise.
18677         [non-C99-based standards] (atanhl): Likewise.
18678         [non-C99-based standards] (cbrtl): Likewise.
18679         [non-C99-based standards] (expm1l): Likewise.
18680         [non-C99-based standards] (ilogbl): Likewise.
18681         [non-C99-based standards] (log1pl): Likewise.
18682         [non-C99-based standards] (logbl): Likewise.
18683         [non-C99-based standards] (nextafterl): Likewise.
18684         [non-C99-based standards] (remainderl): Likewise.
18685         [non-C99-based standards] (rintl): Likewise.
18686         [non-C99-based standards] (scalbl): Likewise.
18687         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18688         [non-C99-based standards] (FP_*): Do not allow.
18689         [C99-based standards] (FP_*): Change to
18690         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18691         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18692         allow.
18693         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18694         (SIG_ERR): Likewise.
18695         [X/Open-based standards] (SIG_HOLD): Likewise.
18696         (SIG_IGN): Likewise.
18697         (SIGABRT): Use macro-int-constant.  Specify type.  Require
18698         positive value.
18699         (SIGFPE): Likewise.
18700         (SIGILL): Likewise.
18701         (SIGINT): Likewise.
18702         (SIGSEGV): Likewise.
18703         (SIGTER): Likewise.
18704         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18705         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18706         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18707         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18708         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18709         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18710         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18711         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18712         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18713         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18714         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18715         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18716         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18717         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18718         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18719         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18720         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18721         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18722         [X/Open-based standards] (SIGTRAP): Likewise.
18723         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18724         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18725         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18726         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18727         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18728         allow.
18730 2012-05-08  Ian Wienand  <ianw@vmware.com>
18732         [BZ #14080]
18733         * time/tzset.c (__tzset_parse_tz): Update default rules for
18734         daylight time changes in the Energy Policy Act of 2005.
18736 2012-05-09  Andreas Jaeger  <aj@suse.de>
18738         [BZ #13983]
18739         * elf/ldconfig.c (parse_conf): Change string to make clear that
18740         ldconfig only issued a warning if ld.so.conf does not exist.
18742 2012-05-08  David S. Miller  <davem@davemloft.net>
18744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18745         movxtod instead of popping the value on the stack.
18747         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18749 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
18751         * config.h.in: Add HAVE_ARM_PCS_VFP.
18753 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
18755         [BZ #13979]
18756         * include/features.h: Warn if user requests __FORTIFY_SOURCE
18757         checking but the checks are disabled for any reason.
18759 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
18761         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18762         and ELF64_R_TYPE with ELFW(R_TYPE).
18764 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
18766         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18767         (ulimit): Likewise.
18769         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18770         (settimeofday): Likewise.
18772 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
18774         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
18775         a struct th_u2 inside the union, and move tu_block/tu_code into
18776         a new th_u3 union of tu_block/tu_code inside of that.  Move
18777         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
18778         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
18779         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18780         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18781         (th_stuff): Change to th_u1.tu_stuff.
18782         (th_data): Define.
18783         (th_msg): Change to th_u1.th_u2.tu_data.
18785 2012-05-07  David S. Miller  <davem@davemloft.net>
18787         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18789         [BZ #14074]
18790         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18791         (SETUP_PIC_REG): Use it.
18792         (SETUP_PIC_REG_LEAF): Use it.
18794 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
18796         [BZ #13885]
18797         [BZ #13923]
18798         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18799         USE_AS_EXPM1L.
18800         (EXPL_FINITE): Likewise.
18801         (FLDLOG): Likewise.
18802         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18803         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18804         e_expl.S.
18805         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18806         USE_AS_EXPM1L.
18807         (EXPL_FINITE): Likewise.
18808         (FLDLOG): Likewise.
18809         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18810         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18811         e_expl.S.
18812         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
18813         test of -max_value argument for long double.
18814         * sysdeps/i386/fpu/libm-test-ulps: Update.
18815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18817 2012-05-06  David S. Miller  <davem@davemloft.net>
18819         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18820         quad soft-float symbols whose references which are compiler
18821         generated.
18822         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18824 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
18826         [BZ #13884]
18827         [BZ #13914]
18828         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18829         USE_AS_EXP10L.
18830         (EXPL_FINITE): Likewise.
18831         (FLDLOG): Likewise.
18832         (c0): Likewise.
18833         (c1): Likewise.
18834         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
18835         Adjust comments for base varying.
18836         (__expl_finite): Change alias to EXPL_FINITE.
18837         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18838         e_expl.S.
18839         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18840         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18841         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18842         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18843         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18844         USE_AS_EXP10L.
18845         (EXPL_FINITE): Likewise.
18846         (FLDLOG): Likewise.
18847         (c0): Likewise.
18848         (c1): Likewise.
18849         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
18850         Adjust comments for base varying.
18851         (__expl_finite): Change alias to EXPL_FINITE.
18852         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
18853         tests for bugs.
18854         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18856         [BZ #14064]
18857         * math/libm-test.inc (check_float_internal): Correct ulp
18858         calculation for subnormal expected results.
18860 2012-05-06  Andreas Jaeger  <aj@suse.de>
18862         * Makeconfig (+math-flags): New, set to -frounding-math.
18863         (+cflags): Add +math-flags so that all of glibc gets compiled with
18864         it.
18866         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18868 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
18870         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18871         Disable one test.
18873         [BZ #13787]
18874         [BZ #13922]
18875         [BZ #14036]
18876         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18877         (__ieee754_expl): Allow for and saturate large arguments.
18878         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18879         (u_threshold): Likewise.
18880         (__exp): Call __ieee754_exp before checking for overflow and
18881         underflow.
18882         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18883         (u_threshold): Likewise.
18884         (__expf): Call __ieee754_expf before checking for overflow and
18885         underflow.
18886         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18887         (u_threshold): Likewise.
18888         (__expl): Call __ieee754_expl before checking for overflow and
18889         underflow.
18890         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18891         (__ieee754_expl): Allow for and saturate large arguments.
18892         * math/libm-test.inc (exp_test): Add another test.  Do not allow
18893         missing overflow exception on overflow.
18894         (expm1_test): Do not allow missing overflow exception on overflow.
18896         * sysdeps/i386/fpu/e_expl.c: Move to ...
18897         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
18898         rather than using inline asm.
18899         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18900         * sysdeps/x86_64/fpu/e_expl.S: Copy from
18901         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18903         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18904         (nice): Likewise.
18905         (poll): Likewise.
18906         (signal): Likewise.
18907         (time): Likewise.
18908         (times): Likewise.
18910 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
18912         * sysdeps/unix/syscalls.list (adjtime): Add entry from
18913         sysdeps/unix/common/syscalls.list.
18914         (fchmod): Likewise.
18915         (fchown): Likewise.
18916         (ftruncate): Likewise.
18917         (getrusage): Likewise.
18918         (gettimeofday): Likewise.
18919         (setpgid): Likewise.
18920         (setregid): Likewise.
18921         (setreuid): Likewise.
18922         (sigaction): Likewise.
18923         (truncate): Likewise.
18924         (vhangup): Likewise.
18925         * sysdeps/unix/common/syscalls.list: Remove file.
18926         * sysdeps/unix/bsd/Implies: Don't include unix/common.
18927         * sysdeps/unix/sysv/linux/Implies: Likewise.
18929 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
18931         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18932         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18933         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18934         Moved to ...
18935         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18936         Here.
18937         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18938         to ...
18939         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18940         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18941         to ...
18942         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18943         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18944         to ...
18945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18946         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18947         to ...
18948         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18949         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18950         to ...
18951         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18952         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18953         to ...
18954         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18955         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18956         to ...
18957         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18958         Here.
18959         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18960         to ...
18961         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18962         Here.
18963         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18964         to ...
18965         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18966         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18967         Moved to ...
18968         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18969         Here.
18970         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18971         to ...
18972         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18974 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
18976         * sysdeps/unix/common/bits/dirent.h: Remove file.
18977         * sysdeps/unix/common/bits/fcntl.h: Likewise.
18979         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18980         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18981         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18982         * sysdeps/unix/bsd/isatty.c: Likewise.
18983         * sysdeps/unix/bsd/tcdrain.c: Likewise.
18984         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18985         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18987 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18989         [BZ #13563]
18990         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18991         long double comparison inaccuracies.
18992         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18993         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18995 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
18997         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18998         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19000 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
19002         [BZ #14049]
19003         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19004         nonzero digits before rounding a hex value.
19005         * stdlib/tst-strtod.c (tests): Add another test.
19007 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19009         * sysdeps/s390/fpu/libm-test-ulps: Update.
19011 2012-05-03  Andreas Jaeger  <aj@suse.de>
19013         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19014         does not get optimized out.
19015         (malloc_opt_barrier): New.
19017 2012-05-03  Andreas Jaeger  <aj@suse.de>
19018             Roland McGrath  <roland@hack.frob.com>
19020         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
19021         intermediate file deletion.
19022         (generated): Add .symlist files.
19024 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
19026         [BZ #13775]
19027         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19028         Redirect under this condition.
19029         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19030         [__USE_GNU] (__dprintf_chk): Not under this condition.
19031         [__USE_GNU] (__vdprintf_chk): Likewise.
19032         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19033         under this condition.
19034         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19035         [__USE_XOPEN2K8] (dprintf): Define under this condition.
19036         [__USE_XOPEN2K8] (vdprintf): Likewise.
19037         [__USE_GNU] (__dprintf_chk): Not under this condition.
19038         [__USE_GNU] (__vdprintf_chk): Likewise.
19039         [__USE_GNU] (dprintf): Likewise.
19040         [__USE_GNU] (vdprintf): Likewise.
19042 2012-05-03  Roland McGrath  <roland@hack.frob.com>
19044         * elf/Makefile (common-generated): Set this instead of generated for
19045         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
19046         $(all-built-dso)-derived lists.
19048 2012-05-03  Andreas Jaeger  <aj@suse.de>
19050         * sysdeps/i386/fpu/libm-test-ulps: Update.
19052         * FAQ: Removed.
19053         * FAQ.in: Likewise.
19054         * scripts/gen-FAQ.pl: Likewise.
19055         * manual/install.texi (Installation): Point to online location of
19056         FAQ.
19057         * Makefile (files-for-dist): Remove FAQ.
19058         (FAQ): Remove.
19060 2012-05-02  Allan McRae  <allan@archlinux.org>
19062         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19063         (LDFLAGS-reldepmod5.so): Likewise.
19064         (LDFLAGS-reldep6mod1.so): Likewise.
19065         (LDFLAGS-reldep6mod4.so): Likewise.
19066         (LDFLAGS-reldep8mod3.so): Likewise.
19067         (LDFLAGS-unload4mod1.so): Likewise.
19068         (LDFLAGS-unload4mod2.so): Likewise.
19069         (LDFLAGS-tst-initorder): Likewise.
19070         (LDFLAGS-tst-initordera2.so): Likewise.
19071         (LDFLAGS-tst-initordera3.so): Likewise.
19072         (LDFLAGS-tst-initordera4.so): Likewise.
19073         (LDFLAGS-tst-initorderb2.so): Likewise.
19074         (LDFLAGS-noload): Likewise.
19075         (LDFLAGS-next): Likewise.
19076         (LDFLAGS-order2mod1.so): Likewise.
19077         (LDFLAGS-order2mod2.so): Likewise.
19078         (LDFLAGS-tst-initorder2): Likewise.
19079         (LDFLAGS-tst-initorder2a.so): Likewise.
19080         (LDFLAGS-tst-initorder2b.so): Likewise.
19081         (LDFLAGS-tst-initorder2c.so): Likewise.
19082         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19084 2012-05-02  David S. Miller  <davem@davemloft.net>
19086         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19088 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
19090         [BZ #14055]
19091         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19093 2012-05-02  Andreas Jaeger  <aj@suse.de>
19095         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19096         since we manipulate rounding mode.
19097         (CPPFLAGS-test-idouble.c): Likewise.
19098         (CPPFLAGS-test-ifloat.c): Likewise.
19099         (CFLAGS-test-ldouble.c): Likewise.
19100         (CFLAGS-test-double.c): Likewise.
19101         (CFLAGS-test-float.c): Likewise.
19102         (CFLAGS-test-misc.c): Likewise.
19103         (CFLAGS-test-test-fenv.c): Likewise.
19105 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19107         [BZ #2550]
19108         [BZ #2570]
19109         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19110         comparisons to determine direction to adjust input.
19112 2012-05-01  Roland McGrath  <roland@hack.frob.com>
19114         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19115         output to the target.
19117         * scripts/localplt.awk: New file.
19118         * elf/Makefile ($(objpfx)check-localplt): Target removed.
19119         (check-localplt-CFLAGS): Variable removed.
19120         ($(all-built-dso:=.jmprel)): New static pattern rule.
19121         (generated): Add those targets.
19122         (localplt-built-dso): New variable.
19123         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19125         * elf/check-localplt.c: File removed.
19127         * scripts/check-execstack.awk: New file.
19128         * elf/Makefile ($(objpfx)check-execstack): Target removed.
19129         (check-execstack-CFLAGS): Variable removed.
19130         ($(objpfx)check-execstack.h): Target removed.
19131         ($(objpfx)execstack-default): New target.
19132         (generated): Add that instead of check-execstack.h.
19133         ($(all-built-dso:=.phdr)): New static pattern rule.
19134         (generated): Add those targets.
19135         * elf/check-execstack.c: File removed.
19137         * scripts/check-textrel.awk: New file.
19138         * elf/Makefile ($(objpfx)check-textrel): Target removed.
19139         (check-textrel-CFLAGS): Variable removed.
19140         (all-built-dso): Use := to define.o
19141         ($(all-built-dso:=.dyn)): New static pattern rule.
19142         (generated): Add those targets.
19143         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19144         * config.make.in (READELF): New substituted variable.
19145         * elf/check-textrel.c: File removed.
19147 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
19149         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19150         allow.
19151         * conform/data/ctype.h-data [C99-based standards] (isblank):
19152         Expect function.
19153         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19154         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19155         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19156         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19157         Specify type.  Require positive value.
19158         (EILSEQ): Likewise.
19159         (ERANGE): Likewise.
19160         [ISO || POSIX] (EILSEQ): Do not expect.
19161         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19162         Specify type.  Require positive value.
19163         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19164         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19165         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19166         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19167         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19168         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19169         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19170         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19171         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19172         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19173         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19174         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19175         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19176         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19177         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19178         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19179         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19180         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19181         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19182         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19183         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19184         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19185         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19186         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19187         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19188         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19189         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19190         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19191         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19192         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19193         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19194         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19195         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19196         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19197         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19198         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19199         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19200         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19201         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19202         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19203         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19204         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19205         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19206         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19207         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19208         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19209         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19210         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19211         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19212         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19213         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19214         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19215         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19216         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19217         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19218         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19219         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19220         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19221         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19222         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19223         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19224         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19225         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19226         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19227         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19228         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19229         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19230         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19231         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19232         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19233         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19234         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19235         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19236         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19237         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19238         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19239         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19240         Require >= 2.
19241         (FLT_ROUNDS): Expect as macro, not constant.
19242         (FLT_MANT_DIG): Use macro-int-constant.
19243         (DBL_MANT_DIG): Likewise.
19244         (LDBL_MANT_DIG): Likewise.
19245         (FLT_DIG): Likewise.
19246         (DBL_DIG): Likewise.
19247         (LDBL_DIG): Likewise.
19248         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
19249         (DBL_MIN_EXP): Likewise.
19250         (LDBL_MIN_EXP): Likewise.
19251         (FLT_MAX_EXP): Use macro-int-constant.
19252         (DBL_MAX_EXP): Likewise.
19253         (LDBL_MAX_EXP): Likewise.
19254         (FLT_MAX_10_EXP): Likewise.
19255         (DBL_MAX_10_EXP): Likewise.
19256         (LDBL_MAX_10_EXP): Likewise.
19257         (FLT_MAX): Use macro-constant.
19258         (DBL_MAX): Likewise.
19259         (LDBL_MAX): Likewise.
19260         (FLT_EPSILON): Use macro-constant.  Give upper bound.
19261         (DBL_EPSILON): Likewise.
19262         (LDBL_EPSILON): Likewise.
19263         (FLT_MIN): Likewise.
19264         (DBL_MIN): Likewise.
19265         (LDBL_MIN): Likewise.
19266         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19267         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19268         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19269         [ISO11] (FLT_HAS_SUBNORM): Likewise.
19270         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19271         [ISO11] (DBL_DECIMAL_DIG): Likewise.
19272         [ISO11] (FLT_DECIMAL_DIG): Likewise.
19273         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19274         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19275         [ISO11] (FLT_TRUE_MIN): Likewise.
19276         [ISO11] (LDBL_TRUE_MIN): Likewise.
19277         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19278         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19279         (SCHAR_MIN): Use macro-int-constant.  Specify type.
19280         (SCHAR_MAX): Likewise.
19281         (UCHAR_MAX): Likewise.
19282         (CHAR_MIN): Likewise.
19283         (CHAR_MAX): Likewise.
19284         (MB_LEN_MAX): Use macro-int-constant.
19285         (SHRT_MIN): Use macro-int-constant.  Specify type.
19286         (SHRT_MAX): Likewise.
19287         (USHRT_MAX): Likewise.
19288         (INT_MAX): Likewise.
19289         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
19290         bound negative.
19291         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
19292         bound with "U".
19293         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
19294         bound with "L".
19295         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
19296         bound negative.  Suffix upper bound with "L".
19297         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
19298         bound with "UL".
19299         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19300         Specify type.
19301         [C99-based standards] (LLONG_MAX): Likewise.
19302         [C99-based standards] (ULLONG_MAX): Likewise.
19303         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
19304         == 0.
19305         [ISO11] (max_align_t): Require type.
19306         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19308         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19309         from $CFLAGS, without defining away __attribute__ calls.
19310         (checknamespace): Use $CFLAGS_namespace.
19312         * conform/conformtest.pl (@keywords): Only include C99 keywords
19313         for standards based on C99 or C11.
19315         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19316         Disable tests.
19317         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19318         UNIX98]: Likewise.
19320         * conform/conformtest.pl: Handle "macro-int-constant" and test for
19321         usability of symbols in #if.
19323         * conform/conformtest.pl: If macro or constant types start
19324         "promoted:", expect the symbol to be of the following type
19325         promoted by the integer promotions.
19327         * conform/conformtest.pl: Parse all "constant" and "macro" lines
19328         in one place.  Also handle "macro-constant".
19330         * conform/conformtest.pl: Only accept expected macro values with
19331         "==".  Parse all "macro" lines in one place.
19332         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19334         * conform/conformtest.pl: Handle braced types on "constant" lines
19335         instead of handling "typed-constant".
19336         * conform/data/signal.h-data: Use "constant" instead of
19337         "typed-constant".
19339         * conform/conformtest.pl: Handle "optional-" at start of lines in
19340         one place rather than duplicating several cases.  Handle each
19341         format of "macro" line with initial "optional-".
19343         * conform/conformtest.pl: Only accept expected constant or
19344         optional-constant values with "==".  Parse all "constant" lines in
19345         one place.  Parse all "optional-constant" lines in one place.
19346         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19347         * conform/data/fmtmsg.h-data: Likewise.
19348         * conform/data/netinet/in.h-data: Likewise.
19349         * conform/data/tar.h-data: Likewise.
19350         * conform/data/limits.h-data: Use "==" form on "constant" and
19351         "optional-constant" lines.
19353         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19354         Use -std=c99 for XOPEN2K.
19355         (@knownproblems): Remove.
19356         (newtoken): Don't check %isknown.
19358         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19359         Do not expect macro.
19360         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19361         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19362         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19363         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19364         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19365         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19366         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19367         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19368         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19369         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19370         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19371         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19372         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19373         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19374         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19375         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19376         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19377         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19378         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19379         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19380         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19381         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19382         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19383         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19384         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19385         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19386         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19387         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19388         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19389         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19390         [XPG3] (acosh): Likewise.
19391         [XPG3] (asinh): Likewise.
19392         [XPG3] (atanh): Likewise.
19393         [XPG3] (cbrt): Likewise.
19394         [XPG3] (expm1): Likewise.
19395         [XPG3] (ilogb): Likewise.
19396         [XPG3] (log1p): Likewise.
19397         [XPG3] (logb): Likewise.
19398         [XPG3] (nextafter): Likewise.
19399         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19400         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19401         [XPG3] (remainder): Likewise.
19402         [XPG3] (rint): Likewise.
19403         [XPG3 || XPG4 || UNIX98] (round): Likewise.
19404         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19405         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19406         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19407         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19408         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19409         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19410         [UNIX98 || XOPEN2K] (scalb): Expect.
19411         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19412         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19413         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19414         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19415         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19416         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19417         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19418         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19419         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19420         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19421         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19422         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19423         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19424         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19425         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19426         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19427         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19428         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19429         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19430         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19431         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19432         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19433         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19434         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19435         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19436         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19437         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19438         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19439         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19440         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19441         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19442         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19443         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19444         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19445         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19446         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19447         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19448         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19449         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19450         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19451         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19452         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19453         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19454         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19455         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19456         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19457         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19458         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19459         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19460         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19461         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19462         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19463         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19464         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19465         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19466         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19467         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19468         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19469         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19470         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19471         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19472         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19473         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19474         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19475         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19476         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19477         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19478         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19479         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19480         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19481         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19482         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19483         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19484         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19485         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19486         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19487         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19488         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19489         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19490         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19491         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19492         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19493         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19494         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19495         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19496         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19497         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19498         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19499         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19500         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19501         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19502         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19503         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19504         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19505         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19506         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19507         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19508         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19509         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19510         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19511         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19512         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19513         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19514         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19515         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19516         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19517         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19518         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19519         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19520         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19521         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19522         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19523         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19524         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19525         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19526         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19527         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19528         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19529         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19530         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19531         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19532         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19533         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19534         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19535         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19536         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19537         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19538         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19539         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19540         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19541         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19542         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19543         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19544         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19545         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19546         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19547         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19549         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19550         _XOPEN_SOURCE_EXTENDED for XPG4.
19552         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19554         * Makeconfig (localtime): Remove variable.
19555         (inst_localtime-file): Likewise.
19557 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19560         Update.
19561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19562         Update.
19563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19564         Update.
19565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19566         Update.
19567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19568         Update.
19569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19570         Update.
19571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19572         Update.
19573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19574         Update.
19575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19576         Update.
19578 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
19580         [BZ #2550]
19581         [BZ #2570]
19582         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19583         comparisons to determine direction to adjust input.
19584         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19585         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19586         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19587         Likewise.
19588         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19589         Likewise.
19590         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19591         Likewise.
19592         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19593         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19594         Likewise.
19595         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19596         Likewise.
19597         * math/libm-test.inc (nexttoward_test): Add more tests.
19599 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19601         [BZ #14040]
19602         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19603         in version GLIBC_2.1, not GLIBC_2.0.
19604         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19605         Likewise.
19607 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
19609         [BZ #13942]
19610         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19611         (1 - x) * (1 + x).
19612         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19613         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19614         * math/libm-test.inc (acos_test): Add more tests.
19615         (asin_test): Likewise.
19616         * sysdeps/i386/fpu/libm-test-ulps: Update.
19617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19619         [BZ #14034]
19620         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19621         of square root.
19622         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19623         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19624         * math/libm-test.inc (acos_test_tonearest): New function.
19625         (acos_test_towardzero): Likewise.
19626         (acos_test_downward): Likewise.
19627         (acos_test_upward): Likewise.
19628         (asin_test_tonearest): Likewise.
19629         (asin_test_towardzero): Likewise.
19630         (asin_test_downward): Likewise.
19631         (asin_test_upward): Likewise.
19632         (main): Call the new functions.
19633         * sysdeps/i386/fpu/libm-test-ulps: Update.
19634         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19636         [BZ #13884]
19637         [BZ #13924]
19638         * math/e_exp10.c: Include <float.h>.
19639         (__ieee754_exp10): Handle underflow here rather than multiplying
19640         large negative argument by M_LN10.
19641         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19642         of __ieee754_expf.
19643         * math/e_exp10l.c: Include <float.h>.
19644         (__ieee754_exp10l): Handle underflow here rather than multiplying
19645         large negative argument by M_LN10l.
19646         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
19647         spurious overflow exception on underflow.
19649 2012-04-29  Marek Polacek  <polacek@redhat.com>
19651         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19652         (__fortify_function): New macro.
19653         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19654         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19655         __extern_always_inline.
19656         * libio/bits/stdio2.h: Likewise.
19657         * libio/bits/stdio.h: Likewise.
19658         * string/string.h: Likewise.
19659         * string/bits/string3.h: Likewise.
19660         * include/stdio.h: Likewise.
19661         * stdlib/bits/stdlib.h: Likewise.
19662         * stdlib/stdlib.h: Likewise.
19663         * rt/bits/mqueue2.h: Likewise.
19664         * rt/mqueue.h: Likewise.
19665         * posix/bits/unistd.h: Likewise.
19666         * posix/unistd.h: Likewise.
19667         * io/bits/poll2.h: Likewise.
19668         * io/bits/fcntl2.h: Likewise.
19669         * io/fcntl.h: Likewise.
19670         * io/sys/poll.h: Likewise.
19671         * misc/bits/syslog.h: Likewise.
19672         * misc/bits/syslog-ldbl.h: Likewise.
19673         * misc/sys/syslog.h: Likewise.
19674         * socket/bits/socket2.h: Likewise.
19675         * socket/sys/socket.h: Likewise.
19676         * debug/tst-chk1.c: Likewise.
19677         * wcsmbs/bits/wchar2.h: Likewise.
19678         * wcsmbs/bits/wchar-ldbl.h: Likewise.
19679         * wcsmbs/wchar.h: Likewise.
19681 2012-04-29  Andreas Jaeger  <aj@suse.de>
19683         * Makerules (tests): Remove enable-check-abi protection.
19684         (check-abi-warn): Remove.
19685         (check-abi-%): Remove check-abi-warn usage.
19687         * configure.in: Remove check-abi configure option.
19688         * configure: Regenerated.
19689         * config.make.in (enable-check-abi): Remove.
19691 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
19693         [BZ #14033]
19694         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19695         double functions to double *_finite functions.
19697         [BZ #13941]
19698         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19699         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19700         LDBL_MIN_EXP.
19701         * stdio-common/Makefile (tests): Add tst-sprintf3.
19702         * stdio-common/tst-sprintf3.c: New file.
19704         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19705         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19707 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
19709         * conform/conformtest.pl: Remove duplicate typed-constant
19710         handling.
19712 2012-04-28  David S. Miller  <davem@davemloft.net>
19714         * Makerules (%.abilist): Add vpath on sysdep_dirs.
19715         (check-abi-%): Remove AWK script prerequisite and explicit
19716         abilist directory.
19717         (check-abi): Rewrite to just diff the symlist with the abilist.
19718         (config-tls, config-abi-config): Delete, no longer used.
19719         (update-abi-%): Remove AWK script and explicit abilist directory.
19720         (update-abi): Rewrite to simply compare and conditionally copy the
19721         symlist and the sysdep abilist file.  Remove update-abi-config
19722         checks.
19723         * abilist/ld.abilist: Remove.
19724         * abilist/libBrokenLocale.abilist: Remove.
19725         * abilist/libanl.abilist: Remove.
19726         * abilist/libcrypt.abilist: Remove.
19727         * abilist/libdl.abilist: Remove.
19728         * abilist/librt.abilist: Remove.
19729         * abilist/libthread_db.abilist: Remove.
19730         * abilist/libutil.abilist: Remove.
19731         * scripts/extract-abilist.awk: Remove.
19732         * scripts/merge-abilist.awk: Remove.
19733         * sysdeps/generic/libcidn.abilist: New file.
19734         * sysdeps/generic/libnss_compat.abilist: New file.
19735         * sysdeps/generic/libnss_db.abilist: New file.
19736         * sysdeps/generic/libnss_dns.abilist: New file.
19737         * sysdeps/generic/libnss_files.abilist: New file.
19738         * sysdeps/generic/libnss_hesiod.abilist: New file.
19739         * sysdeps/generic/libnss_nis.abilist: New file.
19740         * sysdeps/generic/libnss_nisplus.abilist: New file.
19741         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19742         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19743         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19744         file.
19745         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19746         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19747         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19748         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19749         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19750         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19751         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19752         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19753         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19754         file.
19755         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19756         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19757         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19758         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19759         file.
19760         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19761         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19762         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19763         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19764         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19765         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19766         file.
19767         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19768         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19769         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19770         file.
19771         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19772         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19773         New file.
19774         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19775         New file.
19776         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19777         New file.
19778         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19779         New file.
19780         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19781         New file.
19782         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19783         New file.
19784         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19785         New file.
19786         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19787         New file.
19788         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19789         New file.
19790         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19791         New file.
19792         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19793         New file.
19794         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19795         New file.
19796         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19797         New file.
19798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19799         file.
19800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19801         New file.
19802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19803         New file.
19804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19805         file.
19806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19807         New file.
19808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19809         New file.
19810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19811         file.
19812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19813         New file.
19814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19815         New file.
19816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19817         New file.
19818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19819         New file.
19820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19821         New file.
19822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19823         New file.
19824         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19825         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19826         file.
19827         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19828         New file.
19829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19830         file.
19831         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19832         file.
19833         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19834         file.
19835         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19836         file.
19837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19838         file.
19839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19840         New file.
19841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19842         file.
19843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19844         file.
19845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19846         New file.
19847         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19848         file.
19849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19851         file.
19852         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19853         New file.
19854         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19855         file.
19856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19857         file.
19858         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19859         file.
19860         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19861         file.
19862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19863         file.
19864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19865         New file.
19866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19867         file.
19868         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19869         file.
19870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19871         New file.
19872         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19873         file.
19874         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19875         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19876         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19877         file.
19878         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19879         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19880         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19881         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19882         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19883         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19884         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19885         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19886         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19887         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19888         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19889         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19890         file.
19891         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19892         New file.
19893         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19894         file.
19895         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19896         file.
19897         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19898         file.
19899         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19900         file.
19901         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19902         file.
19903         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19904         New file.
19905         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19906         New file.
19907         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19908         file.
19909         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19910         New file.
19911         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19912         file.
19913         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19914         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19915         file.
19916         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19917         New file.
19918         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19919         file.
19920         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19921         file.
19922         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19923         file.
19924         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19925         file.
19926         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19927         file.
19928         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19929         New file.
19930         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19931         New file.
19932         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19933         file.
19934         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19935         New file.
19936         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19937         file.
19939 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
19941         * conform/conformtest.pl: Fix typo in handling typed-constant from
19942         allow-header.
19944 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
19946         * README: Cut down references to pre-2.6 Linux kernels and
19947         Linuxthreads.  Update lists of configurations in libc and ports
19948         and sort alphabetically.  Say "or newer" with Linux kernel version
19949         requirements.
19951         * config.h.in [IS_IN_build]: Allow compiling without optimization.
19953 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19955         [BZ #887]
19956         * math/libm-test.inc (logb_test_downward): New test to expose
19957         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19958         rounding mode.
19960 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
19962         [BZ #14027]
19963         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19964         to be done.
19965         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19966         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19968 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
19970         * sysdeps/unix/i386/brk.S: Remove file.
19971         * sysdeps/unix/i386/dl-brk.S: Likewise.
19972         * sysdeps/unix/i386/pipe.S: Likewise.
19973         * sysdeps/unix/i386/sigreturn.S: Likewise.
19974         * sysdeps/unix/i386/syscall.S: Likewise.
19975         * sysdeps/unix/i386/vfork.S: Likewise.
19976         * sysdeps/unix/i386/wait.S: Likewise.
19978         * sysdeps/unix/common/tcsendbrk.c: Move to ...
19979         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19981         * configure.in (arm*-none*): Do not allow without
19982         --enable-hacker-mode.
19983         (netbsd*): Remove case setting base_os.
19984         (386bsd*): Likewise.
19985         (freebsd*): Likewise.
19986         (bsdi*): Likewise.
19987         (osf*): Likewise.
19988         (sunos*): Likewise.
19989         (ultrix*): Likewise.
19990         (newsos*): Likewise.
19991         (dynix*): Likewise.
19992         (*bsd*): Likewise.
19993         (sysv*): Likewise.
19994         (isc*): Likewise.
19995         (esix*): Likewise.
19996         (sco*): Likewise.
19997         (minix*): Likewise.
19998         (irix4*): Likewise.
19999         (irix6*): Likewise.
20000         (solaris[2-9]*): Likewise.
20001         (none): Likewise.
20002         * configure: Regenerated.
20004 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20006         [BZ #11521]
20007         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20008         overflow or cancellation in calculating denominator.
20009         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20010         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20011         down expression to avoid unexpected rounding in newer GCCs.
20012         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20014 2012-04-26  David S. Miller  <davem@davemloft.net>
20016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20017         long-double compat symbols.
20018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20023         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20024         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20025         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20026         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20027         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20029         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20030         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20032 2012-04-25  David S. Miller  <davem@davemloft.net>
20034         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20035         HWCAP_* values only after the memory barriers have been defined.
20036         (atomic_full_barrier): Define.
20037         (atomic_read_barrier): Define.
20038         (atomic_write_barrier): Define.
20040 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20042         * shlib-versions: Add libgcc_s version information.
20043         * sysdeps/generic/libgcc_s.h: Remove.
20044         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20045         libgcc_s.h.
20046         * sysdeps/gnu/unwind-resume.c: Likewise.
20047         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20049 2012-04-25  David S. Miller  <davem@davemloft.net>
20051         * sysdeps/unix/sparc/brk.S: Delete.
20052         * sysdeps/unix/sparc/dl-brk.S: Delete.
20053         * sysdeps/unix/sparc/pipe.S: Delete.
20054         * sysdeps/unix/sparc/sysdep.S: Delete.
20055         * sysdeps/unix/sparc/sysdep.h: Delete.
20056         * sysdeps/unix/sparc/vfork.S: Delete.
20057         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20058         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20059         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20060         ret_ERRVAL, r0, r1, MOVE): Define.
20061         (JUMPTARGET): Remove.
20062         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20063         sysdeps/unix/sparc/sysdep.h
20064         (ENTRY, END): Remove.
20065         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20067 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
20069         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20070         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20071         -DIS_IN_build.
20073         * timezone/README: Update upstream location and email address for
20074         tzcode and tzdata.
20075         * timezone/zdump.c: Update from tzcode 2012b.
20076         * timezone/zic.c: Likewise.
20078         * configure.in (libc_cv_as_needed): Remove test.
20079         * configure: Regenerated.
20080         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20081         conditional definition.
20082         [$(have-as-needed) != yes] (no-as-needed): Likewise.
20083         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20084         * config.make.in (have-as-needed): Remove variable.
20086 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20087             Paul Pluzhnikov  <ppluzhnikov@google.com>
20089         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20090         strings correctly.
20092 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
20094         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20095         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20096         * sysdeps/sh/strlen.S: Likewise.
20098 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
20100         * sysdeps/unix/fork.S: Remove file.
20101         * sysdeps/unix/i386/fork.S: Likewise.
20102         * sysdeps/unix/sparc/fork.S: Likewise.
20104         * sysdeps/unix/system.c: Remove file.
20105         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20107         * sysdeps/unix/getegid.S: Remove file.
20108         * sysdeps/unix/geteuid.S: Likewise.
20110 2012-04-24  Roland McGrath  <roland@hack.frob.com>
20112         * scripts/check-localplt.awk: New file.
20113         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20114         of diff.
20115         * scripts/data/localplt-generic.data: Add a comment.
20117         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20118         NODE when __dir_mkfile failed.
20119         * sysdeps/mach/hurd/symlinkat.c: Likewise.
20120         Reported by Ludovic Courtès <ludo@gnu.org>.
20122 2012-04-24  Andreas Jaeger  <aj@suse.de>
20124         * Makerules (common-clean): Also remove gen-as-const-headers
20125         files.
20127 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
20129         * Makerules (native-compile): Do not change working directory for
20130         build.  Use $(OUTPUT_OPTION) in command.
20131         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20133 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20135         [BZ #13886]
20136         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20137         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20138         * math/libm-test.inc (floor_test): Add more tests.
20139         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20141 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
20143         * sysdeps/unix/getdents.c: Remove file.
20144         * sysdeps/unix/sysv/getdents.c: Likewise.
20145         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20147         * sysdeps/unix/syscalls.list (madvise): Add syscall from
20148         sysdeps/unix/mman/syscalls.list.
20149         (mmap): Likewise.
20150         (mprotect): Likewise.
20151         (msync): Likewise.
20152         (munmap): Likewise.
20153         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20154         * sysdeps/unix/mman/syscalls.list: Remove.
20155         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20157         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20158         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20159         * configure: Regenerated.
20160         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20161         $(libgcc_s_suffix).
20162         * config.make.in (libgcc_s_suffix): Remove variable.
20164 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
20166         * sysdeps/unix/sysv/gethostname.c: Move to ...
20167         * sysdeps/posix/gethostname.c: ... here.
20169         * sysdeps/unix/execve.S: Remove file.
20171         * sysdeps/unix/_exit.S: Remove file.
20173 2012-04-23  Andreas Jaeger  <aj@suse.de>
20175         [BZ #13739]
20176         * manual/Makefile: Remove make dist support, there's no
20177         need for a stand-alone documentation tar ball.
20178         (TEXI2DVI): Define always, it's not in Makeconfig.
20179         (dist): Removed.
20180         (tar-it): Removed.
20181         (edition): Removed.
20182         (glibc-doc-$(edition).tar): Removed
20183         (%.Z): Removed.
20184         (%.gz): Removed.
20185         (%.uu): Removed.
20186         (ETAGS): Remove, it's in Makeconfig.
20187         (move-if-change): Remove, it's in Makeconfig.
20189 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
20191         [BZ #13970]
20192         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20193         (strtod, strtof, strtold, strtol, strtoul, strtoq)
20194         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20195         (strtod_l, strtof_l, strtold_l): Remove __wur.
20196         It is not necessarily an error to ignore strtol's return value.
20197         One can reliably look at the stored endptr to decide whether
20198         the number had valid syntax.
20200 2012-04-21  Andreas Jaeger  <aj@suse.de>
20202         [BZ #13739]
20203         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20205 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
20207         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20208         * sysdeps/unix/sysv/Versions: Remove file.
20210 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
20212         [BZ #13927]
20213         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20215 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
20217         [BZ #7064]
20218         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20219         version from __vm86.
20221 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
20223         * sysdeps/unix/common/lxstat.c: Remove file.
20224         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20226         * sysdeps/unix/sysv/Makefile: Remove file.
20228         * sysdeps/unix/sysv/direct.h: Remove file.
20230         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20231         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20232         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20233         * sysdeps/unix/sysv/bits/signum.h: Likewise.
20234         * sysdeps/unix/sysv/bits/stat.h: Likewise.
20235         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20236         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20238         * sysdeps/unix/sysv/setrlimit.c: Remove file.
20240         * sysdeps/unix/xmknod.c: Remove file.
20241         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20243         * sysdeps/unix/sysv/settimeofday.c: Remove file.
20245         * sysdeps/unix/sysv/i386/time.S: Remove file.
20247         * sysdeps/unix/fxstat.c: Remove file.
20248         * sysdeps/unix/xstat.c: Likewise.
20249         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20251         * sysdeps/unix/sysv/sigaction.c: Remove file.
20253         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20254         (sysdep_headers): Remove variable.
20255         [termio.h not in sysdep_headers] (generated): Likewise.
20256         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20257         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20258         * sysdeps/unix/sysv/tcdrain.c: Likewise.
20259         * sysdeps/unix/sysv/tcflow.c: Likewise.
20260         * sysdeps/unix/sysv/tcflush.c: Likewise.
20261         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20262         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20263         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20264         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20265         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20267         * sysdeps/unix/siglist.c: Remove file.
20269         * sysdeps/unix/getppid.S: Remove file.
20271         * sysdeps/unix/mkdir.c: Remove file.
20272         * sysdeps/unix/rmdir.c: Likewise.
20274 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
20276         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20277         ERR_MAX value.
20278         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20279         errlist-compat value.
20281 2012-04-18  David S. Miller  <davem@davemloft.net>
20283         * sysdeps/generic/memcopy.h (reg_char): Delete.
20284         * debug/strcat_chk.c: Use char, not reg_char.
20285         * debug/strcpy_chk.c: Likewise.
20286         * debug/strncat_chk.c: Likewise.
20287         * debug/strncpy_chk.c: Likewise.
20288         * string/memchr.c: Likewise.
20289         * string/memrchr.c: Likewise.
20290         * string/rawmemchr.c: Likewise.
20291         * string/strcat.c: Likewise.
20292         * string/strchr.c: Likewise.
20293         * string/strchrnul.c: Likewise.
20294         * string/strcmp.c: Likewise.
20295         * string/strcpy.c: Likewise.
20296         * string/strncat.c: Likewise.
20297         * string/strncmp.c: Likewise.
20298         * string/strncpy.c: Likewise.
20300 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
20302         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20303         __builtin_memcopy is called when src and dest ranges are known to not
20304         overlap.
20306 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
20308         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20309         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20310         fwd_align_merge macro call.
20311         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20312         bwd_align_merge macro call.
20313         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20315 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
20317         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20318         bwd_align_merge macros.
20319         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20320         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20321         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20323 2012-04-18  David S. Miller  <davem@davemloft.net>
20325         * sysdeps/sparc/sparc64/memcopy.h: Delete.
20327 2012-04-18  Andreas Jaeger  <aj@suse.de>
20329         [BZ# 6794]
20330         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20331         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20332         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20334         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20335         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20336         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20338         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20339         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20340         Adjust for changed ldbl-128 files.
20342         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20343         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20344         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20346 2012-04-17  David S. Miller  <davem@davemloft.net>
20348         * sysdeps/sparc/sparc32/memcopy.h: Delete.
20350 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
20352         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20353         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20354         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20355         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20356         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20357         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20359 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20361         [BZ #6794]
20362         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20363         * math/libm-test.inc: Add ilogb errno and exception tests.
20364         * math/w_ilogb.c: New file: ilogb wrapper.
20365         * math/w_ilogbf.c: New file: ilogbf wrapper.
20366         * math/w_ilogbl.c: New file: ilogbl wrapper.
20367         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20368         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20369         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20370         exception being thrown with 0.0 as argument.
20371         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20372         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20373         exception being thrown with 0.0 as argument.
20374         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20375         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20376         exception being thrown with 0.0 as argument.
20377         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20378         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20379         exception being thrown with 0.0 as argument.
20380         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20381         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
20382         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
20383         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20384         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20385         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20386         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20387         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20388         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20390 2012-04-17  Petr Baudis  <pasky@ucw.cz>
20392         * include/sys/uio.h: Change __vector to __iovec to avoid clash
20393         with altivec.
20395 2012-04-16  Marek Polacek  <polacek@redhat.com>
20397         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20399 2012-04-16  Marek Polacek  <polacek@redhat.com>
20401         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20402         operands of fdivp instruction.
20404 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
20406         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20407         * elf/tst-auditmod3b.c: Likewise.
20408         * elf/tst-auditmod4b.c: Likewise.
20409         * elf/tst-auditmod5b.c: Likewise.
20410         * elf/tst-auditmod6b.c: Likewise.
20411         * elf/tst-auditmod6c.c: Likewise.
20412         * elf/tst-auditmod7b.c: Likewise.
20413         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20414         * sysdeps/x86_64/preconfigure.in: Likewise.
20415         * sysdeps/x86_64/preconfigure: Regenerated.
20417 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
20419         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20420         __ILP32__.
20422 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
20424         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20425         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20427 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
20429         [BZ #13973]
20430         * locale/iso-639.def: Fix gl language name. Spotted by
20431         Yaron Shahrabani.
20433 2012-04-12  Roland McGrath  <roland@hack.frob.com>
20435         [BZ #2074]
20436         * libio/libio.h (__io_write_fn): Update comment.
20438 2012-04-12  Petr Baudis  <pasky@ucw.cz>
20440         [BZ #2074]
20441         * stdio.texi (Hook Functions): The user provided writer function
20442         is not allowed to return -1.
20444 2012-04-11  David S. Miller  <davem@davemloft.net>
20446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20448 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
20450         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20451         Add a leading slash to rtkaio.
20453 2012-04-11  Jim Meyering  <meyering@redhat.com>
20455         [BZ #11959]
20456         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20457         It is not necessarily an error to ignore fwrite's return
20458         value.  One can reliably use ferror to test for errors after
20459         the fact.
20461 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
20463         * bits/types.h (__snseconds_t): New type.
20464         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20466         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20467         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20468         (__SNSECONDS_T_TYPE): Likewise.
20469         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20470         (__SNSECONDS_T_TYPE): Likewise.
20471         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20472         (__SNSECONDS_T_TYPE): Likewise.
20474 2012-04-10  Andreas Jaeger  <aj@suse.de>
20476         [BZ #2636]
20477         * manual/time.texi (Processor Time): Return type of times is
20478         elapsed real time since an arbitrary point in the past.
20479         (CPU Time): Move CLK_TCK from here...
20480         (Processor Time): ...to here.  Correct description.
20481         * manual/conf.texi (Constants for Sysconf): Correct description of
20482         _SC_CLK_TCK.
20484 2012-04-10  David S. Miller  <davem@davemloft.net>
20486         [BZ #13967]
20487         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20488         where the is a gap between DT_REL(A) and DT_JMPREL.
20490 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
20492         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20493         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20494         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20496 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20498         * elf/dl-support.c (_dl_inhibit_cache): New variable.
20499         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20500         (dl_main): Handle --inhibit-cache.
20501         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20502         _dl_inhibit_cache.
20503         * elf/dl-load.c (_dl_map_object): Use it.
20504         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20506 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
20508         [BZ #13872]
20509         * sysdeps/i386/fpu/e_powl.S (p78): New object.
20510         (__ieee754_powl): Saturate large exponents rather than testing for
20511         overflow of y*log2(x).
20512         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20513         * math/libm-test.inc (pow_test): Do not permit spurious overflow
20514         exceptions.
20516         [BZ #11521]
20517         * math/s_ctan.c: Include <float.h>.
20518         (__ctan): Avoid internal overflow or cancellation in calculating
20519         denominator.
20520         * math/s_ctanf.c: Likewise.
20521         * math/s_ctanl.c: Likewise.
20522         * math/s_ctanh.c: Likewise.
20523         * math/s_ctanhf.c: Likewise.
20524         * math/s_ctanhl.c: Likewise.
20525         * math/libm-test.inc (ctan_test): Add more tests.
20526         (ctanh_test): Likewise.
20527         * sysdeps/i386/fpu/libm-test-ulps: Update.
20528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20530 2012-04-09  Andreas Jaeger  <aj@suse.de>
20532         [BZ #6894]
20533         * manual/filesys.texi (Directory Entries): Mention that d_namlen
20534         is an optional BSD extension.
20536         [BZ #10254]
20537         * manual/stdio.texi (Opening Streams): Document additional fopen
20538         parameters.
20540 2012-04-09  Roland McGrath  <roland@hack.frob.com>
20542         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20543         %eax without telling the compiler.
20545 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
20547         [BZ # 13963]
20548         * manual/install.texi: Use sourceware.org.
20550 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
20552         [BZ #13873]
20553         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20554         (__ieee754_pow): Generate overflow and underflow using huge*huge
20555         and tiny*tiny rather than just returning constant infinity or zero
20556         for large exponents.
20557         * math/libm-test.inc (pow_test): Require overflow exceptions for
20558         applicable cases of large exponents.
20560         [BZ #706]
20561         * sysdeps/i386/fpu/e_pow.S (p10): New object.
20562         (__ieee754_pow): Use iterative multiplication algorithm only for
20563         integer exponents with absolute value below 1024.  Check for odd
20564         integer exponents when using algorithm for real exponents.
20565         * math/libm-test.inc (pow_test): Add more tests.
20566         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20568 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
20570         [BZ #13705]
20571         * math/libm-test.inc (exp_test): Do not allow overflow exception
20572         on underflow test.
20574 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
20576         [BZ #13705]
20577         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20578         instead of __kernel_standard_f.
20580 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
20582         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20583         * sysdeps/x86_64/memset_chk.S: Likewise.
20585 2012-04-08  Andreas Jaeger  <aj@suse.de>
20587         [BZ #10153]
20588         * manual/startup.texi (Environment Access): Describe return value
20589         for putenv and setenv.
20591         [BZ #6895]
20592         * manual/filesys.texi (Directory Entries): Add description for
20593         DT_LNK.
20595         [BZ #6890]
20596         * manual/filesys.texi (Directory Entries): Clarify that it's file
20597         system not operating system in the description of DT_UNKNOWN.
20599         [BZ #6578]
20600         * manual/syslog.texi (closelog): Fix reference, it's openlog.
20602 2012-04-08  Stephen Compall  <s11@member.fsf.org>
20604         [BZ #6649]
20605         * manual/llio.texi (Opening and Closing Files): Add cross
20606         reference to explain mode argument.
20608 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
20610         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20611         * sysdeps/x86_64/memset_chk.S: Likewise.
20613 2012-04-07  David S. Miller  <davem@davemloft.net>
20615         * elf/elf.h (R_SPARC_WDISP10): Define.
20616         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20617         R_SPARC_SIZE32.
20618         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20619         R_SPARC_SIZE64 and R_SPARC_H34.
20621 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
20623         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20624         conditions and remove no longer applicable assertion.
20626 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
20628         * bits/byteswap.h: Include <features.h>.
20629         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20630         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20632 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
20634         * bits/byteswap.h (__bswap_16): Removed.
20635         Include <bits/byteswap-16.h> to get __bswap_16.
20636         * sysdeps/i386/bits/byteswap.h: Likewise.
20637         * sysdeps/s390/bits/byteswap.h: Likewise.
20638         * sysdeps/x86_64/bits/byteswap.h: Likewise.
20639         * bits/byteswap-16.h: New file.
20640         * sysdeps/i386/bits/byteswap-16.h: Likewise.
20641         * sysdeps/s390/bits/byteswap-16.h: Likewise.
20642         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20643         * string/Makefile (headers): Add bits/byteswap-16.h.
20645 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20647         [BZ #13895]
20648         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20649         extra indirection.
20650         * nss/Makefile (tests-static, tests): Add tst-nss-static.
20651         * nss/tst-nss-static.c: New.
20653 2012-04-06  Robert Millan  <rmh@gnu.org>
20655         [BZ #6486]
20656         * manual/llio.texi (File Position Primitive): lseek
20657         refers to WHENCE when it really means OFFSET.
20659 2012-04-06  Andreas Jaeger  <aj@suse.de>
20661         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20662         strncmp declarations.
20664         * abilist/libc.abilist: Add __poll and __ppoll.
20666 2012-04-05  David S. Miller  <davem@davemloft.net>
20668         * scripts/check-local-headers.sh: Accept a host triplet in the
20669         path matched by the exclude regexp.
20671         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20672         definition.
20673         * sysdeps/powerpc/powerpc32/dl-machine.h
20674         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20675         * sysdeps/s390/s390-32/dl-machine.h
20676         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20677         * sysdeps/sparc/sparc32/dl-machine.h
20678         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20679         * sysdeps/sparc/sparc64/dl-machine.h
20680         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20682         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20683         lazy binding.
20684         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
20685         undefined symbol errors.
20687         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
20688         DT_NEEDED entries.
20690 2012-04-05  Michael Matz  <matz@suse.de>
20692         [BZ #13592]
20693         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20695 2012-04-05  Andreas Jaeger  <aj@suse.de>
20697         [BZ #13908]
20698         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20699         comment.
20701 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20703         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20704         which ROUND is no valid rounding mode.
20706 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20708         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20709         read again.
20710         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20712 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20714         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20715         an exception using FPU order intentionally.
20717 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20719         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20720         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20721         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20722         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20724 2012-04-05  Simon Josefsson  <simon@josefsson.org>
20726         [BZ #12340]
20727         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20728         EINVAL when BUFLEN is too smal.
20730 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20732         [BZ #13553]
20733         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20734         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20736 2012-04-03  Andreas Jaeger  <aj@suse.de>
20738         [BZ #13938]
20739         * manual/setjmp.texi (System V contexts): Fix sentence.
20741         [BZ #13926]
20742         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20743         New macro for this case.
20744         [!__GNUC__] (__bswap_64): New inline function for this case.
20745         * sysdeps/x86_64/bits/byteswap.h: Likewise.
20746         * bits/byteswap.h: Likewise.
20747         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20748         ull, guard with __GLIBC_HAVE_LONG_LONG.
20750         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20751         __GLIBC_HAVE_LONG_LONG.
20753         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20754         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20756 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20758         [BZ #13691]
20759         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20760         inptr and inend, rather than using last_ch.
20762 2012-04-02  David S. Miller  <davem@davemloft.net>
20764         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20765         * stdio-common/printf-parse.h (read_int): Change return type to
20766         'int', return -1 on INT_MAX overflow.
20767         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20768         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
20769         overflows INT_MAX.  Check for overflow of in-format-string precision
20770         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
20771         SIZE_MAX not INT_MAX for integer overflow test.
20772         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20773         skip the construct in the format string but do not record anything.
20774         * stdio-common/bug22.c: Adjust to test both width/prevision
20775         INT_MAX overflow as well as total length INT_MAX overflow.  Check
20776         explicitly for proper errno values.
20778 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
20780         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20781         CHAR_MAX.
20782         * string/test-strcmp.c [! WIDE]: Likewise.
20783         * time/tst-mktime2.c: Likewise for INT_MAX.
20784         * string/test-string.h: #include <sys/param.h> for MIN.
20786         * csu/init-first.c (__libc_init_first): Call __ctype_init.
20787         * sysdeps/i386/init-first.c (init): Likewise.
20788         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20789         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20790         * sysdeps/sh/init-first.c (init): Likewise.
20792 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
20794         * po/ru.po: Update from translation team.
20795         * po/vi.po: Likewise.
20797 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20799         * resolv/nss_dns/dns-host.c: Merge copyright years.
20801 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20803         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20804         Optimize memcpy with prefetch if
20805         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
20806         src, dst pointers have unequal 16 byte alignments.
20808 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20810         [BZ #13928]
20811         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20812         from a CNAME entry and return the minimum ttl for the query.
20813         (gaih_getanswer_slice): Likewise.
20815 2012-03-30  Jeff Law  <law@redhat.com>
20817         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20818         due to long keys.
20819         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20820         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20822         * resolv/nss_dns/dns-host.c: Update copyright year.
20824 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
20826         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
20827         requests to save a system call.  Fix check that all bytes are sent.
20829         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20830         comments for sendmmsg.
20832 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20834         [BZ #13691]
20835         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20836         with only 1 character between 0x0041 and 0x01b0.
20837         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20838         * wcsmbs/tst-mbsnrtowcs.c: New file.
20840 2012-03-29  David S. Miller  <davem@davemloft.net>
20842         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20843         small copies by hand.
20845 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20847         [BZ #13761]
20848         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20849         _nss_compat_initgroups_dyn): Fall back to malloc/free
20850         for large group memberships.
20852 2012-03-28  David S. Miller  <davem@davemloft.net>
20854         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20855         that branches into memcpy.
20856         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20857         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20858         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20859         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20860         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20861         bits.
20862         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20863         implementation too.
20864         * sysdeps/sparc/mempcpy.S: New file.
20866         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20867         the IFUNC routine in the libc case.
20868         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20870         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20871         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20872         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20873         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20874         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20875         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20876         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20877         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20879         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20880         loop to 256 bytes instead of 64 bytes and fix test signedness.
20882         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20883         * sysdeps/sparc/sparc32/Makefile: rather than here...
20884         * sysdeps/sparc/sparc64/Makefile: and here.
20886 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
20888         * malloc/mallocbug.c: Avoid warnings about unused variables.
20890 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20892         [BZ #13760]
20893         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20894         in the right place. Discard and retry query if response is
20895         larger than input buffer size.
20897 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
20899         [BZ #369]
20900         [BZ #2678]
20901         [BZ #3866]
20902         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20903         x for large integer exponent.
20904         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20905         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
20906         sign of result as needed afterwards.
20907         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20908         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20909         result for underflowing pow the same as for overflow.
20910         (__kernel_standard_l): Handle powl overflow and underflow here
20911         rather than calling __kernel_standard.
20912         * math/libm-test.inc (pow_test): Add more tests.
20914         [BZ #3868]
20915         [BZ #13879]
20916         [BZ #13910]
20917         [BZ #13911]
20918         [BZ #13912]
20919         [BZ #13913]
20920         [BZ #13915]
20921         [BZ #13916]
20922         [BZ #13917]
20923         [BZ #13918]
20924         [BZ #13919]
20925         [BZ #13920]
20926         [BZ #13921]
20927         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20928         * sysdeps/ieee754/k_standard.c: Include <float.h>.
20929         (__kernel_standard_l): New function.
20930         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20931         __kernel_standard.
20932         * math/w_acosl.c (__acosl): Likewise.
20933         * math/w_asinl.c (__asinl): Likewise.
20934         * math/w_atan2l.c (__atan2l): Likewise.
20935         * math/w_atanhl.c (__atanhl): Likewise.
20936         * math/w_coshl.c (__coshl): Likewise.
20937         * math/w_exp10l.c (__exp10l): Likewise.
20938         * math/w_exp2l.c (__exp2l): Likewise.
20939         * math/w_fmodl.c (__fmodl): Likewise.
20940         * math/w_hypotl.c (__hypotl): Likewise.
20941         * math/w_j0l.c (__j0l, __y0l): Likewise.
20942         * math/w_j1l.c (__j1l, __y1l): Likewise.
20943         * math/w_jnl.c (__jnl, __ynl): Likewise.
20944         * math/w_lgammal.c (__lgammal): Likewise.
20945         * math/w_log10l.c (__log10l): Likewise.
20946         * math/w_log2l.c (__log2l): Likewise.
20947         * math/w_logl.c (__logl): Likewise.
20948         * math/w_powl.c (__powl): Likewise.
20949         * math/w_remainderl.c (__remainderl): Likewise.
20950         * math/w_scalbl.c (sysv_scalbl): Likewise.
20951         * math/w_sinhl.c (__sinhl): Likewise.
20952         * math/w_sqrtl.c (__sqrtl): Likewise.
20953         * math/w_tgammal.c (__tgammal): Likewise.
20954         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20955         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20956         * math/libm-test.inc (acos_test): Add more tests.
20957         (acosh_test): Likewise.
20958         (asin_test): Likewise.
20959         (atanh_test): Likewise.
20960         (exp_test): Likewise.
20961         (exp10_test): Likewise.
20962         (exp2_test): Likewise.
20963         (expm1_test): Likewise.
20964         (lgamma_test): Likewise.
20965         (log_test): Likewise.
20966         (log10_test): Likewise.
20967         (log1p_test): Likewise.
20968         (log2_test): Likewise.
20969         (pow_test): Do not allow some spurious overflow exceptions.
20970         (sqrt_test): Add more tests.
20971         (tgamma_test): Likewise.
20972         (y0_test): Likewise.
20973         (y1_test): Likewise.
20974         (yn_test): Likewise.
20976 2012-03-27  Anton Blanchard  <anton@samba.org>
20978         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20979         MAP_HUGETLB.
20980         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20981         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20982         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20984 2012-03-27  David S. Miller  <davem@davemloft.net>
20986         * conform/Makefile: Run run-conformtest.sh using $(BASH).
20988         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20989         have-as-vis3 check.
20991 2012-03-27  Andreas Jaeger  <aj@suse.de>
20993         * sysdeps/x86_64/elf/configure.in: Moved to ...
20994         * sysdeps/x86_64/configure.in: ... here.
20995         * sysdeps/x86_64/elf/start.S: Moved to ...
20996         * sysdeps/x86_64/start.S: ... here.
20997         * sysdeps/x86_64/elf/configure: Delete.
20999         * sysdeps/x86_64/configure.in: Merge contents from
21000         sysdeps/i386/configure.in (without i686 check).
21002         * sysdeps/i386/elf/Versions: Merge into ...
21003         * sysdeps/i386/Versions: ... this.
21004         * sysdeps/i386/elf/Versions: Delete file.
21005         * sysdeps/i386/elf/start.S: Moved to ...
21006         * sysdeps/i386/start.S: ...here.
21007         * sysdeps/i386/elf/configure.in: Merge into...
21008         * sysdeps/i386/configure.in: ...here.
21009         * sysdeps/i386/elf/configure.in: Delete file.
21010         * sysdeps/i386/elf/configure: Delete file.
21012         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21013         * debug/backtracesyms.c: ... here.
21014         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21015         * debug/backtracesymsfd.c: ... here.
21016         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21017         * sysdeps/generic/ifunc-sel.h: ... here.
21019         * sysdeps/unix/i386/start.c: Delete file.
21020         * sysdeps/unix/sparc/start.c: Delete file.
21021         * sysdeps/unix/start.c: Delete file.
21023         * sysdeps/sh/elf/configure.in: Moved to ...
21024         * sysdeps/sh/configure.in: ... here.
21025         * sysdeps/sh/elf/start.S: Moved to ...
21026         * sysdeps/sh/start.S: ... here.
21027         * sysdeps/sh/elf/configure: Delete file.
21029         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21030         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21031         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21032         * sysdeps/powerpc/powerpc64/entry.h: ... here.
21033         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21034         * sysdeps/powerpc/powerpc64/start.S: here.
21035         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21036         * sysdeps/powerpc/powerpc64/Makefile: ... this.
21037         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21038         * sysdeps/powerpc/powerpc64/configure.in: ... this.
21039         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21041         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21042         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21043         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21044         * sysdeps/powerpc/powerpc32/start.S: ... here.
21045         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21046         * sysdeps/powerpc/powerpc32/configure.in: ... this.
21047         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21049         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21050         * sysdeps/powerpc/ifunc-sel.h: ... here.
21051         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21052         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21054         * sysdeps/sparc/elf/configure.in: Moved to ...
21055         * sysdeps/sparc/configure.in: ... here.
21056         * sysdeps/sparc/elf/configure: Delete file.
21057         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21058         * sysdeps/sparc/sparc32/start.S: ... here.
21059         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21060         * sysdeps/sparc/sparc64/start.S: ... here.
21061         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21062         * sysdeps/sparc/sparc32/Makefile: ... this.
21063         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21064         * sysdeps/sparc/sparc64/Makefile: ... this.
21066         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21067         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21068         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21069         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21070         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21071         * sysdeps/s390/s390-32/setjmp.S: ... here.
21072         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21073         * sysdeps/s390/s390-32/configure.in: ... here.
21074         * sysdeps/s390/s390-32/elf/configure: Delete file.
21075         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21076         * sysdeps/s390/s390-32/start.S: ... here.
21078         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21079         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21080         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21081         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21082         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21083         * sysdeps/s390/s390-64/setjmp.S: ... here.
21084         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21085         * sysdeps/s390/s390-64/configure.in: ... here
21086         * sysdeps/s390/s390-64/elf/configure: Delete file.
21087         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21088         * sysdeps/s390/s390-64/start.S: ... here.
21089         * sysdeps/s390/s390-64/elf/configure: Delete.
21091         * configure.in: Remove support for elf directories in sysdeps.
21093         * configure: Regenerated.
21094         * sysdeps/i386/configure: Regenerated.
21095         * sysdeps/powerpc/powerpc32/configure: Regenerated.
21096         * sysdeps/powerpc/powerpc64/configure: Regenerated.
21097         * sysdeps/s390/s390-32/configure: Regenerated.
21098         * sysdeps/s390/s390-64/configure: Regenerated.
21099         * sysdeps/sh/configure: Regenerated.
21100         * sysdeps/sparc/configure: Regenerated.
21101         * sysdeps/x86_64/configure: Regenerated.
21103 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
21105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21107         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21108         denormal result into account.
21110 2012-03-25  Roland McGrath  <roland@hack.frob.com>
21112         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21113         Reported by Allan McRae <allan@archlinux.org>.
21115 2012-03-23  Jeff Law  <law@redhat.com>
21117         * nss/getnssent.c (__nss_getent): Fix typo.
21119 2012-03-23  David S. Miller  <davem@davemloft.net>
21121         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21123 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
21125         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21126         to pad to uint64_t for each field.
21127         (dl_tls_index): Replace unsigned long with uint64_t.
21129 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
21130         Paul Pluzhnikov  <ppluzhnikov@google.com>
21132         [BZ #6528]
21133         * grp/Makefile (otherlibs): Don't set it.
21134         * inet/Makefile (otherlibs): Likewise.
21135         * login/Makefile (otherlibs): Likewise.
21136         * nscd/Makefile (otherlibs): Likewise.
21137         * posix/Makefile (otherlibs): Likewise.
21138         * pwd/Makefile (otherlibs): Likewise.
21139         * rt/Makefile (otherlibs): Likewise.
21140         * sunrpc/Makefile (otherlibs): Likewise.
21141         * nss/Makefile (otherlibs): Likewise.
21142         Add libnss_files to routines and static-only-routines.
21143         ($(objpfx)getent): Remove rule.
21144         * resolv/Makefile: Add libnss_dns and libresolv to routines and
21145         static-only-routines.
21147 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
21149         [BZ #13892]
21150         * math/s_cexp.c: Include <float.h>.
21151         (__cexp): Handle exp result overflowing not necessarily
21152         overflowing both real and imaginary parts of result.
21153         * math/s_cexpf.c: Likewise.
21154         * math/s_cexpl.c: Likewise.
21155         * math/libm-test.inc (cexp_test): Add more tests.
21156         * sysdeps/i386/fpu/libm-test-ulps: Update.
21157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21159 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21161         * include/link.h (ELFW): New macro.
21162         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21163         Replace ELF64_R_TYPE with ELFW(R_TYPE).
21165 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21167         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21168         with uint64_t.
21170 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21172         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21173         declaration.
21174         (struct La_x32_retval): Likewise.
21176 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21178         * sysdeps/x86_64/preconfigure.in: New file.
21179         * sysdeps/x86_64/preconfigure: New generated file.
21181 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
21183         [BZ #13824]
21184         * math/e_exp2l.c: Include <float.h>.
21185         (__ieee754_exp2l): Handle overflow and underflow cases
21186         separately.  Only pass fractional part of argument to
21187         __ieee754_expl.
21188         * math/libm-test.inc (exp2_test): Add more tests.
21190         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21191         negating x to take absolute value.
21192         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21193         Likewise.
21194         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21195         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21196         Likewise.
21197         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21198         computing low part if x was negated.
21199         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21201 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21203         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21204         la_x32_gnu_pltexit.
21205         (pltexit): Cast int_retval to ptrdiff_t.
21206         * elf/tst-auditmod3b.c: Likewise.
21207         * elf/tst-auditmod4b.c: Likewise.
21208         * elf/tst-auditmod5b.c: Likewise.
21209         * elf/tst-auditmod6b.c: Likewise.
21210         * elf/tst-auditmod6c.c: Likewise.
21211         * elf/tst-auditmod7b.c: Likewise.
21213         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21214         and x32_gnu_pltexit.
21216         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21217         __ELF_NATIVE_CLASS.
21218         (La_x32_regs): New macro.
21219         (La_x32_retval): Likewise.
21220         (la_x32_gnu_pltenter): New function prototype.
21221         (la_x32_gnu_pltexit): Likewise.
21223 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
21225         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21226         exponent.
21228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21230         * configure.in (libc_cv_cc_nofma): Check for option to disable
21231         generation of FMA instructions.
21232         * configure: Regenerate.
21233         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21234         * sysdeps/ieee754/dbl-64/Makefile: New file.
21235         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21236         Remove brandred-fma4.
21237         (CFLAGS-brandred-fma4.c): Remove.
21238         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21239         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21240         define.
21241         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21242         define.
21244 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21246         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21247         LLONG_MAX != LONG_MAX.
21248         (_itoa_word): Use _ITOA_WORD_TYPE on value.
21249         (_fitoa_word): Likewise.
21250         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21251         LLONG_MAX != LONG_MAX.
21252         * stdio-common/_itowa.h: Include <_itoa.h>.
21253         (_itowa_word): Use _ITOA_WORD_TYPE on value.
21254         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
21255         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
21256         only if not defined.
21257         (_ITOA_WORD_TYPE): Likewise.
21258         (_itoa_word): Use _ITOA_WORD_TYPE on value.
21259         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21261 2012-03-21  David S. Miller  <davem@davemloft.net>
21263         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21265 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21267         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21268         of x86_64 when setting libc_cv_slibdir, libdir and
21269         libc_cv_localedir.
21270         * sysdeps/unix/sysv/linux/configure: Regenerated.
21272 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
21274         * manual/lang.texi (Old Varargs): Remove section.
21275         (How Variadic): Update menu.
21276         (va_start): Do not mention varargs.h.
21278 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21279             Joseph Myers  <joseph@codesourcery.com>
21281         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21282         link test.
21283         * configure: Regenerated.
21285 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21287         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21288         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21289         conformtest.pl
21291 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
21293         * NOTES: Remove.
21294         * Makefile (files-for-dist): Remove NOTES.
21295         (NOTES): Remove rule.
21296         * README: Don't refer to NOTES.
21297         * manual/creature.texi: Don't include macros.texi.
21298         * manual/intro.texi (creature.texi): Remove comment referring to
21299         NOTES.
21301         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21302         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21303         * configure: Regenerated.
21304         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21305         LIBC_TRY_CC_OPTION.
21306         (libc_cv_as_i686): Likewise.
21307         (libc_cv_cc_avx): Likewise.
21308         (libc_cv_cc_sse2avx): Likewise.
21309         (libc_cv_cc_fma4): Likewise.
21310         (libc_cv_cc_novzeroupper): Likewise.
21311         * sysdeps/i386/configure: Regenerated.
21313         [BZ #13883]
21314         * sysdeps/i386/fpu/s_cexp.S: Remove.
21315         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21316         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21317         * math/libm-test.inc (cexp_test): Add more tests.
21318         * sysdeps/i386/fpu/libm-test-ulps: Update.
21319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21321 2012-03-21  Allan McRae  <allan@archlinux.org>
21323         * timezone/Makefile: Do not install iso3166.tab and zone.tab
21325 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
21327         [BZ #13871]
21328         * math/w_exp2.c: Do not include <float.h>.
21329         (o_threshold, u_threshold): Remove.
21330         (__exp2): Calculate result before checking finiteness and calling
21331         __kernel_standard.
21332         * math/w_exp2f.c: Likewise.
21333         * math/w_exp2l.c: Likewise.
21334         * math/libm-test.inc (exp2_test): Require overflow exception for
21335         1e6 input.
21337         [BZ #3866]
21338         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21339         range of signed 64-bit integers before using fistpll.  Remove
21340         checks for whether integers fit in mantissa bits.
21341         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21342         the range of signed 32-bit integers before using fistpl.  Remove
21343         checks for whether integers fit in mantissa bits.
21344         * sysdeps/i386/fpu/e_powl.S (p64): New object.
21345         (__ieee754_powl): Test for y outside the range of signed 64-bit
21346         integers before using fistpll.  Reduce 64-bit values to 63-bit
21347         ones as needed.
21348         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21349         divide-by-zero is raised for zero to large negative powers.
21350         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21351         (__ieee754_powl): Test for y outside the range of signed 64-bit
21352         integers before using fistpll.  Reduce 64-bit values to 63-bit
21353         ones as needed.
21354         * math/libm-test.inc (pow_test): Add more tests.
21356 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21358         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21359         <stdio-common/_itoa.h>.
21360         * debug/segfault.c: Likewise.
21361         * elf/dl-cache.c: Likewise.
21362         * elf/dl-minimal.c: Likewise.
21363         * elf/dl-misc.c: Likewise.
21364         * elf/dl-sysdep.c: Likewise.
21365         * elf/dl-version.c: Likewise.
21366         * elf/rtld.c: Likewise.
21367         * hurd/hurdsock.c: Likewise.
21368         * hurd/lookup-retry.c: Likewise.
21369         * malloc/malloc.c: Likewise.
21370         * malloc/mtrace.c: Likewise.
21371         * nscd/nscd_getgr_r.c: Likewise.
21372         * nscd/nscd_getpw_r.c: Likewise.
21373         * nscd/nscd_getserv_r.c: Likewise.
21374         * posix/getopt_init.c: Likewise.
21375         * posix/wordexp.c: Likewise.
21376         * stdio-common/_itoa.c: Likewise.
21377         * stdio-common/printf_fphex.c: Likewise.
21378         * stdio-common/vfprintf.c: Likewise.
21379         * string/_strerror.c: Likewise.
21380         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21381         * sysdeps/i386/i686/hp-timing.h: Likewise.
21382         * sysdeps/mach/_strerror.c: Likewise.
21383         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21384         * sysdeps/mach/hurd/sethostid.c: Likewise.
21385         * sysdeps/mach/hurd/xmknodat.c: Likewise.
21386         * sysdeps/mach/xpg-strerror.c: Likewise.
21387         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21388         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21389         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21390         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21391         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21392         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21393         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21394         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21395         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21396         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21397         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21398         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21399         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21400         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21401         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21402         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21403         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21404         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21405         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21406         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21407         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21409         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21411         * stdio-common/_itoa.h: Moved to ...
21412         * sysdeps/generic/_itoa.h: Here.
21414         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21416         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21417         instead of "_itoa.h" and "_itowa.h".
21418         * stdio-common/vfprintf.: Likewise.
21420 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21422         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21423         <bits/wordsize.h>.
21424         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21425         (__signbit): Likwise.
21426         (llrintf): Likwise.
21427         (llrint): Likwise.
21429 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21431         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21432         __WORDSIZE != 64.
21434 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
21436         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21437         OVERFLOW_EXCEPTION_OK.
21438         * math/libm-test.inc ("Philosophy"): Update comment about
21439         exception testing.
21440         (OVERFLOW_EXCEPTION): Define.
21441         (OVERFLOW_EXCEPTION_OK): Likewise.
21442         (INVALID_EXCEPTION_OK): Renumber.
21443         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21444         (IGNORE_ZERO_INF_SIGN): Likewise.
21445         (test_exceptions): Handle FE_OVERFLOW.
21446         (exp10_test): Expect overflow exceptions.
21447         (exp2_test): Likewise.
21448         (expm1_test): Likewise.
21449         (nextafter_test): Likewise.
21450         (pow_test): Likewise.
21451         (scalbn_test): Likewise.
21452         (scalbln_test): Likewise.
21454 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21456         * sysdeps/x86_64/bits/atomic.h
21457         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21458         64bit integer.
21459         (atomic_exchange_acq): Likewise.
21460         (__arch_exchange_and_add_body): Likewise.
21461         (__arch_add_body): Likewise.
21462         (atomic_add_negative): Likewise.
21463         (atomic_add_zero): Likewise.
21465 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21467         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
21468         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21470 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21472         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21473         Check __x86_64__ instead of __WORDSIZE.
21475 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21477         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21479 2012-03-19  David S. Miller  <davem@davemloft.net>
21481         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21483         * sysdeps/sparc/fpu/fenv_private.h: New file.
21484         * sysdeps/sparc/fpu/math_private.h: Use it.
21485         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21486         Remove.
21487         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21488         (libc_feholdexcept_setroundl): Remove.
21489         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21490         Remove.
21491         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21492         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21494 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21496         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21497         int64_t instead of long int.
21498         (INSERT_WORDS64): Likwise.
21500 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21502         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21503         _Unwind_GetCFA return to _Unwind_Ptr first.
21505 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
21507         [BZ #13629]
21508         * math/s_clog.c: Include <float.h>.
21509         (__clog): Scale large or subnormal inputs.
21510         * math/s_clogf.c: Likewise.
21511         * math/s_clogl.c: Likewise.
21512         * math/s_clog10.c: Include <float.h>.
21513         (M_LOG10_2): Define.
21514         (__clog10): Scale large or subnormal inputs.
21515         * math/s_clog10f.c: Likewise.
21516         * math/s_clog10l.c: Likewise.
21517         * math/libm-test.inc (clog_test): Add more tests.
21518         (clog10_test): Likewise.
21519         * sysdeps/i386/fpu/libm-test-ulps: Update.
21520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21522         [BZ #11451]
21523         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21524         x and y.
21525         * math/libm-test.inc (atan2_test): Add another test.
21527         * Makerules (common-objdir-compile): Remove.
21528         * sysdeps/unix/Makefile (config-generated): Do not add
21529         $(unix-generated) to variable.
21530         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21531         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21532         Remove rule.
21533         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21534         Likewise.
21535         [generic bits/local_lim.h] (before-compile): Do not append to
21536         variable.
21537         [generic bits/local_lim.h] (common-generated): Likewise.
21538         [generic sys/param.h] (before-compile): Do not append to variable.
21539         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21540         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21541         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21542         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21543         include.
21544         [generic sys/param.h] (sys/param.h-includes): Remove variable.
21545         [generic sys/param.h] (sys/param.h-includes): Remove rule.
21546         [generic sys/param.h] ($(addprefix
21547         $(common-objpfx),$(sys/param.h-includes))): Likewise.
21548         [generic sys/param.h] (common-generated): Do not append to
21549         variable.
21550         [generic sys/param.h] (sysdep_headers): Likewise.
21551         [generic bits/errno.h] (before-compile): Do not append to
21552         variable.
21553         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21554         rule.
21555         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21556         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21557         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21558         [generic bits/errno.h] (common-generated): Do not append to
21559         variable.
21560         [generic bits/ioctls.h] (before-compile): Do not append to
21561         variable.
21562         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21563         rule.
21564         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21565         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21566         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21567         rule.
21568         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21569         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21570         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21571         [generic bits/ioctls.h] (common-generated): Do not append to
21572         variable.
21573         [generic sys/syscall.h] (syscall.h): Remove variable.
21574         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21575         rule.
21576         [generic sys/syscall.h] (before-compile): Do not append to
21577         variable.
21578         [generic sys/syscall.h] (common-generated): Likewise.
21579         * sysdeps/unix/errnos-tmpl.c: Remove file.
21580         * sysdeps/unix/errnos.awk: Likewise.
21581         * sysdeps/unix/ioctls-tmpl.c: Likewise.
21582         * sysdeps/unix/ioctls.awk: Likewise.
21583         * sysdeps/unix/mk-local_lim.c: Likewise.
21584         * sysdeps/unix/snarf-ioctls: Likewise.
21586 2012-03-19  Richard Henderson  <rth@twiddle.net>
21588         * sysdeps/i386/fpu/fenv_private.h: New file.
21589         * sysdeps/i386/fpu/math_private.h: Use it.
21590         (math_opt_barrier, math_force_eval): Remove.
21591         (libc_feholdexcept_setround_53bit): Remove.
21592         (libc_feupdateenv_53bit): Remove.
21593         * sysdeps/x86_64/fpu/math_private.h: Likewise.
21594         (math_opt_barrier, math_force_eval): Remove.
21595         (libc_feholdexcept): Remove.
21596         (libc_feholdexcept_setround): Remove.
21597         (libc_fetestexcept, libc_fesetenv): Remove.
21598         (libc_feupdateenv_test): Remove.
21599         (libc_feupdateenv, libc_feholdsetround): Remove.
21600         (libc_feresetround): Remove.
21602         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21603         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21605         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21606         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21607         (libc_feupdateenv_testl): New.
21608         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21609         (libc_feupdateenv_testf): New.
21610         (libc_feupdateenv): Use libc_feupdateenv_test.
21611         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21612         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21614         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21615         (libc_feholdsetroundf, libc_feholdsetroundl): New.
21616         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21617         (libc_feresetround_noex): New.
21618         (libc_feresetround_noexf): New.
21619         (libc_feresetround_noexl): New.
21620         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21621         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21622         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21623         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21624         SET_RESTORE_ROUND.
21625         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21626         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21627         (__cos): Likewise.
21628         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21629         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21630         SET_RESTORE_ROUND_NOEX.
21631         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21632         SET_RESTORE_ROUND_NOEXF.
21633         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21634         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21635         (libc_feholdsetroundf): New.
21636         (libc_feresetround, libc_feresetroundf): New.
21638         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21639         (libc_feholdexcept_setround_53bit): Convert from macro to function.
21640         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
21642         * sysdeps/generic/math_private.h: Include <fenv.h>.
21643         (default_libc_feholdexcept): New.
21644         (default_libc_feholdexcept_setround): New.
21645         (default_libc_fesetenv, default_libc_feupdateenv): New.
21646         (libc_feholdexcept): Only define if undefined.
21647         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21648         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21649         (libc_feholdexcept_setroundl): Likewise.
21650         (libc_feholdexcept_setround_53bit): Likewise.
21651         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21652         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21653         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21654         (libc_feupdateenv_53bit): Likewise.
21655         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21656         (libc_feholdexcept): Convert from macro to inline function.
21657         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21658         (libc_fesetenv, libc_feupdateenv): Likewise.
21660         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21661         not previously defined.
21662         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21663         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21664         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21665         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21666         * sysdeps/ieee754/flt-32/math_private.h: New file.
21667         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21668         math_private.h below SET_FLOAT_WORD.
21669         (__isnan, __isinf_ns, __finite): Remove.
21670         (__isnanf, __isinf_nsf, __finitef): Remove.
21672 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
21674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21676 2012-03-17  David S. Miller  <davem@davemloft.net>
21678         [BZ #6471]
21679         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21680         for 2.16.
21682 2012-03-16  David S. Miller  <davem@davemloft.net>
21684         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21685         warnings.
21687         [BZ #6471]
21688         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21689         properly.
21690         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21691         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21692         sysdep_routines when subdir is sysvipc.
21693         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21694         __getshmlba helper.
21696         * sysdeps/sparc/fpu/libm-test/ulps: Update.
21698 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21700         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21701         [__LP64__].
21703 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21705         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21706         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21707         (__lround): Renamed to ...
21708         (__llround): This.  Replace long int with long long int.
21709         Define lround functions as aliases of llround functions.
21710         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21712 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21714         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21715         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
21716         adresses to uintptr_t.  Replace "long int" and "unsigned long
21717         int" with "greg_t" on va_arg.
21719 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21721         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21722         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21724         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21725         Move e_machine check before EI_CLASS check.  Handle x32
21726         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21727         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21728         SKIP_EM_IA_64 and include
21729         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21731         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21732         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21733         (add_system_dir): New macro.
21735         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21736         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21738 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
21740         [BZ #2551]
21741         [BZ #2552]
21742         [BZ #2553]
21743         [BZ #2554]
21744         [BZ #2562]
21745         [BZ #2563]
21746         [BZ #2565]
21747         [BZ #2566]
21748         [BZ #2576]
21749         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21750         (y0): Likewise.
21751         * math/w_j0f.c (j0f): Likewise.
21752         (y0f): Likewise.
21753         * math/w_j0l.c (__j0l): Likewise.
21754         (__y0l): Likewise.
21755         * math/w_j1.c (j1): Likewise.
21756         (y1): Likewise.
21757         * math/w_j1f.c (j1f): Likewise.
21758         (y1f): Likewise.
21759         * math/w_j1l.c (__j1l): Likewise.
21760         (__y1l): Likewise.
21761         * math/w_jn.c (jn): Likewise.
21762         (yn): Likewise.
21763         * math/w_jnf.c (jnf): Likewise.
21764         (ynf): Likewise.
21765         * math/w_jnl.c (__jnl): Likewise.
21766         (__ynl): Likewise.
21767         * math/libm-test.inc (j0_test): Add more tests.
21768         (j1_test): Likewise.
21769         (jn_test): Likewise.  Add trailing semicolon to existing test.
21770         (y0_test): Likewise.
21771         (y1_test): Likewise.
21772         * sysdeps/i386/fpu/libm-test-ulps: Update.
21773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21775         [BZ #13851]
21776         [BZ #13854]
21777         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21778         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21779         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21780         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21781         (__tanl): Set errno for infinite argument.
21782         * sysdeps/i386/fpu/mptan.c: Remove.
21783         * sysdeps/i386/fpu/s_tan.S: Likewise.
21784         * sysdeps/i386/fpu/s_tanl.S: Likewise.
21785         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21786         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21787         * math/libm-test.inc (tan_test): Add more tests and enable more
21788         tests for double and long double.
21789         * sysdeps/i386/fpu/libm-test-ulps: Update.
21790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21792 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
21794         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21795         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21797 2012-03-16  Roland McGrath  <roland@hack.frob.com>
21799         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21800         * configure.in: Use it for both main tree and add-ons.
21801         * configure: Regenerated.
21803 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21805         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21807 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
21809         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21810         in comment.
21812         [BZ #13851]
21813         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21814         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21815         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21816         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21817         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21818         infinite argument.
21819         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21820         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21821         != 0 for prec == 2.
21822         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21823         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21824         * sysdeps/i386/fpu/s_cosl.S: Likewise.
21825         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21826         * sysdeps/i386/fpu/s_sinl.S: Likewise.
21827         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21828         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21829         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21830         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21831         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21832         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21833         * math/libm-test.inc (cos_test): Add more tests and enable more
21834         tests for long double.
21835         (sin_test): Likewise.
21836         (sincos_test): Likewise.
21837         * sysdeps/i386/fpu/libm-test-ulps: Update.
21838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21840 2012-03-16  David S. Miller  <davem@davemloft.net>
21842         * sysdeps/sparc/fpu/math_private.h: New file.
21844 2012-03-15  David S. Miller  <davem@davemloft.net>
21846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21847         file.
21848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
21849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21850         file.
21851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21852         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21853         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21854         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21855         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21856         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21857         sysdep routines.
21858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21860         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21861         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21863         * sysdeps/sparc/sparc-ifunc.h: New file.
21864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21865         sparc-ifunc.h
21866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21868         Likewise.
21869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21870         Likewise.
21871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21875         Likewise.
21876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
21880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21881         Likewise.
21882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21883         Likewise.
21884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21888         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21889         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21890         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21891         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21892         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21893         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21894         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21895         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21896         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21897         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21898         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21899         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21900         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21901         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21902         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21903         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21904         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21905         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21906         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21907         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21909 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
21911         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21912         scaling.
21913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21915 2012-03-15  Andreas Jaeger  <aj@suse.de>
21917         [BZ #13852]
21918         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21919         ieee754/flt-32 implementation for sin, cos and sincos.
21920         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21921         * sysdeps/i386/fpu/s_cosf.S: Likewise.
21922         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21923         * sysdeps/i386/fpu/s_sinf.S: Likewise.
21924         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21925         ieee754/flt-32 implementation for tan.
21927         * math/libm-test.inc (cos_test): Enable some large input tests for
21928         float as well
21929         (sin_test): Likewise.
21930         (sincos_test): Likewise.
21931         (tan_test): Add tests for large input.
21933         * sysdeps/i386/fpu/libm-test-ulps: Update.
21935 2012-03-15  Andreas Jaeger  <aj@suse.de>
21937         [BZ #13658]
21938         * math/libm-test.inc (cos_test): Add more test cases.
21939         (sin_test): Likewise.
21940         (sincos_test): Likewise.
21942 2012-03-15  Andreas Jaeger  <aj@suse.de>
21944         [BZ #13837]
21945         * math/libm-test.inc (cos_test): Add a test case for large input
21946         value.
21947         (sin_test): Likewise.
21948         (sincos_test): Likewise.
21950 2012-03-15  Andreas Jaeger  <aj@suse.de>,
21951         Joseph Myers  <joseph@codesourcery.com>
21953         [BZ #13658]
21954         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
21955         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21956         * sysdeps/i386/fpu/branred.c: Likewise.
21957         * sysdeps/i386/fpu/dosincos.c: Likewise.
21958         * sysdeps/i386/fpu/mpa.c: Likewise.
21959         * sysdeps/i386/fpu/s_cos.S: Likewise.
21960         * sysdeps/i386/fpu/s_sin.S: Likewise.
21961         * sysdeps/i386/fpu/s_sincos.S: Likewise.
21962         * sysdeps/i386/fpu/sincos32.c: Likewise.
21964         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21965         Define.
21966         (libc_feupdateenv_53bit): Define.
21967         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21968         Define.
21969         (libc_feupdateenv_53bit): Define.
21971         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21972         53 bit (without extend i386 double precision).
21974         * math/libm-test.inc (sincos_test): Add tests for large input.
21975         (sin): Likewise.
21976         (cos): Likewise.
21978         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21980 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
21982         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21984 2012-03-15  David S. Miller  <davem@davemloft.net>
21986         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21987         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21988         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21989         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21990         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21991         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21992         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21993         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21994         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21995         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21996         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21997         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21998         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21999         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22000         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
22001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22002         file.
22003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
22004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22005         file.
22006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
22007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22008         file.
22009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
22010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22011         file.
22012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22013         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22014         fmin/fmax sysdep routines.
22015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22017 2012-03-14  David S. Miller  <davem@davemloft.net>
22019         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22020         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22021         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22022         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22023         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22024         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22025         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22026         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22027         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22028         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22029         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22030         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22031         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22032         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22033         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22034         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22035         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22036         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22037         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22038         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22039         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22040         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22041         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22042         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22043         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22044         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22045         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22046         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
22047         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22048         routines.
22049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22050         file.
22051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
22052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22053         file.
22054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
22055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22056         file.
22057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
22058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22059         file.
22060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
22061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22062         file.
22063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
22064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22065         file.
22066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22067         file.
22068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22069         file.
22070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22071         file.
22072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22073         New file.
22074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22075         file.
22076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22077         file.
22078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
22079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22080         file.
22081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
22082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22083         file.
22084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
22085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22086         file.
22087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
22088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22089         VIS3 routines.
22091         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22092         New file.
22094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22096         * sysdeps/sparc/configure.in: New file.
22097         * sysdeps/sparc/configure: Generate.
22098         * configure.in (libc_cv_sparc_as_vis3): Substitute.
22099         * configure: Regenerate.
22100         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22101         * config.make.in (have-as-vis3): New.
22102         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22103         available use -Av9d instead of -Av9a.
22104         * sysdeps/sparc/sparc64/Makefile: Likewise.
22105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
22106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22107         New file.
22108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22109         file.
22110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22111         New file.
22112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22113         file.
22114         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22115         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22116         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22117         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22118         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22120         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22121         fzeros/fnegs to load 0x80000000 into a float register instead of
22122         using the stack.
22123         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22125 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
22127         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22128         bits/syscall.h.
22129         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22130         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22131         ($(inst_includedir)/bits/syscall.h): Remove rule.
22132         ($(objpfx)bits/syscall.d): Include instead of
22133         $(objpfx)syscall-list.d.
22134         (generated): Change syscall-list.h and syscall-list.d to
22135         bits/syscall.h and bits/syscall.d.
22137 2012-03-14  Roland McGrath  <roland@hack.frob.com>
22139         [BZ #13846]
22140         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22142 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
22144         [BZ #13841]
22145         * math/s_csqrt.c: Include <float.h>.
22146         (__csqrt): Scale large or subnormal inputs.
22147         * math/s_csqrtf.c: Likewise.
22148         * math/s_csqrtl.c: Likewise.
22149         * math/libm-test.inc (csqrt_test): Add more tests.
22150         * sysdeps/i386/fpu/libm-test-ulps: Update.
22151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22153         [BZ #13840]
22154         * math/libm-test.inc (hypot_test): Add more tests.
22156 2012-03-13  David S. Miller  <davem@davemloft.net>
22158         [BZ #13840]
22159         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22160         double-precision for the calculation instead of scaling.
22162 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
22164         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22165         manipulate bits before adding and subtracting TWO52[sx].
22166         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22167         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22168         Likewise.
22169         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22171 2012-03-13  David S. Miller  <davem@davemloft.net>
22173         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22174         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22175         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22176         rtld-global-offsets.h
22177         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22179         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22180         large parameters.
22182         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22184         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22185         'err' in the ifdef scope in which it is actually used.
22187         * nss/nss_db/db-init.c: Include string.h
22189 2012-03-12  David S. Miller  <davem@davemloft.net>
22191         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22192         masking out of the most significant byte of random value used.
22193         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22194         Fix coding style in previous change.
22196         * sysdeps/unix/sysv/linux/kernel-features.h
22197         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22198         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22199         expression.
22200         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22201         later.
22203 2012-03-11  David S. Miller  <davem@davemloft.net>
22205         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22206         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22207         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22208         for 'resultvar' otherwise things get truncated on 64-bit.
22210         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22211         Fix masking out of the most significant byte of random value used.
22213         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22215 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
22217         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22219 2012-03-09  David S. Miller  <davem@davemloft.net>
22221         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22222         variables with appropriate CPP guards.
22223         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22224         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
22225         on resulting framesize and the management of the outregs buffer for pltexit.
22226         Preserve floating point return values across _dl_call_pltexit call.
22227         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22228         framesize and the management of the outregs buffer for pltexit.
22229         Preserve floating point return values across _dl_call_pltexit
22230         call.
22231         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22232         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22233         (print_exit): Fix format string for return register value.
22235 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
22237         * sunrpc/Makefile (others): Add rpcgen.
22238         ($(objpfx)rpcgen): Remove special build rule and dependency on
22239         libc.
22240         * sunrpc/rpcgen.c: New file.
22242 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
22244         [BZ #13673]
22245         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22246         * stdio-common/bug-vfprintf-nargs.c: Likewise.
22247         * sysdeps/i386/crti.S: Likewise.
22248         * sysdeps/i386/crtn.S: Likewise.
22249         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22250         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22251         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22252         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22253         * sysdeps/sh/crti.S: Likewise.
22254         * sysdeps/sh/crtn.S: Likewise.
22255         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22257         [BZ #13673]
22258         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22259         with URL.
22260         * locale/programs/locfile-kw.gperf: Likewise.
22261         * locale/programs/charmap-kw.h: Regenerated.
22262         * locale/programs/locfile-kw.h: Likewise.
22264         [BZ #13673]
22265         * intl/plural.y: Replace FSF snail mail address with URL.
22266         * intl/plural.c: Regenerated.
22268 2012-03-09  Richard Henderson  <rth@twiddle.net>
22270         * include/math_private.h: Remove file.
22271         * math/math_private.h: Move file ...
22272         * sysdeps/generic/math_private.h: ... here.
22274         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22275         * sysdeps/powerpc/fpu/math_private.h: Likewise.
22276         * sysdeps/x86_64/fpu/math_private.h: Likewise.
22278         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
22279         and <math_private.h>.
22280         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22281         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22282         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22283         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22284         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22285         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22286         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22287         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22288         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22289         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22290         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22291         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22292         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22293         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22294         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22295         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22296         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22297         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22298         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22299         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22300         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22301         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22302         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22303         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22304         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22305         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22306         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22307         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22308         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22309         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22310         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22311         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22312         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22313         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22314         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22315         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22316         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22317         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22318         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22319         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22320         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22321         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22322         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22323         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22324         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22325         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22326         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22327         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22328         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22329         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22330         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22331         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22332         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22333         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22334         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22335         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22336         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22337         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22338         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22339         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22340         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22341         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22342         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22343         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22344         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22345         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22346         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22347         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22348         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22349         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22350         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22351         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22352         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22353         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22354         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22355         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22356         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22357         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22358         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22359         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22360         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22361         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22362         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22363         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22364         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22365         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22366         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22367         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22368         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22369         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22370         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22371         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22372         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22373         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22374         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22375         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22376         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22377         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22378         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22379         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22380         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22381         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22382         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22383         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22384         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22385         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22386         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22387         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22388         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22389         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22390         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22391         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22392         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22393         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22394         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22395         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22396         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22397         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22398         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22399         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22400         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22401         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22402         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22403         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22404         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22405         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22406         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22407         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22408         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22409         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22410         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22411         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22412         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22413         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22414         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22415         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22416         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22417         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22418         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22419         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22420         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22421         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22422         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22423         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22424         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22425         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22426         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22427         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22428         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22429         * sysdeps/ieee754/k_standard.c: Likewise.
22430         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22431         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22432         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22433         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22434         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22435         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22436         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22437         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22438         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22439         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22440         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22441         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22442         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22443         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22444         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22445         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22446         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22447         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22448         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22449         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22450         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22451         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22452         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22453         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22454         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22455         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22456         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22457         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22458         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22459         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22460         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22461         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22462         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22463         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22464         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22465         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22466         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22467         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22468         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22469         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22470         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22471         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22472         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22473         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22474         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22475         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22476         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22477         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22478         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22479         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22480         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22481         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22482         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22483         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22484         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22485         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22486         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22487         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22488         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22489         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22490         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22491         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22492         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22493         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22494         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22495         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22496         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22497         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22498         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22499         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22500         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22501         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22502         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22503         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22504         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22505         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22506         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22507         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22508         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22509         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22510         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22511         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22512         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22513         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22514         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22515         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22516         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22517         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22518         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22519         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22520         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22521         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22522         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22523         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22524         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22525         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22526         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22527         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22528         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22529         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22530         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22531         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22532         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22533         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22534         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22535         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22536         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22537         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22538         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22539         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22540         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22541         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22542         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22543         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22544         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22545         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22546         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22547         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22548         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22549         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22550         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22551         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22552         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22553         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22554         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22555         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22556         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22557         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22558         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22559         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22560         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22561         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22562         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22563         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22564         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22565         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22566         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22567         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22568         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22569         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22570         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22571         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22572         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22573         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22574         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22575         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22576         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22577         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22578         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22579         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22580         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22581         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22582         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22583         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22584         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22585         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22586         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22587         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22588         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22589         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22590         * sysdeps/ieee754/s_lib_version.c: Likewise.
22591         * sysdeps/ieee754/s_matherr.c: Likewise.
22592         * sysdeps/ieee754/s_signgam.c: Likewise.
22593         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22594         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22595         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22596         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22597         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22598         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22599         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22600         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22601         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22602         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22603         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22604         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22605         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22606         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22607         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22608         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22609         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22610         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22611         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22612         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22613         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22615 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
22617         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22618         * sunrpc/rpc_main.c: Likewise.
22619         * sunrpc/rpc_svcout.c: Likewise.
22621 2012-03-09  David S. Miller  <davem@davemloft.net>
22623         * include/math_private.h: New file.
22625 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
22627         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22628         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22629         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22630         from <bits/socket_type.h>.
22631         (enum __socket_type): Don't define here.
22632         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22633         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22634         bits/socket_type.h.
22636         [BZ #13566]
22637         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22638         checking __USE_GNU.
22640         * Makerules ($(inst_includedir)/%.h): New rule.
22641         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22642         (install-others): Remove variable setting.
22643         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22645 2012-03-08  Richard Henderson  <rth@twiddle.net>
22647         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22648         from macro to inline function; merge with the
22649         !__LIBC_INTERNAL_MATH_INLINES version.
22650         (__ieee754_sqrtf): Likewise.
22652         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22653         to inline function.
22654         (__rintf, __floor, __floorf): Likewise.
22656         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22657         macro to inline function.
22658         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22660         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22661         not <math/math_private.h>.
22663 2012-03-08  David S. Miller  <davem@davemloft.net>
22665         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22666         copyright year.
22667         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22669 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
22671         * resolv/gai_misc.c (handle_requests): Fix struct timespec
22672         normalization.
22673         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22674         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22676 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
22678         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
22679         be defined individually, they must be defined as a block.  Define
22680         S for printing a string instead of hidint the different by using a
22681         macro for adding the 'l'.
22682         * stdio-common/tst-fphex-wide.c: Adjust.
22684 2012-03-07  Marek Polacek  <polacek@redhat.com>
22686         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22688 2012-03-08  Marek Polacek  <polacek@redhat.com>
22690         [BZ #13806]
22691         * stdio-common/Makefile (tests): Add tst-fphex-wide.
22692         * stdio-common/tst-fphex.c: Define a few macros to make the
22693         test reusable.  Use them.
22694         * stdio-common/tst-fphex-wide.c: New file.
22696 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
22698         [BZ #6911]
22699         * manual/macros.texi (gnusystems): New macro.
22700         (nongnusystems): Likewise.
22701         (gnulinuxhurdsystems): Likewise.
22702         (gnuhurdsystems): Likewise..
22703         (gnulinuxsystems): Likewise.
22704         * manual/charset.texi: Use new macros or @theglibc{} to refer to
22705         variants of the GNU system, not "GNU system".
22706         * manual/conf.texi: Likewise.
22707         * manual/errno.texi: Likewise.  Update example of errno macro
22708         expansion.
22709         * manual/filesys.texi: Likewise.
22710         (getumask): Document as specific to GNU/Hurd.
22711         * manual/install.texi: Likewise.  Reword some references to
22712         GNU/Linux.
22713         * manual/intro.texi: Likewise.
22714         * manual/io.texi: Likewise.
22715         (File Name Portability): Detail which constraints are inapplicable
22716         to all GNU systems and which are only inapplicable to GNU/Hurd.
22717         * manual/job.texi: Likewise.
22718         * manual/llio.texi: Likewise.
22719         (O_NOCTTY): Document as present on GNU/Linux.
22720         * manual/maint.texi: Likewise.
22721         * manual/memory.texi: Likewise.
22722         * manual/pattern.texi: Likewise.
22723         * manual/pipe.texi: Likewise.
22724         * manual/process.texi: Likewise.
22725         * manual/resource.texi: Likewise.
22726         (RUSAGE_CHILDREN): Remove statement about specifying a particular
22727         child on GNU/Hurd.
22728         * manual/setjmp.texi: Likewise.
22729         * manual/signal.texi: Likewise.
22730         * manual/startup.texi: Likewise.
22731         * manual/stdio.texi: Likewise.
22732         * manual/terminal.texi: Likewise.
22733         (ONLCR): Document as POSIX.
22734         (OXTABS): Document availability on GNU/Linux as XTABS.
22735         (ONOEOT): Document availability separately from other bits.
22736         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22737         * manual/time.texi: Likewise.
22738         * manual/users.texi: Likewise.
22739         * INSTALL: Regenerated.
22740         * sysdeps/gnu/errlist.c: Regenerated.
22742         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22743         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22744         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
22745         puts.
22746         * configure: Regenerated.
22748 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
22750         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22751         default includes instead of AC_HEADER_CHECK.
22752         * sysdeps/i386/configure: Regenerated.
22754         [BZ #10716]
22755         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22756         * math/s_cacoshf.c (__cacoshf): Likewise.
22757         * math/s_cacoshl.c (__cacoshl): Likewise.
22758         * math/s_casinh.c (__casinh): Set signs of result from argument.
22759         * math/s_casinhf.c (__casinhf): Likewise.
22760         * math/s_casinhl.c (__casinhl): Likewise.
22761         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22762         (casinh_test): Add more tests.
22763         * sysdeps/i386/fpu/libm-test-ulps: Update.
22764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22766 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
22768         * po/zh_TW.po: Update from translation team.
22770         * login/Makefile (distribute): Remove variable.
22771         * catgets/Makefile: Likewise.
22772         * mach/Makefile: Likewise.
22773         * malloc/Makefile: Likewise.
22774         * misc/Makefile: Likewise.
22775         * iconv/Makefile: Likewise.
22776         * nscd/Makefile: Likewise.
22777         * hurd/Makefile: Likewise.
22778         * manual/Makefile: Likewise.
22779         * locale/Makefile: Likewise.
22780         * intl/Makefile: Likewise.
22781         * conform/Makefile: Likewise.
22782         * nss/Makefile: Likewise.
22783         * time/Makefile: Likewise.
22784         * soft-fp/Makefile: Likewise.
22785         * dirent/Makefile: Likewise.
22786         * gmon/Makefile: Likewise.
22787         * po/Makefile: Likewise.
22788         * rt/Makefile: Likewise.
22789         * socket/Makefile: Likewise.
22790         * math/Makefile: Likewise.
22791         * signal/Makefile: Likewise.
22792         * debug/Makefile: Likewise.
22793         * elf/Makefile: Likewise.
22794         * timezone/Makefile: Likewise.
22795         * stdlib/Makefile: Likewise.
22796         * iconvdata/Makefile: Likewise.
22797         * sunrpc/Makefile: Likewise.
22798         * io/Makefile: Likewise.
22799         * argp/Makefile: Likewise.
22800         * inet/Makefile: Likewise.
22801         * hesiod/Makefile: Likewise.
22802         * grp/Makefile: Likewise.
22803         * csu/Makefile: Likewise.
22804         * wctype/Makefile: Likewise.
22805         * crypt/Makefile: Likewise.
22806         * libio/Makefile: Likewise.
22807         * string/Makefile: Likewise.
22808         * nis/Makefile: Likewise.
22809         * resolv/Makefile: Likewise.
22810         * stdio-common/Makefile: Likewise.
22811         * wcsmbs/Makefile: Likewise.
22812         * dlfcn/Makefile: Likewise.
22813         * posix/Makefile: Likewise.
22815         [BZ #6959]
22816         * timezone/Makefile: Don't install timezone files, just the programs
22817         and scripts.
22819 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
22821         * nss/databases.def: Add missing gshadow entry.
22823         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
22825 2012-03-06  Marek Polacek  <polacek@redhat.com>
22827         [BZ #13726]
22828         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22829         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22830         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22831         * stdio-common/tst-long-dbl-fphex.c: New file.
22833 2012-03-06  David S. Miller  <davem@davemloft.net>
22835         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22836         (set_obp_int): New function.
22837         (get_obp_int): New function.
22838         (__get_clockfreq_via_dev_openprom): Likewise.
22839         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22840         Avoid unused variable warnings on 'val' and use builtin_expect.
22841         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22842         __builtin_expect.
22843         (INLINE_CLONE_SYSCALL): Likewise.
22845 2012-03-05  David S. Miller  <davem@davemloft.net>
22847         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22849 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
22851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22853         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22854         only for |x| >= 40.
22855         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22857 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
22859         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22860         Replace gettimeofday with __vdso_gettimeofday.
22862         * sysdeps/unix/sysv/linux/x86_64/init-first.c
22863         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22864         __vdso_clock_gettime and __vdso_getcpu.
22866         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22867         time with __vdso_time.
22869 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
22871         * manual/lang.texi (size_t): Note types to which size_t may be
22872         equivalent with the GNU C Library, but do not describe when
22873         differences between them are significant.
22875 2012-03-05  Andreas Jaeger  <aj@suse.de>
22877         * sysdeps/i386/fpu/libm-test-ulps: Update.
22879 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
22881         [BZ #3976]
22882         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22883         (__ieee754_pow): Save and restore rounding mode and use
22884         round-to-nearest for main computations.
22885         * math/libm-test.inc (pow_test_tonearest): New function.
22886         (pow_test_towardzero): Likewise.
22887         (pow_test_downward): Likewise.
22888         (pow_test_upward): Likewise.
22889         (main): Call the new functions.
22890         * sysdeps/i386/fpu/libm-test-ulps: Update.
22891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22893         [BZ #3976]
22894         * math/libm-test.inc (cosh_test_tonearest): New function.
22895         (cosh_test_towardzero): Likewise.
22896         (cosh_test_downward): Likewise.
22897         (cosh_test_upward): Likewise.
22898         (sinh_test_tonearest): Likewise.
22899         (sinh_test_towardzero): Likewise.
22900         (sinh_test_downward): Likewise.
22901         (sinh_test_upward): Likewise.
22902         (main): Call the new functions.
22903         * sysdeps/i386/fpu/libm-test-ulps: Update.
22904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22906 2012-03-05  Tom de Vries  <tom@codesourcery.com>
22908         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22909         default stack guard is set in last bytes.
22910         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22912 2012-03-05  Kees Cook  <keescook@chromium.org>
22914         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
22916         [BZ #13656]
22917         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22918         possibly allocate from heap instead of stack.
22919         * stdio-common/bug-vfprintf-nargs.c: New file.
22920         * stdio-common/Makefile (tests): Add nargs overflow test.
22922 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
22924         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22926 2012-03-03  Marek Polacek  <polacek@redhat.com>
22928         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22929         * math/math_private.h: Likewise.
22930         * stdlib/tst-strtod.c: Likewise.
22931         * sysdeps/i386/i486/bits/atomic.h: Likewise.
22932         * sysdeps/x86_64/bits/atomic.h: Likewise.
22934 2012-03-02  David S. Miller  <davem@davemloft.net>
22936         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22937         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22938         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22940         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22941         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22942         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22943         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22945 2012-03-02  Roland McGrath  <roland@hack.frob.com>
22947         [BZ #13792]
22948         * manual/examples/README: New file, says the example source files
22949         can be used under GPL>=2.
22950         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22951         line containing just "*/".
22952         * manual/examples/add.c: Add copyright header (GPL>=2).
22953         * manual/examples/argp-ex1.c: Likewise.
22954         * manual/examples/argp-ex2.c: Likewise.
22955         * manual/examples/argp-ex3.c: Likewise.
22956         * manual/examples/argp-ex4.c: Likewise.
22957         * manual/examples/atexit.c: Likewise.
22958         * manual/examples/db.c: Likewise.
22959         * manual/examples/dir.c: Likewise.
22960         * manual/examples/dir2.c: Likewise.
22961         * manual/examples/execinfo.c: Likewise.
22962         * manual/examples/filecli.c: Likewise.
22963         * manual/examples/filesrv.c: Likewise.
22964         * manual/examples/fmtmsgexpl.c: Likewise.
22965         * manual/examples/genpass.c: Likewise.
22966         * manual/examples/inetcli.c: Likewise.
22967         * manual/examples/inetsrv.c: Likewise.
22968         * manual/examples/isockad.c: Likewise.
22969         * manual/examples/longopt.c: Likewise.
22970         * manual/examples/memopen.c: Likewise.
22971         * manual/examples/memstrm.c: Likewise.
22972         * manual/examples/mkfsock.c: Likewise.
22973         * manual/examples/mkisock.c: Likewise.
22974         * manual/examples/mygetpass.c: Likewise.
22975         * manual/examples/pipe.c: Likewise.
22976         * manual/examples/popen.c: Likewise.
22977         * manual/examples/rprintf.c: Likewise.
22978         * manual/examples/search.c: Likewise.
22979         * manual/examples/select.c: Likewise.
22980         * manual/examples/setjmp.c: Likewise.
22981         * manual/examples/sigh1.c: Likewise.
22982         * manual/examples/sigusr.c: Likewise.
22983         * manual/examples/stpcpy.c: Likewise.
22984         * manual/examples/strdupa.c: Likewise.
22985         * manual/examples/strftim.c: Likewise.
22986         * manual/examples/strncat.c: Likewise.
22987         * manual/examples/subopt.c: Likewise.
22988         * manual/examples/swapcontext.c: Likewise.
22989         * manual/examples/termios.c: Likewise.
22990         * manual/examples/testopt.c: Likewise.
22991         * manual/examples/testpass.c: Likewise.
22992         * manual/examples/timeval_subtract.c: Likewise.
22994         [BZ #13792]
22995         * manual/time.texi (Elapsed Time): Move timeval_subtract example
22996         function to ...
22997         * manual/timeval_subtract.c.texi: ... here, new file.
22999 2012-03-02  David S. Miller  <davem@davemloft.net>
23001         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23003 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
23005         [BZ #3976]
23006         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23007         (__sin): Save and restore rounding mode and use round-to-nearest
23008         for all computations.
23009         (__cos): Save and restore rounding mode and use round-to-nearest
23010         for all computations.
23011         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23012         <fenv.h>.
23013         (tan): Save and restore rounding mode and use round-to-nearest for
23014         all computations.
23015         * math/libm-test.inc (cos_test_tonearest): New function.
23016         (cos_test_towardzero): Likewise.
23017         (cos_test_downward): Likewise.
23018         (cos_test_upward): Likewise.
23019         (sin_test_tonearest): Likewise.
23020         (sin_test_towardzero): Likewise.
23021         (sin_test_downward): Likewise.
23022         (sin_test_upward): Likewise.
23023         (tan_test_tonearest): Likewise.
23024         (tan_test_towardzero): Likewise.
23025         (tan_test_downward): Likewise.
23026         (tan_test_upward): Likewise.
23027         (main): Call the new functions.
23028         * sysdeps/i386/fpu/libm-test-ulps: Update.
23029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23031         [BZ #10135]
23032         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23033         small n, then large n, before computing and testing k+n.
23034         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23035         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23036         Likewise.
23037         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23038         Likewise.
23039         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23040         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23041         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23042         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23043         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23044         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23045         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23046         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23047         * math/libm-test.inc (scalbn_test): Add more tests.
23048         (scalbln_test): Likewise.
23050         * manual/filesys.texi (mode_t): Describe constraints on size and
23051         signedness, not exact equivalence to a particular type.
23052         (ino_t): Likewise.
23053         (ino64_t): Likewise.
23054         (dev_t): Likewise.
23055         (nlink_t): Likewise.
23056         (blkcnt_t): Likewise.
23057         (blkcnt64_t): Likewise.
23058         * manual/llio.texi (off_t): Likewise.
23060         [BZ #3976]
23061         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23062         (__ieee754_exp): Save and restore rounding mode and use
23063         round-to-nearest for all computations.
23064         * math/libm-test.inc (exp_test_tonearest): New function.
23065         (exp_test_towardzero): Likewise.
23066         (exp_test_downward): Likewise.
23067         (exp_test_upward): Likewise.
23068         (main): Call the new functions.
23069         * sysdeps/i386/fpu/libm-test-ulps: Update.
23070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23072 2012-03-01  Chris Demetriou  <cgd@google.com>
23074         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23075         have predictable order.
23077 2012-03-01  David S. Miller  <davem@davemloft.net>
23079         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23081         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23082         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23083         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23084         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23086         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23087         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23088         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23089         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23090         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23091         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23092         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23093         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23094         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23098         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23099         * sysdeps/sparc/fpu/libm-test-ulps: to here.
23100         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23102         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23103         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23104         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23105         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23106         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23107         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23108         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23109         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23110         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23111         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23112         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23113         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23114         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23115         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23116         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23117         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23118         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23119         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23120         * sysdeps/sparc/elf/configure: Regenerated.
23122 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
23124         * configure.in (AS, LD): Require binutils 2.20 or later.
23125         * configure: Regenerated.
23126         * manual/install.texi (Tools for Compilation): Give binutils 2.20
23127         as required minimum version.
23128         * INSTALL: Regenerated.
23130         [BZ #2541]
23131         [BZ #4108]
23132         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23133         before squaring exponent.
23134         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23135         bottom long double and 27 bits of top long double before squaring
23136         exponent.
23137         * math/libm-test.inc (erfc_test): Add more tests.
23138         * sysdeps/i386/fpu/libm-test-ulps: Update.
23139         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23142 2012-03-01  Kai Tietz  <ktietz@redhat.com>
23144         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23145         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23146         containing bit-fields.
23147         * soft-fp/extended.h (_FP_UNION_E): Likewise.
23148         * soft-fp/single.h (_FP_UNION_S): Likewise.
23149         * soft-fp/double.h (_FP_UNION_D): Likewise.
23151 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
23153         [BZ #13786]
23154         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23155         not include ../strcmp.S.
23156         [USE_AS_STRNCASECMP_L]: Likewise.
23157         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23158         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23159         * sysdeps/i386/i686/multiarch/strncase_l-c.c
23160         (__strncasecmp_l_ia32): Define as alias to
23161         __strncasecmp_l_nonascii.
23163         [BZ #5794]
23164         * math/libm-test.inc (expm1_test): Add test for bug 5794.
23165         * sysdeps/i386/fpu/libm-test-ulps: Update.
23166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23168         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23171 2012-02-29  Jeff Law  <law@redhat.com>
23173         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23174         out of bounds read.
23176 2012-02-29  Marek Polacek  <polacek@redhat.com>
23178         [BZ #13706]
23179         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23180         * elf/Makefile: Add rules to run tst-unused-dep.out.
23182 2012-02-28  David S. Miller  <davem@davemloft.net>
23184         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23185         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23186         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23187         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23188         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23189         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23191 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
23193         * math/libm-test.inc (llround_test): Move one test from
23194         lround_test.  Use TEST_f_L in moved test.
23195         (lround_test): Move misplaced test to llround_test.  Add testcase
23196         from bug 2561.
23198 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
23200         * sysdeps/x86_64/fpu/e_expf.S: New file.
23201         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23203 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
23205         [BZ #13637]
23206         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23207         of remain_len that may cause incomplete multi-byte character and
23208         false match.
23209         * posix/bug-regex33.c: New file.
23210         * posix/Makefile (tests): Add bug-regex33.
23212 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
23214         * manual/macros.texi: New file.
23215         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23216         * manual/libc.texinfo: Include macros.texi.
23217         * manual/creatute.texi: Likewise.
23218         * manual/install.texi: Likewise.
23219         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23220         @glibcadj{} in references to the GNU C Library.
23221         * manual/charset.texi: Likewise.
23222         * manual/conf.texi: Likewise.
23223         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
23224         when not using those macros.
23225         * manual/creature.texi: Likewise.
23226         * manual/crypt.texi: Likewise.
23227         * manual/errno.texi: Likewise.
23228         * manual/filesys.texi: Likewise.
23229         * manual/header.texi: Likewise.
23230         * manual/install.texi: Likewise.
23231         * manual/intro.texi: Likewise.
23232         * manual/io.texi: Likewise.
23233         * manual/job.texi: Likewise.
23234         * manual/lang.texi: Likewise.
23235         * manual/libc.texiinfo: Likewise.
23236         * manual/llio.texi: Likewise.
23237         * manual/locale.texi: Likewise.
23238         * manual/maint.texi: Likewise.
23239         * manual/math.texi: Likewise.
23240         * manual/memory.texi: Likewise.
23241         * manual/message.texi: Likewise.
23242         * manual/nss.texi: Likewise.
23243         * manual/pattern.texi: Likewise.
23244         * manual/process.texi: Likewise.
23245         * manual/resource.texi: Likewise.
23246         * manual/search.texi: Likewise.
23247         * manual/setjmp.texi: Likewise.
23248         * manual/signal.texi: Likewise.
23249         * manual/socket.texi: Likewise.
23250         * manual/startup.texi: Likewise.
23251         * manual/stdio.texi: Likewise.
23252         * manual/string.texi: Likewise.
23253         * manual/sysinfo.texi: Likewise.
23254         * manual/syslog.texi: Likewise.
23255         * manual/terminal.texi: Likewise.
23256         * manual/time.texi: Likewise.
23257         * manual/users.texi: Likewise.
23258         * INSTALL: Regenerated.
23259         * NOTES: Regenerated.
23260         * sysdeps/gnu/errlist.c: Regenerated.
23262 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
23264         * include/dirent.h: Include <dirstream.h> before
23265         <dirent/dirent.h>.
23267 2012-02-28  David S. Miller  <davem@davemloft.net>
23269         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23270         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23271         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23272         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23274 2012-02-27  David S. Miller  <davem@davemloft.net>
23276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23278         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23279         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23282         frame pointer instead of stack pointer relative arg slot.
23283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23284         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23285         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23287 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
23289         [BZ #3992]
23290         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23292 2012-02-27  David S. Miller  <davem@davemloft.net>
23294         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23295         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23296         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23298         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23299         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23300         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23301         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23303 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
23305         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23306         later.  Allow versions 5-9.
23307         * configure: Regenerated.
23308         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23309         required minimum version and 4.6 as recommended version.  Do not
23310         mention bugs in GCC 2.7 and 2.8.
23311         * INSTALL: Regenerated.
23313 2012-02-27  David S. Miller  <davem@davemloft.net>
23315         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23316         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23317         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23319         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23320         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23321         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23322         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23324         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23325         manipulate bits before adding and subtracting TWO112[sx].
23326         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23328 2012-02-27  Roland McGrath  <roland@hack.frob.com>
23330         [BZ #13775]
23331         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23332         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23333         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23334         being in POSIX, because they are in 1003.1-2008.
23336         * rt/tst-aio.c: Include <fcntl.h>.
23337         * rt/tst-aio7.c: Likewise.
23338         * rt/tst-aio64.c: Likewise.
23340         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23342 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
23344         * manual/install.texi (--with-headers): Describe headers as
23345         interface headers, not private headers.
23346         (Specific advice for GNU/Linux systems): Describe use of headers
23347         from "make headers_install", not private headers from older
23348         kernels.
23349         * INSTALL: Regenerated.
23350         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23351         Change to 2.6.19.
23352         * sysdeps/unix/sysv/linux/configure: Regenerated.
23354         * manual/llio.texi (fclean): Remove documentation.
23356         * manual/Makefile (libc-texi-generated): New variable.  Include
23357         version.texi.
23358         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23359         $(libc-texi-generated), not duplicated list of files.
23360         (version.texi, stamp-version): New rules.
23361         (realclean): Remove $(libc-texi-generated), not individual files
23362         from that list.  Do not remove dir-add.texinfo.
23363         * manual/libc.texinfo: Comment out uses of edition numbers and
23364         references to printed manual.  Remove last-updated dates.
23365         (EDITION): Comment out.
23366         (ISBN): Likewise.
23367         (VERSION, UPDATED): Remove.
23368         (version.texi): Include.
23370 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
23372         * sysdeps/posix/spawni.c: Include <signal.h>.
23373         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23374         * sysdeps/pthread/aio_fsync.c: Likewise.
23376 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
23378         * conform/Makefile (tests): Run only when not cross-compiling and
23379         when fast-check is not defined.
23381         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23382         * conform/data/limits.h-data: Fixes for POSIX2008.
23383         * conform/run-conformtest.sh: Run all tests.
23384         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23385         headers.
23386         * include/bits/dlfcn.h: Likewise.
23387         * include/langinfo.h: Likewise.
23388         * include/monetary.h: Likewise.
23389         * include/sys/poll.h: Likewise.
23391         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23392         for __USE_GNU.
23393         * posix/spawn.h: Define __need_sigset_t.
23394         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23395         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23396         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
23397         to get sigevent_t only.
23398         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23399         only for __USE_GNU.
23400         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23401         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23402         process_vm_writev only for __USE_GNU.
23403         * termios/termios.h: Declare tcgetsid also for POSIX2008.
23405         * conform/Makefile: For now ignore errors from run-conformtest.
23406         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
23407         POSIX to avoid namespace pollution.  Don't prepend headers.
23408         * conform/data/aio.h-data: Fixes for POSIX testing.
23409         * conform/data/fcntl.h-data: Likewise.
23410         * conform/data/glob.h-data: Likewise.
23411         * conform/data/grp.h-data: Likewise.
23412         * conform/data/pthread.h-data: Likewise.
23413         * conform/data/pwd.h-data: Likewise.
23414         * conform/data/signal.h-data: Likewise.
23415         * conform/data/spawn.h-data: Likewise.
23416         * conform/data/stdio.h-data: Likewise.
23417         * conform/data/stdlib.h-data: Likewise.
23418         * conform/data/stropts.h-data: Likewise.
23419         * conform/data/sys/mman.h-data: Likewise.
23420         * conform/data/sys/stat.h-data: Likewise.
23421         * conform/data/sys/types.h-data: Likewise.
23422         * conform/data/sys/wait.h-data: Likewise.
23423         * conform/data/time.h-data: Likewise.
23424         * conform/data/unistd.h-data: Likewise.
23425         * conform/data/utime.h-data: Likewise.
23427         * io/sys/stat.h: fchmod was always in POSIX.
23428         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23429         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23430         * rt/aio.h: Define __need_timespec before including <time.h>.
23431         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23432         struct.  Add forward declaration of pthread_attr_t and use it in
23433         sigevent.
23434         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23435         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23436         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23437         always remove CLK_TCK definition.
23439 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
23441         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23443 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
23445         * conform/run-conformtest.sh: New file.
23446         * conform/Makefile: Run run-conformtest for tests.
23447         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
23448         support.
23450         * conform/data/uchar.h-data: New file.
23451         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23452         * conform/data/arpa/inet.h-data: Likewise.
23453         * conform/data/assert.h-data: Likewise.
23454         * conform/data/complex.h-data: Likewise.
23455         * conform/data/cpio.h-data: Likewise.
23456         * conform/data/ctype.h-data: Likewise.
23457         * conform/data/dirent.h-data: Likewise.
23458         * conform/data/dlfcn.h-data: Likewise.
23459         * conform/data/errno.h-data: Likewise.
23460         * conform/data/fcntl.h-data: Likewise.
23461         * conform/data/float.h-data: Likewise.
23462         * conform/data/fmtmsg.h-data: Likewise.
23463         * conform/data/fnmatch.h-data: Likewise.
23464         * conform/data/ftw.h-data: Likewise.
23465         * conform/data/glob.h-data: Likewise.
23466         * conform/data/grp.h-data: Likewise.
23467         * conform/data/iconv.h-data: Likewise.
23468         * conform/data/inttypes.h-data: Likewise.
23469         * conform/data/langinfo.h-data: Likewise.
23470         * conform/data/libgen.h-data: Likewise.
23471         * conform/data/limits.h-data: Likewise.
23472         * conform/data/locale.h-data: Likewise.
23473         * conform/data/math.h-data: Likewise.
23474         * conform/data/monetary.h-data: Likewise.
23475         * conform/data/mqueue.h-data: Likewise.
23476         * conform/data/ndbm.h-data: Likewise.
23477         * conform/data/net/if.h-data: Likewise.
23478         * conform/data/netdb.h-data: Likewise.
23479         * conform/data/netinet/in.h-data: Likewise.
23480         * conform/data/nl_types.h-data: Likewise.
23481         * conform/data/poll.h-data: Likewise.
23482         * conform/data/pthread.h-data: Likewise.
23483         * conform/data/pwd.h-data: Likewise.
23484         * conform/data/regex.h-data: Likewise.
23485         * conform/data/sched.h-data: Likewise.
23486         * conform/data/search.h-data: Likewise.
23487         * conform/data/semaphore.h-data: Likewise.
23488         * conform/data/setjmp.h-data: Likewise.
23489         * conform/data/signal.h-data: Likewise.
23490         * conform/data/spawn.h-data: Likewise.
23491         * conform/data/stdarg.h-data: Likewise.
23492         * conform/data/stdio.h-data: Likewise.
23493         * conform/data/stdlib.h-data: Likewise.
23494         * conform/data/string.h-data: Likewise.
23495         * conform/data/strings.h-data: Likewise.
23496         * conform/data/stropts.h-data: Likewise.
23497         * conform/data/sys/ipc.h-data: Likewise.
23498         * conform/data/sys/mman.h-data: Likewise.
23499         * conform/data/sys/msg.h-data: Likewise.
23500         * conform/data/sys/resource.h-data: Likewise.
23501         * conform/data/sys/select.h-data: Likewise.
23502         * conform/data/sys/sem.h-data: Likewise.
23503         * conform/data/sys/shm.h-data: Likewise.
23504         * conform/data/sys/socket.h-data: Likewise.
23505         * conform/data/sys/stat.h-data: Likewise.
23506         * conform/data/sys/statvfs.h-data: Likewise.
23507         * conform/data/sys/time.h-data: Likewise.
23508         * conform/data/sys/timeb.h-data: Likewise.
23509         * conform/data/sys/times.h-data: Likewise.
23510         * conform/data/sys/types.h-data: Likewise.
23511         * conform/data/sys/uio.h-data: Likewise.
23512         * conform/data/sys/un.h-data: Likewise.
23513         * conform/data/sys/utsname.h-data: Likewise.
23514         * conform/data/sys/wait.h-data: Likewise.
23515         * conform/data/syslog.h-data: Likewise.
23516         * conform/data/tar.h-data: Likewise.
23517         * conform/data/termios.h-data: Likewise.
23518         * conform/data/utime.h-data: Likewise.
23519         * conform/data/utmpx.h-data: Likewise.
23520         * conform/data/varargs.h-data: Likewise.
23521         * conform/data/wchar.h-data: Likewise.
23522         * conform/data/wctype.h-data: Likewise.
23523         * conform/data/wordexp.h-data: Likewise.
23525         * include/stropts.h: New file.
23526         * include/uchar.h: New file.
23527         * include/aio.h: Changes to allow conformtest.pl to use the headers.
23528         * include/assert.h: Likewise.
23529         * include/ctype.h: Likewise.
23530         * include/dirent.h: Likewise.
23531         * include/dlfcn.h: Likewise.
23532         * include/fcntl.h: Likewise.
23533         * include/fnmatch.h: Likewise.
23534         * include/glob.h: Likewise.
23535         * include/grp.h: Likewise.
23536         * include/libio.h: Likewise.
23537         * include/locale.h: Likewise.
23538         * include/math.h: Likewise.
23539         * include/net/if.h: Likewise.
23540         * include/netdb.h: Likewise.
23541         * include/netinet/in.h: Likewise.
23542         * include/pthread.h: Likewise.
23543         * include/pwd.h: Likewise.
23544         * include/regex.h: Likewise.
23545         * include/sched.h: Likewise.
23546         * include/search.h: Likewise.
23547         * include/setjmp.h: Likewise.
23548         * include/signal.h: Likewise.
23549         * include/stdio.h: Likewise.
23550         * include/stdlib.h: Likewise.
23551         * include/string.h: Likewise.
23552         * include/sys/cdefs.h: Likewise.
23553         * include/sys/mman.h: Likewise.
23554         * include/sys/msg.h: Likewise.
23555         * include/sys/resource.h: Likewise.
23556         * include/sys/select.h: Likewise.
23557         * include/sys/socket.h: Likewise.
23558         * include/sys/stat.h: Likewise.
23559         * include/sys/statvfs.h: Likewise.
23560         * include/sys/time.h: Likewise.
23561         * include/sys/times.h: Likewise.
23562         * include/sys/uio.h: Likewise.
23563         * include/sys/utsname.h: Likewise.
23564         * include/sys/wait.h: Likewise.
23565         * include/termios.h: Likewise.
23566         * include/time.h: Likewise.
23567         * include/ulimit.h: Likewise.
23568         * include/unistd.h: Likewise.
23569         * include/utime.h: Likewise.
23570         * include/wchar.h: Likewise.
23571         * include/wctype.h: Likewise.
23572         * include/wordexp.h: Likewise.
23574         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23576         * time/time.h: TIME_UTC must be a macro.
23577         Make timespec_get available for ISO C11 only as well.
23579 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
23581         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23582         Reported by Peng Haitao <penght@cn.fujitsu.com>.
23584 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
23586         * configure.in: Use -o not -a in test for unsupported multi-arch.
23588 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
23590         * manual/texinfo.tex: Update to version 2012-01-19.16.
23592 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
23594         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23596 2012-02-24  Roland McGrath  <roland@hack.frob.com>
23598         [BZ #13738]
23599         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23600         * manual/fdl-1.3.texi: New file.
23601         * manual/fdl-1.1.texi: File removed.
23603         [BZ #13738]
23604         * manual/libc.texinfo (FDL_VERSION): New @set.
23605         Use it for mention of FDL in cover text.
23606         (Documentation License): Use it in @include file name.
23608 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23609             Roland McGrath  <roland@hack.frob.com>
23611         [BZ #5461]
23612         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23613         not LONG_LONG_MAX and LONG_LONG_MIN.
23614         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23615         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
23616         name.
23617         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23619 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23621         [BZ #2547]
23622         [BZ #11365]
23623         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23624         manipulate bits before adding and subtracting TWO23[sx].
23625         * math/libm-test.inc (nearbyint_test): Add more tests.
23627 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23629         [BZ #2548]
23630         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23631         bits before adding and subtracting TWO23[sx].
23632         * math/libm-test.inc (rint_test): Add more tests.
23633         (rint_test_tonearest): Likewise.
23634         (rint_test_towardzero): Likewise.
23635         (rint_test_downward): Likewise.
23636         (rint_test_upward: Likewise.
23638 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23640         [BZ #10110]
23641         * include/stdc-predef.h: New file.  Extracted from features.h.
23642         * include/features.h: Include stdc-predef.h.
23643         * Makefile (headers): Add stdc-predef.h.
23644         * CONFORMANCE (Compiler limitations): Update.
23646 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23648         * manual/libc.texinfo (VERSION, UPDATED): Revert.
23650 2012-02-21  David S. Miller  <davem@davemloft.net>
23652         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23653         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23655 2012-02-20  David S. Miller  <davem@davemloft.net>
23657         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23658         using a normal save/restore sequence, rather than allocating a
23659         dummy stack frame just to store a frame pointer and restore.
23660         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23662 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
23664         * manual/install.texi: Fix stray word in line-wrapped comment.
23666 2012-02-20  David S. Miller  <davem@davemloft.net>
23668         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23669         both binutils and gcc support GOTDATA.
23671         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23672         "rd %pc" in the PIC register setup sequences.
23674         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23675         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23676         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23677         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23678         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23679         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23680         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23681         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23682         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23683         (SYSCALL_ERROR_HANDLER): Likewise.
23684         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23685         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23686         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23687         (SYSCALL_ERROR_HANDLER): Likewise.
23689         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23690         (HAVE_GCC_GOTDATA): New.
23691         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23692         relocation support in both binutils and gcc.
23693         * sysdeps/sparc/elf/configure: Regenerate.
23695         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23696         * sysdeps/sparc/sparc32/elf/configure: Delete.
23697         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23698         * sysdeps/sparc/sparc64/elf/configure: Delete.
23699         * sysdeps/sparc/elf/configure.in: New file.
23700         * sysdeps/sparc/elf/configure: Generate.
23702         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23703         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23704         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23705         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23706         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23708 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
23710         * manual/install.texi: Do not mention specific glibc version
23711         numbers.
23712         * manual/libc.texinfo (VERSION, UPDATED): Update.
23713         (@copying): Use @copyright{} and range of years.
23715 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
23717         [BZ #13695]
23718         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23719         [crti.S not in sysdirs] (generated): Do not append.
23720         [crti.S not in sysdirs] (omit-deps): Likewise.
23721         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23722         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23723         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23724         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23725         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23726         Likewise.
23727         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23728         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23729         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23730         * csu/defs.awk: Remove file.
23731         * sysdeps/generic/initfini.c: Likewise.
23732         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23733         variable.
23734         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23735         Likewise.
23737 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
23739         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23740         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23741         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23742         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23743         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23744         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23745         <bits/epoll.h>.
23746         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23747         (__EPOLL_PACKED): Define to empty if not defined by
23748         <bits/epoll.h>.
23749         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23750         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23751         bits/epoll.h.
23753 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
23755         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23756         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23757         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23758         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23759         <bits/timerfd.h>.
23760         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23761         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23762         bits/timerfd.h.
23764 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
23766         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23767         in C locale.
23768         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23769         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23770         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23773 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
23775         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23776         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23778 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
23780         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23781         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23782         defined.
23783         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23784         Likewise.
23785         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23786         entry for 2.16.
23788 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
23790         * math/w_acos.c: Use non-signaling floating-point comparisons.
23791         * math/w_acosf.c: Likewise.
23792         * math/w_acosh.c: Likewise.
23793         * math/w_acoshf.c: Likewise.
23794         * math/w_acoshl.c: Likewise.
23795         * math/w_acosl.c: Likewise.
23796         * math/w_asin.c: Likewise.
23797         * math/w_asinf.c: Likewise.
23798         * math/w_asinl.c: Likewise.
23799         * math/w_atanh.c: Likewise.
23800         * math/w_atanhf.c: Likewise.
23801         * math/w_atanhl.c: Likewise.
23802         * math/w_exp2.c: Likewise.
23803         * math/w_exp2f.c: Likewise.
23804         * math/w_exp2l.c: Likewise.
23805         * math/w_j0.c: Likewise.
23806         * math/w_j0f.c: Likewise.
23807         * math/w_j0l.c: Likewise.
23808         * math/w_j1.c: Likewise.
23809         * math/w_j1f.c: Likewise.
23810         * math/w_j1l.c: Likewise.
23811         * math/w_jn.c: Likewise.
23812         * math/w_jnf.c: Likewise.
23813         * math/w_log.c: Likewise.
23814         * math/w_log10.c: Likewise.
23815         * math/w_log10f.c: Likewise.
23816         * math/w_log10l.c: Likewise.
23817         * math/w_log2.c: Likewise.
23818         * math/w_log2f.c: Likewise.
23819         * math/w_log2l.c: Likewise.
23820         * math/w_logf.c: Likewise.
23821         * math/w_logl.c: Likewise.
23822         * math/w_sqrt.c: Likewise.
23823         * math/w_sqrtf.c: Likewise.
23824         * math/w_sqrtl.c: Likewise.
23825         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23826         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23827         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23828         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23829         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23831 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23833         [BZ #9739]
23834         * manual/string.texi (strnlen): Use correct parameter name in
23835         equivalent expression.
23837 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23839         [BZ #11174]
23840         * manual/users.texi (seteuid): Consistently use neweuid for
23841         argument name.
23843 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23845         [BZ #13704]
23846         * manual/nss.texi (Services in the NSS configuration): Correct
23847         list of services in example configuration file.
23849 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
23851         [BZ #11322]
23852         * manual/arith.texi: Remove statements about negative zero
23853         behaving identically to zero.
23855 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
23857         [BZ #5993]
23858         * manual/install.texi: Do not document upgrading from libc5.
23860 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
23862         [BZ #4596]
23863         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23865 2012-02-18  David S. Miller  <davem@davemloft.net>
23867         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23868         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23869         %o7 across the call.
23870         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23871         instead.
23872         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23873         SETUP_PIC_REG_LEAF.
23874         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23875         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23876         * sysdeps/sparc/crtn.S: Likewise.
23878 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
23880         * aout/Makefile: Remove.
23882 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
23884         [BZ #13058]
23885         * manual/examples/argp-ex1.c (main): Format definition in GNU
23886         style.
23887         * manual/examples/argp-ex2.c (main): Likewise.
23888         * manual/examples/argp-ex3.c (main): Likewise.
23889         * manual/examples/argp-ex4.c (main): Likewise.
23890         * manual/examples/longopt.c (main): Use new-style prototype
23891         definition.
23892         * manual/examples/strncat.c (main): Specify return type and use
23893         (void) for arguments.
23894         * manual/examples/subopt.c (main): Use char **argv argument.
23896 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23898         [BZ #5077]
23899         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23900         rounding modes.
23902 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
23904         [BZ #6907]
23905         * manual/string.texi (strchr): Change when strchrnul is
23906         recommended.
23908 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
23910         [BZ #174]
23911         * manual/locale.texi (setlocale): Document LOCPATH.
23913 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23915         [BZ #10210]
23916         * manual/process.texi (execle): Move @dots{} before last argument.
23918 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
23920         [BZ #12047]
23921         * manual/charset.texi (Generic Charset Conversion): Fix typo
23922         (LC_TYPE -> LC_CTYPE).
23924 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
23926         [BZ #5805]
23927         * manual/arith.texi (scalbn): Use @var{} on parameter names.
23928         (scalbnf): Likewise.
23929         (scalbnl): Likewise.
23930         (scalbln): Likewise.
23931         (scalblnf): Likewise.
23932         (scalblnl): Likewise.
23933         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23934         (vwarnx): Likewise.
23935         (verr): Likewise.
23936         (verrx): Likewise.
23937         * manual/filesys.texi (telldir): Use braces around return type.
23938         * manual/llio.texi (mmap): Add space after comma.
23939         (mmap64): Likewise.
23940         * manual/math.texi (jn): Use @var{} on parameter names.
23941         (jnf): Likewise.
23942         (jnl): Likewise.
23943         (yn): Likewise.
23944         (ynf): Likewise.
23945         (ynl): Likewise.
23946         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23947         line.
23948         * manual/resource.texi (ulimit): Use @dots{} instead of literal
23949         "...".
23950         (sched_get_priority_min): Remove semicolon on @deftypefun line.
23951         (sched_get_priority_max): Likewise.
23952         * manual/signal.texi (sigvec): Add space after comma.
23953         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23954         names.
23955         (if_indextoname): Likewise.
23956         (if_freenameindex): Likewise.
23957         (sendto): Use ',' instead of '.' in prototype.
23958         * manual/startup.texi (syscall): Use @dots{} instead of literal
23959         "...".
23960         * manual/stdio.texi (__fpending): Separate initial words of
23961         paragraph from @deftypefun line.
23962         * manual/syslog.texi (syslog): Use @dots{} instead of literal
23963         "...".
23964         (vsyslog): Use @var{} on parameter names.
23965         * manual/terminal.texi (stty): Use @var{} on parameter names.
23966         * manual/users.texi (getutmp): Use @var{} on parameter names.
23967         (getutmpx): Likewise.
23969 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23971         [BZ #6884]
23972         * manual/stdio.texi (fopen): Fix typos in description of
23973         ",ccs=STRING".
23975 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
23977         [BZ #4026]
23978         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23979         get clock_id definition.
23981 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
23983         [BZ #4822]
23984         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23985         (madvise): Cast every argument to void on its own.
23987 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23989         [BZ #9902]
23990         * manual/startup.texi (Exit Status): Fix typo.
23992 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23994         [BZ #10140]
23995         * manual/examples/argp-ex1.c: Include <stdlib.h>.
23996         * manual/examples/argp-ex2.c: Likewise.
23997         * manual/examples/argp-ex3.c: Likewise.
23999 2012-02-16  Richard Henderson  <rth@redhat.com>
24001         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24002         * sysdeps/s390/s390-32/initfini.c: Remove.
24003         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24004         * sysdeps/s390/s390-64/initfini.c: Remove.
24006 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24008         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24009         compiler output for sysdeps/generic/initfini.c.
24010         * sysdeps/sh/elf/initfini.c: Remove file.
24012 2012-02-16  David S. Miller  <davem@davemloft.net>
24014         [BZ #11494]
24015         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24017         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24018         * sysdeps/sparc/crti.S: New file.
24019         * sysdeps/sparc/crtn.S: New file.
24020         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24021         * sysdeps/sparc/sparc64/Makefile: Likewise.
24023 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
24025         [BZ #3335]
24026         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24028 2012-02-15  Roland McGrath  <roland@hack.frob.com>
24030         [BZ #4822]
24031         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24033         * mach/devstream.c (cookie_io_functions_t): Macro removed.
24034         (write, read, close): Likewise.
24035         Patch by Aurelien Jarno <aurelien@aurel32.net>.
24037 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
24039         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24040         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24041         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24042         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24043         <bits/signalfd.h>.
24044         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24045         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24046         bits/signalfd.h.
24048 2012-02-14  Marek Polacek  <polacek@redhat.com>
24050         * sysdeps/x86_64/crti.S: New file.
24051         * sysdeps/x86_64/crtn.S: New file.
24052         * sysdeps/x86_64/elf/initfini.c: Remove file.
24054 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
24056         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24057         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24058         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24059         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24060         <bits/inotify.h>.
24061         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24062         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24063         bits/inotify.h.
24065 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
24067         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24068         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24069         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24070         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24071         <bits/eventfd.h>.
24072         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24073         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24074         bits/eventfd.h.
24076 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
24078         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24079         __feraiseexcept instead of feraiseexcept.
24081         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24082         nanosleep invocations.
24083         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24084         strings, and add error checking for a nanosleep invocations.
24086 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
24088         Replace FSF snail mail address with URLs, as per GNU coding standards.
24089         Most of the snail mail addresses were wrong anyway, and omitting
24090         them makes the source code easier to maintain.  Almost all of the
24091         changes are to license notices and to locale LC_IDENTIFICATION
24092         addresses, except for this one:
24093         * manual/libc.texinfo: In "Published by", give the FSF's URL,
24094         not its snail mail address.
24096 2012-02-09  Richard Henderson  <rth@twiddle.net>
24098         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24099         of kernel-features.h.
24101         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24103 2012-02-08  Marek Polacek  <polacek@redhat.com>
24105         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24106         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24107         * sysdeps/gnu/_G_config.h: Likewise.
24108         * sysdeps/generic/_G_config.h: Likewise.
24110 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
24112         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24113         tests.
24114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24116         * sysdeps/powerpc/powerpc32/crti.S: New file.
24117         * sysdeps/powerpc/powerpc32/crtn.S: New file.
24118         * sysdeps/powerpc/powerpc64/crti.S: New file.
24119         * sysdeps/powerpc/powerpc64/crtn.S: New file.
24121         * Makeconfig (have-initfini): Don't set.
24122         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24123         * configure.in (nopic_initfini): Don't substitute.
24124         * config.h.in (HAVE_INITFINI): Don't #undef.
24125         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24126         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24128 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
24130         Support crti.S and crtn.S provided directly by architectures.
24131         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24132         [crti.S in sysdirs] (omit-deps): Likewise.
24133         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24134         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24135         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24136         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24137         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24138         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24139         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24140         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24141         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24142         compiler output for sysdeps/generic/initfini.c.
24143         * sysdeps/i386/elf/Makefile: Remove file.
24144         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24146 2012-02-07  Marek Polacek  <polacek@redhat.com>
24148         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24149         * sysdeps/gnu/_G_config.h: Likewise.
24150         * sysdeps/mach/hurd/_G_config.h: Likewise.
24152 2012-02-07  Marek Polacek  <polacek@redhat.com>
24154         * math/Makefile (tests): Add tst-CMPLX2.
24155         * math/tst-CMPLX2.c: New file.
24157 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
24159         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24161         * math/libm-test.inc (jn_test): Add missing L suffix.
24163 2012-02-06  Marek Polacek  <polacek@redhat.com>
24165         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24166         * sysdeps/i386/fpu/e_powf.S: Likewise.
24167         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24168         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24169         * sysdeps/i386/fpu/e_acosh.S: Likewise.
24170         * sysdeps/i386/fpu/e_pow.S: Likewise.
24171         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24172         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24173         * sysdeps/i386/fpu/s_expm1.S: Likewise.
24174         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24175         * sysdeps/i386/fpu/e_log2.S: Likewise.
24176         * sysdeps/i386/fpu/e_log2l.S: Likewise.
24177         * sysdeps/i386/fpu/e_scalb.S: Likewise.
24178         * sysdeps/i386/fpu/e_powl.S: Likewise.
24179         * sysdeps/i386/fpu/s_log1p.S: Likewise.
24180         * sysdeps/i386/fpu/e_log10f.S: Likewise.
24181         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24182         * sysdeps/i386/fpu/e_logl.S: Likewise.
24183         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24184         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24185         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24186         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24187         * sysdeps/i386/fpu/e_log2f.S: Likewise.
24188         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24189         * sysdeps/i386/fpu/e_log.S: Likewise.
24190         * sysdeps/i386/fpu/s_cexp.S: Likewise.
24191         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24192         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24193         * sysdeps/i386/fpu/e_logf.S: Likewise.
24194         * sysdeps/i386/fpu/e_log10l.S: Likewise.
24195         * sysdeps/i386/fpu/e_atanh.S: Likewise.
24196         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24197         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24198         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24199         * sysdeps/i386/fpu/e_log10.S: Likewise.
24200         * sysdeps/i386/fpu/s_frexp.S: Likewise.
24201         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24202         * sysdeps/i386/fpu/s_asinh.S: Likewise.
24203         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24204         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24205         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24206         * sysdeps/i386/asm-syntax.h: Likewise.
24207         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24208         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24209         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24210         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24211         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24212         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24213         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24214         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24215         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24216         * sysdeps/powerpc/sysdep.h: Likewise.
24217         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24218         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24220 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
24222         [BZ #411]
24223         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24225 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
24227         * sysdeps/i386/sysdep.h: Include <features.h>.
24228         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24229         version.
24231 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
24233         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24234         Define.
24235         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24236         LOAD_PIC_REG_STR.
24238 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
24240         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24241         (SETUP_PIC_REG): Use GET_PC_THUNK.
24242         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24243         macro.
24245 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
24247         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24248         for non-PIC compilation.
24249         (SETUP_PIC_REG): Add .p2align directive.
24250         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24251         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24252         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24253         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24254         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24255         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24256         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24257         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24258         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24259         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24260         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24261         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24262         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24263         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24264         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24265         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24266         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24267         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24268         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24269         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24270         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24271         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24272         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24273         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24274         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24275         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24276         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24277         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24278         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24279         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24280         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24281         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24282         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24283         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24284         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24285         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24286         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24287         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24288         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24289         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24290         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24292 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
24294         * math/tst-CMPLX.c: Include <stdio.h>.
24296 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
24298         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24299         float.
24300         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24301         * sysdeps/sparc/bits/mathdef.h: Likewise.
24303 2012-01-31  Marek Polacek  <polacek@redhat.com>
24305         * libio/libio.h: Don't define _PARAMS.
24306         * locale/programs/config.h: Don't define PARAMS.
24307         * stdlib/strtol_l.c: Likewise.
24308         (__strtol_l): Remove PARAMS from the prototype.
24310 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
24312         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
24313         names.  Just use the correct names.  Remove unnecessary wrapper
24314         functions.
24315         * malloc/arena.c: Likewise.
24316         * malloc/hooks.c: Likewise.
24318         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24319         ARENA_TEST says not to.  Simplify test for creation of a new arena.
24320         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24322 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
24324         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24325         into tail calls.
24326         (update_get_addr): New function.
24327         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24328         GET_ADDR_MODULE parameter.
24330 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
24332         * crypt/cert.c: Remove __STDC__ conditionals.
24333         * crypt/crypt-entry.c: Likewise.
24334         * crypt/crypt_util.c: Likewise.
24335         * libio/filedoalloc.c: Likewise.
24336         * libio/fileops.c: Likewise.
24337         * libio/genops.c: Likewise.
24338         * libio/iofclose.c: Likewise.
24339         * libio/iofdopen.c: Likewise.
24340         * libio/iofopen.c: Likewise.
24341         * libio/iofopen64.c: Likewise.
24342         * libio/iogetdelim.c: Likewise.
24343         * libio/iopopen.c: Likewise.
24344         * libio/obprintf.c: Likewise.
24345         * libio/oldfileops.c: Likewise.
24346         * libio/oldiofclose.c: Likewise.
24347         * libio/oldiofdopen.c: Likewise.
24348         * libio/oldiofopen.c: Likewise.
24349         * libio/oldiopopen.c: Likewise.
24350         * libio/wfiledoalloc.c: Likewise.
24351         * libio/wgenops.c: Likewise.
24352         * locale/programs/xmalloc.c: Likewise.
24353         * misc/syslog.c: Likewise.
24354         * stdio-common/xbug.c: Likewise.
24355         * string/memchr.c: Likewise.
24356         * string/memcmp.c: Likewise.
24357         * string/memrchr.c: Likewise.
24358         * string/rawmemchr.c: Likewise.
24359         * sysdeps/posix/getcwd.c: Likewise.
24360         * time/strftime_l.c: Likewise.
24362 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
24364         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
24365         * config.make.in (config-cflags-sse2avx): Define.
24366         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24367         Fix typo.
24369 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
24371         * scripts/config.guess: Update from upstream config git repository.
24372         * scripts/config.sub: Likewise.
24374 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
24376         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24377         (EM_NUM): Update.
24378         (R_TILEPRO_*, R_TILEGX_*): New macros.
24380         * scripts/firstversions.awk: Fix bug in version range handling.
24382         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24384         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24386         * include/sys/epoll.h: New file.
24387         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24388         libc_hidden_def.
24390 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
24392         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24393         Avoid unnecessary __WORDSIZE == 64 test.
24394         (fmaxf): Use VEX format if possible.
24395         (fmax): Likewise.
24396         (fminf): Likewise.
24397         (fmin): Likewise.
24399         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24400         * math/math_private.h: Remove libc_fegetround* and
24401         libc_fesetround*.
24402         * sysdeps/i386/configure.in: Check for -msse2avx.
24403         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24404         also if SSE2AVX is defined.
24405         Remove libc_fegetround* and libc_fesetround*.
24406         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24407         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
24408         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24409         of HAS_YMM_USABLE.
24410         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24411         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24412         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24413         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24414         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24416         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24418 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24420         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24421         size is not set.
24422         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24424 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
24426         [BZ #13618]
24427         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24428         relocation.
24429         * Makeconfig (libm): Define.
24430         * elf/Makefile: Add rules to build and run tst-relsort1.
24431         * elf/tst-relsort1.c: New file.
24432         * elf/tst-relsort1mod1.c: New file.
24433         * elf/tst-relsort1mod2.c: New file.
24435 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
24437         * math/s_ldexp.c: Remove __STDC__ conditionals.
24438         * math/s_ldexpf.c: Likewise.
24439         * math/s_ldexpl.c: Likewise.
24440         * math/s_nextafter.c: Likewise.
24441         * math/s_nexttowardf.c: Likewise.
24442         * math/s_significand.c: Likewise.
24443         * math/s_significandf.c: Likewise.
24444         * math/s_significandl.c: Likewise.
24445         * math/w_jnl.c: Likewise.
24446         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24447         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24448         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24449         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24450         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24451         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24452         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24453         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24454         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24455         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24456         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24457         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24458         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24459         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24460         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24461         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24462         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24463         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24464         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24465         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24466         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24467         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24468         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24469         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24470         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24471         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24472         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24473         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24474         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24475         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24476         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24477         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24478         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24479         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24480         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24481         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24482         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24483         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24484         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24485         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24486         * sysdeps/ieee754/k_standard.c: Likewise.
24487         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24488         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24489         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24490         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24491         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24492         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24493         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24494         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24495         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24496         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24497         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24498         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24499         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24500         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24501         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24502         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24503         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24504         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24505         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24506         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24507         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24508         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24509         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24510         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24511         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24512         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24513         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24514         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24515         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24516         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24517         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24518         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24519         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24520         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24521         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24522         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24523         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24524         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24525         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24526         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24527         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24528         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24529         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24530         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24531         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24532         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24533         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24534         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24535         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24536         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24537         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24538         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24539         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24540         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24541         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24542         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24543         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24544         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24545         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24546         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24547         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24548         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24549         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24550         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24551         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24552         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24553         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24554         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24555         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24556         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24557         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24558         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24559         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24560         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24561         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24562         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24563         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24564         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24565         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24566         * sysdeps/ieee754/s_matherr.c: Likewise.
24567         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24568         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24569         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24570         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24572 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
24574         * crypt/md5.h: Remove __STDC__ conditionals.
24575         * libio/libioP.h: Likewise.
24576         * locale/programs/config.h: Likewise.
24577         * sysdeps/generic/sysdep.h: Likewise.
24578         * sysdeps/i386/asm-syntax.h: Likewise.
24579         * sysdeps/s390/asm-syntax.h: Likewise.
24580         * sysdeps/unix/sysdep.h: Likewise.
24581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24584 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
24586         * libio/libio.h: Remove __STDC__ conditionals.
24587         * malloc/obstack.h: Likewise.
24588         * math/complex.h: Likewise.
24589         * math/math.h: Likewise.
24590         * sysdeps/generic/_G_config.h: Likewise.
24591         * sysdeps/gnu/_G_config.h: Likewise.
24592         * sysdeps/mach/hurd/_G_config.h: Likewise.
24593         * sysdeps/powerpc/bits/mathdef.h: Likewise.
24594         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24595         * sysdeps/sparc/bits/mathdef.h: Likewise.
24597 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
24599         [BZ #13583]
24600         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
24601         Clean up HAS_* macros.
24602         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
24603         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24604         possible.
24605         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24606         HAS_AVX.
24607         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24608         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24609         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24610         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24611         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24613 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
24615         * elf/tst-unique3.cc (gets): Remove declaration.
24616         * elf/tst-unique3lib.cc (gets): Likewise.
24617         * elf/tst-unique3lib2.cc (gets): Likewise.
24618         * elf/tst-unique4.cc (gets): Likewise.
24620 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
24622         * include/stdio.h: Add C++ protection.  Add gets declarations and
24623         definitions.
24624         * debug/tst-chk1.c: Don't declare gets here.
24625         * stdio-common/tst-gets.c: Likewise.
24627 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
24629         * posix/glob: Remove directory.
24631 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
24633         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24635 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
24637         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24638         of the non-standard EPFNOSUPPORT.
24640 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24642         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24643         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24644         ANYWHERE set to 1 only on KERN_NO_SPACE error.
24646 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
24648         * wcsmbs/uchar.h: Test __STDC_VERSION__.
24650 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
24652         * nscd/aicache.c (addhstaiX): Do not cache negative results of
24653         transient errors.
24654         * nscd/grpcache.c (cache_addgr): Likewise.
24655         * nscd/hstcache.c (cache_addhst): Likewise.
24656         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24657         * nscd/pwdcache.c (cache_addpw): Likewise.
24658         * nscd/servicescache.c (cache_addserv): Likewise.
24660 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
24662         * malloc/malloc.c: Various cleanups.
24663         * malloc/hooks.c: Likewise.
24665         * stdlib/Makefile (tests): Add bug-fmtmsg1.
24666         * stdlib/bug-fmtmsg1.c: New file.
24668         * stdlib/fmtmsg.c (init): Add missing unlock.
24669         Patch by Peng Haitao <penght@cn.fujitsu.com>.
24671 2012-01-12  Marek Polacek  <polacek@redhat.com>
24673         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24674         and _GNU_SOURCE.
24676 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
24678         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24679         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24680         macro to ensure uniqueness of label name.
24681         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24682         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24684 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
24686         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24688         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24689         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24690         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24691         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24693 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
24695         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24697         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24698         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24699         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24701         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24703         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
24704         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24705         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24706         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
24708         * math/bits/math-finite.h: Add ldexp support.
24710 2012-01-10  Marek Polacek  <polacek@redhat.com>
24712         * locale/programs/localedef.h (show_archive_content): Add noreturn
24713         attribute.
24715 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
24717         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24719 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
24721         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24723         * io/Makefile (headers): Add bits/poll2.h.
24725 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
24727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24728         typo #include statement.
24730 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
24732         * include/sys/cdefs.h: Define __attribute_alloc_size.
24733         * catgets/gencat.c: Add alloc_size attribute and apply consistently
24734         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24735         * elf/pldd.c: Likewise.
24736         * iconv/iconv_charmap.c: Likewise.
24737         * iconv/iconvconfig.c: Likewise.
24738         * iconv/strtab.c: Likewise.
24739         * locale/programs/locale.c: Likewise.
24740         * locale/programs/localedef.h: Likewise.
24741         * locale/programs/simple-hash.c: Likewise.
24742         * nscd/nscd.h: Likewise.
24743         * nss/makedb.c: Likewise.
24744         * sysdeps/generic/ldconfig.h: Likewise.
24745         * locale/programs/localedef.c: Remove xmalloc prototype.
24746         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24748 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24750         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24751         appropriate.
24753 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
24755         * math/Makefile (tests): Add tst-CMPLX.
24756         * math/tst-CMPLX.c: New file.
24758         * math/complex.h (CMPLXL): Fix typo.
24760         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24761         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24762         GLIBC_2.16.
24763         * debug/tst-chk1.c: Add poll and ppoll tests.
24764         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24765         * include/sys/poll.h: Add hidden proto for ppoll.
24766         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24767         * sysdeps/mach/hurd/ppoll.c: Likewise.
24768         * io/ppoll.c: Likewise.
24769         * debug/poll_chk.c: New file.
24770         * debug/ppoll_chk.c: New file.
24771         * include/bits/poll2.h: New file.
24772         * io/bits/poll2.h: New file.
24774         [BZ #1350]
24775         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24777         * configure.in: static is always set to yes.  Remove.
24778         * config.make.in: Don't set build-static.
24779         * Makeconfig: Remove use of build-static.
24780         * dlfcn/Makefile: Likewise.
24781         * elf/Makefile: Likewise.
24782         * math/Makefile: Likewise.
24783         * misc/Makefile: Likewise.
24784         * nptl/Makefile: Likewise.
24785         * sysdeps/mach/hurd/Makefile: Likewise.
24787         * configure.in: PWD_P is not used anymore.
24788         * config.make.in: Remove PWD_P entry.
24790         * configure.in: Remove last remnants of RANLIB.
24791         No need to check for signed size_t anymore.
24792         Don't set libc_commonpagesize and libc_relro_required here for Alpha
24793         and IA-64.
24794         Remove __builtin_expect test because we require at least gcc 3.4.
24795         * aclocal.m4: Likewise.
24797         * wcsmbs/mbrtoc16.c: Implement using towc function.
24798         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24799         * wcsmbs/wcsmbsload.c: Likewise.
24800         * iconv/gconv_simple.c: Likewise.
24801         * iconv/gconv_int.h: Likewise.
24802         * iconv/gconv_builtin.h: Likewise.
24803         * iconv/iconv_prog.c: Remove CHAR16 handling.
24805         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24807         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24809         * configure.in: Remove --with-elf and --enable-bounded options.
24810         Dont set base_machine for ia64.  More non-ELF conditions removed.
24811         Remove testing and setting of leading underscore information.
24812         * config.make.in (build-bounded): Set to no.
24813         * config.h.in: Remove NO_UNDERSCORES entry.
24814         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
24815         them.
24816         * csu/start.c: Remove !NO_UNDERSCORE code.
24817         * locale/localeinfo.h: Likewise.
24818         * sysdeps/generic/machine-gmon.h: Likewise.
24819         * sysdeps/generic/sysdep.h: Likewise.
24820         * sysdeps/i386/sysdep.h: Likewise.
24821         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24822         * sysdeps/mach/sysdep.h: Likewise.
24823         * sysdeps/s390/s390-32/sysdep.h: Likewise.
24824         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24825         * sysdeps/sh/sysdep.h: Likewise.
24826         * sysdeps/sparc/sparc32/alloca.S: Likewise.
24827         * sysdeps/unix/i386/sysdep.S: Likewise.
24828         * sysdeps/unix/sparc/start.c: Likewise.
24829         * sysdeps/unix/sparc/sysdep.S: Likewise.
24830         * sysdeps/unix/sparc/sysdep.h: Likewise.
24831         * sysdeps/unix/start.c: Likewise.
24832         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24833         * sysdeps/x86_64/sysdep.h: Likewise.
24835 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
24837         [BZ #13553]
24838         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24839         for non-gcc.
24840         * argp/argp-fmtstream.h: Use const instead __const.
24841         * argp/argp.h: Likewise.
24842         * assert/assert.h: Likewise.
24843         * bits/fenv.h: Likewise.
24844         * bits/sched.h: Likewise.
24845         * bits/sigset.h: Likewise.
24846         * bits/sigthread.h: Likewise.
24847         * catgets/nl_types.h: Likewise.
24848         * conform/data/pthread.h-data: Likewise.
24849         * crypt/crypt-private.h: Likewise.
24850         * crypt/crypt.h: Likewise.
24851         * crypt/crypt_util.c: Likewise.
24852         * ctype/ctype.h: Likewise.
24853         * debug/execinfo.h: Likewise.
24854         * debug/mbsnrtowcs_chk.c: Likewise.
24855         * debug/mbsrtowcs_chk.c: Likewise.
24856         * debug/wcsnrtombs_chk.c: Likewise.
24857         * debug/wcsrtombs_chk.c: Likewise.
24858         * debug/wcstombs_chk.c: Likewise.
24859         * dirent/dirent.h: Likewise.
24860         * dlfcn/dlfcn.h: Likewise.
24861         * elf/neededtest4.c: Likewise.
24862         * grp/grp.h: Likewise.
24863         * gshadow/gshadow.h: Likewise.
24864         * iconv/gconv.h: Likewise.
24865         * iconv/gconv_int.h: Likewise.
24866         * iconv/gconv_simple.c: Likewise.
24867         * iconv/iconv.h: Likewise.
24868         * iconv/loop.c: Likewise.
24869         * iconv/skeleton.c: Likewise.
24870         * include/aio.h: Likewise.
24871         * include/aliases.h: Likewise.
24872         * include/argz.h: Likewise.
24873         * include/arpa/inet.h: Likewise.
24874         * include/assert.h: Likewise.
24875         * include/dirent.h: Likewise.
24876         * include/dlfcn.h: Likewise.
24877         * include/execinfo.h: Likewise.
24878         * include/fcntl.h: Likewise.
24879         * include/fenv.h: Likewise.
24880         * include/glob.h: Likewise.
24881         * include/grp.h: Likewise.
24882         * include/libintl.h: Likewise.
24883         * include/mntent.h: Likewise.
24884         * include/netdb.h: Likewise.
24885         * include/pwd.h: Likewise.
24886         * include/rpc/netdb.h: Likewise.
24887         * include/sched.h: Likewise.
24888         * include/search.h: Likewise.
24889         * include/shadow.h: Likewise.
24890         * include/signal.h: Likewise.
24891         * include/stdio.h: Likewise.
24892         * include/stdlib.h: Likewise.
24893         * include/string.h: Likewise.
24894         * include/sys/socket.h: Likewise.
24895         * include/sys/stat.h: Likewise.
24896         * include/sys/statfs.h: Likewise.
24897         * include/sys/statvfs.h: Likewise.
24898         * include/sys/syslog.h: Likewise.
24899         * include/sys/time.h: Likewise.
24900         * include/sys/uio.h: Likewise.
24901         * include/time.h: Likewise.
24902         * include/unistd.h: Likewise.
24903         * include/utmp.h: Likewise.
24904         * include/wchar.h: Likewise.
24905         * include/wctype.h: Likewise.
24906         * inet/aliases.h: Likewise.
24907         * inet/arpa/inet.h: Likewise.
24908         * inet/netinet/ether.h: Likewise.
24909         * inet/netinet/in.h: Likewise.
24910         * intl/libintl.h: Likewise.
24911         * io/bits/fcntl2.h: Likewise.
24912         * io/fcntl.h: Likewise.
24913         * io/ftw.h: Likewise.
24914         * io/sys/poll.h: Likewise.
24915         * io/sys/stat.h: Likewise.
24916         * io/sys/statfs.h: Likewise.
24917         * io/sys/statvfs.h: Likewise.
24918         * io/utime.h: Likewise.
24919         * libio/bits/stdio.h: Likewise.
24920         * libio/bits/stdio2.h: Likewise.
24921         * libio/libio.h: Likewise.
24922         * libio/libioP.h: Likewise.
24923         * libio/stdio.h: Likewise.
24924         * locale/lc-ctype.c: Likewise.
24925         * locale/locale.h: Likewise.
24926         * login/utmp.h: Likewise.
24927         * malloc/arena.c: Likewise.
24928         * malloc/malloc.c: Likewise.
24929         * malloc/malloc.h: Likewise.
24930         * malloc/mcheck.c: Likewise.
24931         * malloc/mtrace.c: Likewise.
24932         * math/bits/mathcalls.h: Likewise.
24933         * math/fenv.h: Likewise.
24934         * math/math_private.h: Likewise.
24935         * misc/bits/error.h: Likewise.
24936         * misc/bits/syslog.h: Likewise.
24937         * misc/err.h: Likewise.
24938         * misc/error.h: Likewise.
24939         * misc/fstab.h: Likewise.
24940         * misc/mntent.h: Likewise.
24941         * misc/regexp.h: Likewise.
24942         * misc/search.h: Likewise.
24943         * misc/sgtty.h: Likewise.
24944         * misc/sys/mman.h: Likewise.
24945         * misc/sys/syslog.h: Likewise.
24946         * misc/sys/uio.h: Likewise.
24947         * misc/sys/xattr.h: Likewise.
24948         * misc/ttyent.h: Likewise.
24949         * nis/rpcsvc/ypclnt.h: Likewise.
24950         * nss/nss.h: Likewise.
24951         * posix/bits/unistd.h: Likewise.
24952         * posix/fnmatch.h: Likewise.
24953         * posix/glob.h: Likewise.
24954         * posix/sched.h: Likewise.
24955         * posix/spawn.h: Likewise.
24956         * posix/sys/wait.h: Likewise.
24957         * posix/unistd.h: Likewise.
24958         * posix/wordexp.h: Likewise.
24959         * pwd/pwd.h: Likewise.
24960         * resolv/netdb.h: Likewise.
24961         * resource/sys/resource.h: Likewise.
24962         * rt/aio.h: Likewise.
24963         * rt/bits/mqueue2.h: Likewise.
24964         * rt/mqueue.h: Likewise.
24965         * shadow/shadow.h: Likewise.
24966         * signal/signal.h: Likewise.
24967         * socket/send.c: Likewise.
24968         * socket/sendto.c: Likewise.
24969         * socket/sys/socket.h: Likewise.
24970         * stdio-common/printf.h: Likewise.
24971         * stdlib/bits/stdlib.h: Likewise.
24972         * stdlib/fmtmsg.h: Likewise.
24973         * stdlib/monetary.h: Likewise.
24974         * stdlib/stdlib.h: Likewise.
24975         * stdlib/ucontext.h: Likewise.
24976         * streams/stropts.h: Likewise.
24977         * string/argz.h: Likewise.
24978         * string/bits/string2.h: Likewise.
24979         * string/string.h: Likewise.
24980         * string/strings.h: Likewise.
24981         * sunrpc/rpc/auth.h: Likewise.
24982         * sunrpc/rpc/auth_des.h: Likewise.
24983         * sunrpc/rpc/clnt.h: Likewise.
24984         * sunrpc/rpc/netdb.h: Likewise.
24985         * sunrpc/rpc/pmap_clnt.h: Likewise.
24986         * sunrpc/rpc/xdr.h: Likewise.
24987         * sysdeps/generic/inttypes.h: Likewise.
24988         * sysdeps/generic/net/if.h: Likewise.
24989         * sysdeps/generic/sys/swap.h: Likewise.
24990         * sysdeps/gnu/net/if.h: Likewise.
24991         * sysdeps/gnu/utmpx.h: Likewise.
24992         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24993         * sysdeps/i386/i486/bits/string.h: Likewise.
24994         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24995         * sysdeps/s390/bits/string.h: Likewise.
24996         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24997         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24998         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24999         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25000         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25001         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25002         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25003         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25004         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25005         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25006         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25007         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25008         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25009         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25010         * sysdeps/unix/sysv/linux/readv.c: Likewise.
25011         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25012         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25013         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25014         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25015         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25016         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25017         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25018         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25019         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25020         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25021         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25022         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25023         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25024         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25025         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25026         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25027         * sysvipc/sys/ipc.h: Likewise.
25028         * sysvipc/sys/msg.h: Likewise.
25029         * sysvipc/sys/sem.h: Likewise.
25030         * sysvipc/sys/shm.h: Likewise.
25031         * termios/termios.h: Likewise.
25032         * time/sys/time.h: Likewise.
25033         * time/time.h: Likewise.
25034         * wcsmbs/bits/wchar2.h: Likewise.
25035         * wcsmbs/uchar.h: Likewise.
25036         * wcsmbs/wchar.h: Likewise.
25037         * wctype/wctype.h: Likewise.
25039         [BZ #13551]
25040         * Makeconfig: Remove all but ELF support including AIX support.
25041         * Makerules: Likewise.
25042         * config.h.in: Likewise.
25043         * config.make.in: Likewise.
25044         * configure: Likewise.
25045         * configure.in: Likewise.
25046         * csu/Makefile: Likewise.
25047         * csu/version.c: Likewise.
25048         * debug/Makefile: Likewise.
25049         * dlfcn/Makefile: Likewise.
25050         * elf/Makefile: Likewise.
25051         * extra-lib.mk: Likewise.
25052         * iconv/Makefile: Likewise.
25053         * include/libc-symbols.h: Likewise.
25054         * include/shlib-compat.h: Likewise.
25055         * resolv/Makefile: Likewise.
25056         * resolv/res_libc.c: Likewise.
25057         * rt/Makefile: Likewise.
25058         * sysdeps/i386/asm-syntax.h: Likewise.
25059         * sysdeps/i386/sysdep.h: Likewise.
25060         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25061         * sysdeps/mach/sysdep.h: Likewise.
25062         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25063         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25064         * sysdeps/s390/asm-syntax.h: Likewise.
25065         * sysdeps/s390/s390-32/sysdep.h: Likewise.
25066         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25067         * sysdeps/sh/sysdep.h: Likewise.
25068         * sysdeps/unix/sparc/sysdep.h: Likewise.
25069         * sysdeps/wordsize-32/divdi3.c: Likewise.
25070         * sysdeps/x86_64/sysdep.h: Likewise.
25072         * argp/Versions: Remove _argp_unlock_xxx.
25074         [BZ #13559]
25075         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
25076         * abilist/libBrokenLocale.abilist: Likewise.
25077         * abilist/libanl.abilist: Likewise.
25078         * abilist/libc.abilist: Likewise.
25079         * abilist/libcrypt.abilist: Likewise.
25080         * abilist/libdl.abilist: Likewise.
25081         * abilist/libm.abilist: Likewise.
25082         * abilist/libnsl.abilist: Likewise.
25083         * abilist/libpthread.abilist: Likewise.
25084         * abilist/libresolv.abilist: Likewise.
25085         * abilist/librt.abilist: Likewise.
25086         * abilist/libthread_db.abilist: Likewise.
25087         * abilist/libutil.abilist: Likewise.
25088         * abilist/libnss_db.abilist: New file.
25090         * scripts/abilist.awk: Add support for indirect functions.
25092         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25094         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25096         * shlib-versions: Remove entries for ports architectures.
25098         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
25099         files in ports.
25100         * elf/stackguard-macros.h: Remove support for IA-64.
25101         * elf/tst-auditmod1.c: Likewise.
25102         * sysdeps/generic/ldsodefs.h: Likewise.
25104         * sysdeps/unix/sysv/linux/configure.in: Ports should define
25105         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25106         configure files.
25108         [BZ #13552]
25109         * configure.in: Remove --enable-omitfp support.
25110         * FAQ.in: Adjust.
25111         * config.make.in: Likewise.
25112         * Makeconfig: Likewise.
25113         * manual/install.texi: Likewise.
25115         In case anyone cares, the IA-64 architecture could move to ports.
25116         * sysdeps/ia64/*: Removed.
25117         * sysdeps/unix/sysv/linux/ia64/*: Removed.
25118         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
25120         [BZ #13555]
25121         * configure.in: Remove entries for unsupported architectures.
25123         [BZ #13533]
25124         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25125         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
25126         routines.
25127         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25128         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25129         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
25130         fall back to using wcrtomb.
25131         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25132         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
25133         renaming.
25134         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25135         * wcsmbs/tst-c16c32-1.c: New file.
25137         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25138         local variable.
25140         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25142         * elf/tst-unique3.cc: Add explicit declaration of gets.
25143         * elf/tst-unique3lib.cc: Likewise.
25144         * elf/tst-unique3lib2.cc: Likewise.
25145         * elf/tst-unique4.cc: Likewise.
25147         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25149 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
25151         [BZ #13566]
25152         * assert/assert.h (static_assert): Don't define for C++.
25153         * libio/stdio.h (gets): Do declare for C++ <= C++11.
25154         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25156 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
25158         * iconv/loop.c (single loop): Fix assertion in storing of
25159         remaining bytes.
25161         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25163 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
25165         * posix/getconf.c: Update copyright year.
25166         * nss/getent.c: Likewise.
25167         * nss/makedb.c: Likewise.
25168         * iconv/iconvconfig.c: Likewise.
25169         * iconv/iconv_prog.c: Likewise.
25170         * elf/ldconfig.c: Likewise.
25171         * elf/pldd.c: Likewise.
25172         * elf/sotruss.ksh: Likewise.
25173         * catgets/gencat.c: Likewise.
25174         * csu/version.c: Likewise.
25175         * elf/ldd.bash.in: Likewise.
25176         * elf/sprof.c (print_version): Likewise.
25177         * locale/programs/locale.c: Likewise.
25178         * locale/programs/localedef.c: Likewise.
25179         * login/programs/pt_chown.c: Likewise.
25180         * nscd/nscd.c (print_version): Likewise.
25181         * debug/xtrace.sh: Likewise.
25182         * malloc/memusage.sh: Likewise.
25183         * malloc/mtrace.pl: Likewise.
25184         * debug/catchsegv.sh: Likewise.
25186 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
25188         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25189         pure attribute.
25191 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
25193         [BZ #13533]
25194         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25195         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25196         transformations.
25197         * iconv/gconv_int.h: Likewise.
25198         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25199         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25200         from libc for GLIBC_2.16.
25201         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25202         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25203         * wcsmbs/uchar.h: Really define mbstate_t.
25204         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25205         * wcsmbs/c16rtomb.c: New file.
25206         * wcsmbs/mbrtoc16.c: New file.
25207         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25208         for C/POSIX locale.
25209         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25210         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25212         * wcsmbs/wchar.h: Add missing __restrict.
25214 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
25216         [BZ #13532]
25217         * time/Makefile (routines): Add timespec_get.
25218         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25219         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
25220         timespec for ISO C11.
25221         * time/timespec_get.c: New file.
25222         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25223         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25225         [BZ #13531]
25226         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25227         * stdlib/stdlib.h: Declare aligned_alloc.
25228         * Versions.def: Add GLIBC_2.16 for libc.
25229         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25231         [BZ 13527]
25232         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25233         ISO C11.
25235         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
25236         code.
25238         [BZ #13528]
25239         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25241         [BZ #13529]
25242         * assert/assert.h (static_assert): Define.
25244         * version.h: Update for 2.16 development version.
25246         [BZ #13526]
25247         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25248         _ISOC11_SOURCE.
25250         * version.h (RELEASE): Bump for 2.15 release.
25251         * include/features.h (__GLIBC_MINOR__): Bump to 15.
25253         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25254         Patch by Marek Polacek <mpolacek@redhat.com>.
25256         * bits/byteswap.h: Protect long long constants with __extension__.
25257         * sysdeps/i386/bits/byteswap.h: Likewise.
25258         * sysdeps/ia64/bits/byteswap.h: Likewise.
25259         * sysdeps/s390/bits/byteswap.h: Likewise.
25260         * sysdeps/x86_64/bits/byteswap.h: Likewise.
25262 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25264         [BZ #13540]
25265         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25266         destination buffer.
25267         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25269 2011-12-23  Marek Polacek  <polacek@redhat.com>
25271         * elf/dl-addr.c (determine_info): Add inline keyword.
25272         * elf/tst-auditmod4b.c (check_avx): Likewise.
25273         * elf/tst-auditmod6b.c (check_avx): Likewise.
25274         * elf/tst-auditmod6c.c (check_avx): Likewise.
25275         * elf/tst-auditmod7b.c (check_avx): Likewise.
25277 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
25279         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25280         !__SSE_MATH__.
25282 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25284         [BZ #13540]
25285         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25286         processing for last bytes.
25288 2011-08-06  Bruno Haible  <bruno@clisp.org>
25290         [BZ #13061]
25291         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25292         U+0385, not to U+1FEE.
25294         [BZ #13062]
25295         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25296         entry for U+00A5 U+0301.
25298 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
25300         [BZ #13166]
25301         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25302         buffer for the output is too small.
25304         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25305         optimization.
25307         [BZ #13185]
25308         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25309         SSE flags if possible.
25311 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25313         [BZ #13540]
25314         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25315         processing for last bytes.
25317 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
25319         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25320         (syscall-list-default-options, syscall-list-default-condition)
25321         (syscall-list-includes): Define.
25322         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25323         list of ABIs and options and #if conditions for each ABI.  Do not
25324         handle common syscalls between ABIs specially.
25325         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25326         Remove.
25327         (syscall-list-variants, syscall-list-32bit-options)
25328         (syscall-list-32bit-condition, syscall-list-64bit-options)
25329         (syscall-list-64bit-condition): Define.
25330         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25331         (syscall-list-variants, syscall-list-32bit-options)
25332         (syscall-list-32bit-condition, syscall-list-64bit-options)
25333         (syscall-list-64bit-condition): Define.
25334         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25335         Remove.
25336         (syscall-list-variants, syscall-list-32bit-options)
25337         (syscall-list-32bit-condition, syscall-list-64bit-options)
25338         (syscall-list-64bit-condition): Define.
25339         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25340         Remove.
25341         (syscall-list-variants, syscall-list-32bit-options)
25342         (syscall-list-32bit-condition, syscall-list-64bit-options)
25343         (syscall-list-64bit-condition): Define.
25345 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
25347         * locale/iso-639.def: Add brx entry.
25349         [BZ #13328]
25350         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25351         Proposed by Mariusz_Cukr <marcukr@op.pl>.
25353         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25354         __feraiseexcept_renamed.
25356 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
25358         [BZ #13538]
25359         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25360         EPOLLET with unsigned values.
25361         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25362         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25364         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25365         to large cancellation.
25366         * math/s_cacoshf.c: Likewise.
25367         * math/s_cacoshl.c: Likewise.
25369 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
25371         [BZ #13305]
25372         [BZ #12786]
25373         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25374         * math/s_cacoshf.c: Likewise.
25375         * math/s_cacoshl.c: Likewise.
25377 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
25379         [BZ #13439]
25380         * iconv/gconv.h: Define __GCONV_SWAP.
25381         * iconvdata/unicode.c: The swap bit must be stored in __flags.
25382         * iconvdata/utf-16.c: Likewise.
25383         * iconvdata/utf-32.c: Likewise.
25385 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
25387         [BZ #13524]
25388         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25389         numerator after shifting it by one limb.
25391 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
25393         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25394         under [__USE_EXTERN_INLINES].
25396 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
25398         [BZ #13446]
25399         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25401 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25403         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25404         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25405         optimized code.
25406         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25407         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25408         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25409         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25410         for strncasecmp/strncasecmp_l compilation.
25411         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25412         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25414 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
25416         [BZ #13484]
25417         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25418         of __asm__.
25420 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
25422         [BZ #13506]
25423         * time/tzfile.c (__tzfile_read): Check values from file header.
25425 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
25427         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25428         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25429         * powerpc/powerpc32/dl-start.S: Likewise.
25430         * powerpc/powerpc32/elf/start.S: Likewise.
25431         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25432         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25433         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25434         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25435         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25436         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25437         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25438         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25439         * powerpc/powerpc32/fpu/s_round.S: Likewise.
25440         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25441         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25442         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25443         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25444         * powerpc/powerpc32/memset.S: Likewise.
25445         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25446         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25447         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25448         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25449         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25450         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25451         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25452         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25453         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25454         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25455         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25456         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25457         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25459 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25461         * math/libm-test.inc: Added more nearbyint tests.
25462         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25463         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25464         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25465         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25467 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
25469         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25470         FD_CLOEXEC.
25472 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25474         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25475         Add wcscpy-ssse3 wcscpy-c.
25476         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25477         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25478         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25479         * sysdeps/x86_64/wcschr.S: New file.
25480         * sysdeps/x86_64/wcsrchr.S: New file.
25481         * string/test-strcmp.c: Remove checking of wcscmp function for
25482         wrong alignments.
25483         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25484         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25485         wcsrchr-sse2 wcsrchr-c.
25486         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25487         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25488         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25489         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25490         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25491         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25492         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25493         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25494         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25495         * wcsmbc/wcschr.c (WCSCHR): New macro.
25497 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25499         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25500         * wcsmbs/test-wcsrchr.c: New file.
25501         * string/test-strrchr.c: Add wcsrchr support.
25502         (WIDE): New macro.
25503         * wcsmbs/test-wcscpy.c: New file.
25504         * string/test-strcpy.c: Add wcscpy support.
25505         (WIDE): New macro.
25507 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
25509         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25510         the inner loop.
25512 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
25514         [BZ #13472]
25515         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25517 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
25519         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
25520         Minor optimizations.
25522         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25523         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25524         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25526 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
25528         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25529         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25530         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25531         for gcc to avoid warnings.
25532         * inet/Makefile (tests): Add tst-checks.
25533         * inet/tst-checks.c: New file.
25535         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25536         warning.
25538         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25539         __wmemcmp_sse2.
25541         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25542         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25544         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25546 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
25548         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25549         problem.
25551         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25553 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
25555         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25556         conditional on GCC version.
25557         (__arch_compare_and_exchange_val_8_acq)
25558         (__arch_compare_and_exchange_val_16_acq)
25559         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25560         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25561         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25563 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
25565         * sysdeps/sh/backtrace.c: New file.
25567 2011-12-02  Andreas Schwab  <schwab@redhat.com>
25569         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
25570         parenthesis.
25572 2011-12-01  Andreas Schwab  <schwab@redhat.com>
25574         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25575         falling back to utime.
25577 2011-11-30  Andreas Schwab  <schwab@redhat.com>
25579         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25580         expectations for float.
25582 2011-11-29  Andreas Schwab  <schwab@redhat.com>
25584         * locale/weight.h (findidx): Add parameter len.
25585         * locale/weightwc.h (findidx): Likewise.
25586         * posix/fnmatch_loop.c (FCT): Adjust caller.
25587         * posix/regcomp.c (build_equiv_class): Likewise.
25588         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25589         * posix/regexec.c (check_node_accept_bytes): Likewise.
25590         * string/strcoll_l.c (STRCOLL): Likewise.
25591         * string/strxfrm_l.c (STRXFRM): Likewise.
25593 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
25595         * Makefile.in: Remove CVSOPT handling.
25596         * configure.in: Remove use of AC_REVISION.
25597         * iconvdata/Makefile (distribute): No need to filter out CVS.
25598         * scripts/list-sources.sh: Remove CVS, subversion and monotone
25599         handling.
25601 2011-11-16  Andreas Schwab  <schwab@redhat.com>
25603         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25604         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25605         [USE_AS_STRNCASECMP_L]: Likewise.
25606         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25607         NO_TLS_DIRECT_SEG_REFS.
25608         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25609         Fix argument offsets for non-PIC.
25610         [USE_AS_STRNCASECMP_L]: Likewise.
25611         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25612         NO_TLS_DIRECT_SEG_REFS.
25614 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
25616         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
25617         O_CLOEXEC.
25618         * locale/loadlocale.c (_nl_load_locale): Likewise.
25620 2011-11-15  Andreas Schwab  <schwab@redhat.com>
25622         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25623         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25624         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25625         (SYSCALL_GETTIME): Set errno on error.
25627         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25628         count references to noai6ai_cached.
25630 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
25632         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25634         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25635         FD_CLOEXEC for /proc/self/maps.
25637         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25638         FD_CLOEXEC for /proc/meminfo.
25640         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25641         gai.conf.
25643         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
25644         FD_CLOEXEC for given file.
25646         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25648         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25649         FD_CLOEXEC for /etc/hosts.
25650         (_gethtent): Likewise.
25652         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25654         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25655         cancellation and set FD_CLOEXEC for /etc/netgroup.
25657         * nss/nss_files/files-key.c (search): Don't allow cancellation when
25658         reading /etc/publickey.
25660         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25661         allow cancellation when reading /etc/group.
25663         * nss/nss_files/files-alias.c (internal_setent): Don't allow
25664         cancellation.
25665         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
25667         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25668         when using data file.
25670         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25672         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25673         (write_nis_obj): Use "c" and "e" in fopen.
25675         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25677         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25679         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25681         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25683         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25684         locale.alias.
25686         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25688         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25690         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25692         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25693         file parsing and set FD_CLOEXEC.
25695 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
25697         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25699 2011-11-14  Andreas Schwab  <schwab@redhat.com>
25701         * malloc/arena.c (arena_get2): Don't call reused_arena when
25702         _int_new_arena failed.
25704 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
25706         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25707         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25708         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25709         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25710         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25711         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25712         to compile strcasecmp and strncasecmp.
25713         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25714         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25716         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25718 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
25720         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25721         locale-defines.sym to gen-as-const-headers.
25722         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25723         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25724         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25725         to compile strcasecmp and strncasecmp.
25726         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25727         strcasecmp_l and strncasecmp_l.
25728         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25729         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25730         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25731         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25732         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25733         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25734         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25735         * sysdeps/i386/i686/multiarch/strncase.S: New file.
25736         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25737         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25738         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25740 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
25742         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25743         result of SYSDEP_GETTIME_CPU to retval.
25744         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25745         parameter list to macro.  Remove trailing semicolon.  Adjust users.
25747         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25748         variable.
25750         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25751         mantissa words.
25752         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25754         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25755         from unused variable.
25757         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25758         DWARF definitions.
25759         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25760         for assembling.
25762         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25763         over namespaces.
25765         * sunrpc/rpc_prot.c (rejected): Fix case value.
25767         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25768         unsigned long long int to avoid warnings in shift.
25770         * posix/regex_internal.c (re_string_reconstruct): Actually use result
25771         of use of trans.
25772         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25773         variable tmp.
25775         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25776         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25777         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25779         * nis/nis_table.c (nis_list): Use variable of correct type for
25780         result of __follow_path call.
25782 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25784         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25785         of math functions ceil, trunc, floor, round, and sqrt, when
25786         avaliable on the platform.
25787         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25788         name clash.
25789         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25790         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25791         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25793 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
25795         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25796         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25798 2011-11-11  Roland McGrath  <roland@hack.frob.com>
25800         * include/unistd.h: Fix __readlink return type.
25801         Reported by Chris Metcalf <cmetcalf@tilera.com>.
25803 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
25805         * stdlib/ucontext.h: Undo last change for makecontext.
25807 2011-11-11  Andreas Schwab  <schwab@redhat.com>
25809         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25811         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25812         * setjmp/setjmp.h: Mark functions as non-leaf.
25813         * setjmp/bits/setjmp2.h: Likewise.
25814         * stdlib/ucontext.h: Likewise.
25816 2011-11-10  Andreas Schwab  <schwab@redhat.com>
25818         * malloc/arena.c (_int_new_arena): Don't increment narenas.
25819         (reused_arena): Don't check arena limit.
25820         (arena_get2): Atomically check arena limit.
25822 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
25824         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25825         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25827         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25828         instructions.
25830 2011-11-07  Andreas Schwab  <schwab@redhat.com>
25832         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25833         handler when locking.
25835         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25836         Fix size of allocated buffer.
25838 2011-11-04  Andreas Schwab  <schwab@redhat.com>
25840         [BZ #10103]
25841         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25842         declarations for long double functions.
25843         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25845         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25847 2011-11-03  Andreas Schwab  <schwab@redhat.com>
25849         * nscd/nscd.c (main): Don't start AVC thread until credentials are
25850         installed.
25852         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25853         is disabled.
25855 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25857         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25859 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25861         * include/alloca.h (stackinfo_alloca_round): Define.
25862         (extend_alloca): Use it.
25863         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25864         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25865         here.
25867         * scripts/check-local-headers.sh: Ignore libaudit.h.
25869         * nscd/Makefile (extra-objs): Make recursively expanded.
25871 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
25873         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25874         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25876         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25877         * posix/tst-rfc3484-2.c: Likewise.
25878         * posix/tst-rfc3484-3.c: Likewise.
25880         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25881         process_vm_writev.
25882         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25883         process_vm_writev.
25884         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25885         process_vm_writev from libc using GLIBC_2.15 version.
25887         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25889 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
25891         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25892         stack usage.
25894 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
25896         [BZ #13367]
25897         * nss/getent.c (initgroups_keys): Show error message in case no group
25898         names are given.
25900         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25901         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25902         __bump_nl_timestamp.
25903         * nscd/connections (nscd_init): When host database is served open
25904         netlink socket and request notification about configuration changes.
25905         (main_loop_poll): Track netlink file descriptor and bump timestamp
25906         in case data becomes available.
25907         (main_loop_epoll): Likewise.
25908         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25909         (database_pers_head): Add extra_data fileds.
25910         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25911         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25912         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25913         Adjust caller.
25914         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25915         in6ai data, call __free_in6ai.
25916         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25917         Add -DHAVE_NETLINK.
25918         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
25919         interface information.  Reuse previous data if netlink timestamp
25920         is not changed.
25921         (__bump_nl_timestamp): New function.
25922         (__free_in6ai): New function.
25924 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
25926         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25927         close_not_cancel_no_status here.
25928         (__check_pf): Reorganize code a bit to not call close twice if OOM.
25930 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
25932         [BZ #13276]
25933         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25934         return value.
25936         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
25937         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25938         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25940 2011-07-03  Andreas Jaeger  <aj@suse.de>
25942         [BZ #10709]
25943         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25944         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25945         * math/libm-test.inc (sin_test): Add test case.
25947 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
25949         [BZ #13337]
25950         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25951         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25953         * elf/chroot_canon.c (chroot_canon): Cleanups.
25955         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25957         [BZ #13335]
25958         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25959         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25961         * string/test-strchr.c: Make usable for strchrnul testing.
25962         * string/test-strchrnul.c: New file.
25963         * string/Makefile (strop-tests): Add strchrnul.
25965         * po/it.po: Update from translation team.
25966         * po/es.po: Likewise.
25968 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
25970         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25971         the three constants needed as parameters.  Drop the others.
25972         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25973         __m128i_strloadu_tolower.
25974         Create and initialize variable zero and use it in all the places
25975         where _mm_setzero_si128 was used.
25977         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25978         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25979         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25980         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25981         anymore.
25982         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25983         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25984         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25985         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25986         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25987         __mpranred, __mptan.
25988         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25989         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25990         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25991         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25992         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25993         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25994         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25995         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25996         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25998 2011-10-28  Andreas Schwab  <schwab@redhat.com>
26000         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26001         redefine if SHARED.
26002         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26004         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26005         wide char related routines to wcsmbs subdir.
26007 2011-10-27  Andreas Schwab  <schwab@redhat.com>
26009         [BZ #13344]
26010         * misc/sys/cdefs.h (__THROWNL): Define.
26011         * posix/unistd.h: Use __THREADNL instead of __THREAD
26012         for memory synchronization functions.
26014 2011-10-26  Roland McGrath  <roland@hack.frob.com>
26016         [BZ #13349]
26017         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26018         doesn't exist.
26019         * manual/stdio.texi (Obstack Streams): Node removed.
26021 2011-10-26  Andreas Schwab  <schwab@redhat.com>
26023         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26024         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26025         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26027         * math/math_private.h (math_force_eval): Allow non-addressable
26028         arguments.
26029         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26031 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
26033         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26034         file is not needed.
26036         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26037         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26038         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26039         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26040         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26041         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26042         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26043         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26044         Add AVX variants.
26045         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26046         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26047         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26048         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26049         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26050         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26051         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26052         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26053         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26054         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26055         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26056         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26057         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26058         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26059         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26060         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26061         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26062         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26063         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26065         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26066         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
26068         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26069         place.  Use VEX encoding when compiling for AVX.
26071 2011-10-25  Andreas Schwab  <schwab@redhat.com>
26073         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26074         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26076         * string/test-strchr.c (do_test): Don't generate NUL bytes.
26078 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
26080         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
26081         useless if() expression.
26082         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26083         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26084         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26085         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26086         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26087         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26088         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26089         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26090         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26091         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26092         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26093         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26094         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26095         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26096         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26097         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26098         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26099         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26100         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26102         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26104 2011-10-25  Andreas Schwab  <schwab@redhat.com>
26106         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26107         condition.
26108         * elf/dl-fini.c (_dl_sort_fini): Likewise.
26110 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
26112         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26113         .text section.  Avoid duplicate constants.
26114         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26115         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26116         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26117         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26118         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26119         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26120         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26121         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26122         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26123         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26124         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26125         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26126         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26127         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26128         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26129         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26130         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26131         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26132         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26133         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26134         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26135         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26136         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26137         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26138         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26139         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26140         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26141         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26142         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26143         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26144         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26145         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26146         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26147         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26148         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26149         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26150         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26151         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26152         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26153         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26154         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26155         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26156         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26157         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26158         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26160 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
26162         * sysdeps/x86_64/dla.h: Move to ...
26163         * sysdeps/x86_64/fpu/dla.h: ...here.
26164         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26165         situations.  Use __builtin_fma only for gcc 4.6 and up.
26167         * config.make.in: Add have-mfma4 entry.
26168         * configure.in: Substitute libc_cv_cc_fma4.
26169         * math/Makefile (dbl-only-routines): Add sincostab.
26170         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26171         Use __sincostab not sincos.
26172         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26173         name is a macro.
26174         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26175         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26176         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26177         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
26178         using __copysign.
26179         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
26180         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
26181         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26182         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26183         and __inv.
26184         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26185         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26186         __copysign.
26187         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
26188         define aliases when function name is a macro.
26189         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26190         sysdeps/ieee754/dbl-64/sincos.tbl.
26191         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26192         fma4-enabled routines.
26193         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26194         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26195         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26196         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26197         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26198         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26199         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26200         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26201         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26202         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26203         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26204         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26205         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26206         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26207         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26208         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26209         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26210         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26211         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26212         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26213         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26214         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26215         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26216         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26217         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26218         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26219         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26220         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26221         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26222         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26224         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26225         rename.
26226         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26227         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26228         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26229         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26230         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26231         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26232         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26233         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26235 2011-10-24  Andreas Schwab  <schwab@redhat.com>
26237         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26239 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
26241         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26243         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26244         prediction.
26245         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26247         * string/strnlen.c: Don't define STRNLEN, reverse logic.
26248         Remove unused variable magic_bits.
26249         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26251         * string/strnlen.c: Define and use STRNLEN macro.
26252         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26253         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26254         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26255         * wcsmbs/wcslen.c: Define and use WCSLEN.
26256         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26257         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26258         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26259         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26260         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26261         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26262         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26264 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26266         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26267         strnlen-sse2-no-bsf.
26268         Rename strlen-no-bsf to strlen-sse2-no-bsf.
26269         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26270         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26271         Add strnlen support.
26272         (USE_AS_STRNLEN): New macro.
26273         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26274         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26275         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26276         * sysdeps/x86_64/wcslen.S: New file.
26278 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
26280         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26281         XMM-moves are used for copying on small sizes.
26283 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26285         * wcsmbs/Makefile (strop-tests): Add wcschr.
26286         * wcsmbs/test-wcschr.c: New file.
26287         * string/test-strchr.c: Update.
26288         Add wcschr support.
26289         (WIDE): New macro.
26291 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26293         * wcsmbs/Makefile (strop-tests): Add wcslen.
26294         * wcsmbs/test-wcslen.c: New file.
26295         * string/test-strlen.c: Update.
26296         Add wcslen support.
26297         (WIDE): New macro.
26299 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
26301         * po/it.po: Update from translation team.
26303 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26305         * sysdeps/x86_64/wcscmp.S: Update.
26306         Fix wrong comparison semantics.
26307         wcscmp shall use signed comparison not unsigned.
26308         Don't use substraction to avoid overflow bug.
26309         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26310         * wcsmbc/wcscmp.c: Likewise.
26311         * string/test-strcmp.c: Likewise.
26312         Add new tests to check cases with negative values.
26314 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
26316         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26317         * sysdeps/x86_64/dla.h: ...here.  New file.
26318         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26319         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26320         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26321         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26322         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26323         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26324         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26325         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26326         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26328 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
26330         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26331         __ynl_finite aliases.
26333 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
26335         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26337         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26338         define DLA_FMA.
26339         [DLA_FMA] (EMULV): Use DLA_FMA.
26340         [DLA_FMA] (MUL12): Use EMULV.
26341         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26342         that are not needed.
26343         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26344         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26345         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26346         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26347         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26348         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26349         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26351 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
26353         * math/s_nan.c: Undef __nan.
26354         * math/s_nanf.c: Undef __nanf.
26355         * math/s_nanl.c: Undef __nanl.
26356         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26357         "math_private.h".
26359 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
26361         * math/s_catan.c: Add branch predictions.
26362         * math/s_catanf.c: Likewise.
26363         * math/s_catanh.c: Likewise.
26364         * math/s_catanhf.c: Likewise.
26365         * math/s_catanhl.c: Likewise.
26366         * math/s_catanl.c: Likewise.
26367         * math/s_cexp.c: Likewise.
26368         * math/s_cexpf.c: Likewise.
26369         * math/s_cexpl.c: Likewise.
26370         * math/s_clog.c: Likewise.
26371         * math/s_clog10.c: Likewise.
26372         * math/s_clog10f.c: Likewise.
26373         * math/s_clog10l.c: Likewise.
26374         * math/s_clogf.c: Likewise.
26375         * math/s_clogl.c: Likewise.
26376         * math/s_csqrt.c: Likewise.
26377         * math/s_csqrtf.c: Likewise.
26378         * math/s_csqrtl.c: Likewise.
26379         * math/s_ctanf.c: Likewise.
26380         * math/s_ctanh.c: Likewise.
26381         * math/s_ctanhf.c: Likewise.
26382         * math/s_ctanhl.c: Likewise.
26383         * math/s_ctanl.c: Likewise.
26385         * math/math_private.h: Define __nan, __nanf, __nanl.
26386         * math/s_cacosh.c: Include <math_private.h>.
26387         * math/s_cacoshl.c: Likewise.
26388         * math/s_casinh.c: Likewise.
26389         * math/s_casinhf.c: Likewise.
26390         * math/s_casinhl.c: Likewise.
26391         * math/s_ccos.c: Rely entire on ccosh.
26392         * math/s_ccosf.c: Rely entire on ccoshf.
26393         * math/s_ccosl.c: Rely entirely on ccoshl.
26394         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
26395         Remove tests for FE_INVALID.
26396         * math/s_ccoshf.c: Likewise.
26397         * math/s_ccoshl.c: Likewise.
26398         * math/s_csin.c: Likewise.
26399         * math/s_csinf.c: Likewise.
26400         * math/s_csinh.c Likewise.
26401         * math/s_csinhf.c: Likewise.
26402         * math/s_csinhl.c: Likewise.
26403         * math/s_csinl.c: Likewise.
26404         * math/s_ctan.c: Likewise.
26405         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26406         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26407         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26409 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
26411         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26412         compilation problems.
26414         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26415         __builtin_expect.
26417 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
26419         * sysdeps/i386/configure.in: Test for -mfma4 option.
26420         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26421         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26422         COMMON_CPUID_INDEX_80000001.
26423         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26424         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26425         use it if FMA3 is not supported.
26426         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26428         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26429         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26431 2011-10-20  Andreas Schwab  <schwab@redhat.com>
26433         [BZ #12892]
26434         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26435         it would create a cycle with a link time dependency.
26437 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
26439         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26440         instruction.
26441         * string/Makefile (strop-tests): Add rawmemchr.
26442         * string/test-rawmemchr.c: New file.
26444         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26445         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
26446         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
26447         when compiling str{,n}casecmp and when AVX is available.  Hook up
26448         new optimized code in initializers.
26450 2011-10-19  Andreas Schwab  <schwab@redhat.com>
26452         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26453         __feraiseexcept instead of feraiseexcept.
26455 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
26457         * math/math_private.h: Define defaults for libc_fetestexcept and
26458         libc_feupdateenv.
26459         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26460         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26461         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26462         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26463         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26464         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26465         libc_fetestexcept and libc_feupdateenv.
26467         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26468         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26469         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26470         * sysdeps/x86_64/fpu/math_private.h: Define special version of
26471         libc_feholdexcept_setround.
26473         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26474         Add s_nearbyint-c and s_nearbyintf-c.
26475         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26476         nearbyintf inlines.
26477         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26478         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26479         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26480         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26482         * math/math_private.h: Define defaults for libc_fegetround,
26483         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26484         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26485         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26486         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26487         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26488         standard functions.
26489         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26490         Remove comments and hacks for old compiler versions.
26491         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26492         libc_fegetround, libc_fesetround, libc_feholdexcept, and
26493         libc_feholdexceptl.
26495 2011-10-18  Andreas Schwab  <schwab@redhat.com>
26497         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
26498         (__feraiseexcept_renamed): Add __NTH.
26499         (feraiseexcept): Add __NTH.  Rename local variables to fix
26500         namespace violations.
26502 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
26504         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26506         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26508         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26509         recently added interfaces.
26510         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26512         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26513         about macro parameter expansion.
26515         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26516         __NO_MATH_INLINES is defined.  Cleanups.
26518         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26519         and __floorf is target has SSE4.1.
26520         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26521         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26522         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26523         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26525         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26526         name.
26527         (floorf): Likewise.
26529         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26531 2011-10-17  Andreas Schwab  <schwab@redhat.com>
26533         * misc/sys/cdefs.h: Fix last change.
26535         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26536         database lookup.
26538 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
26540         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26542         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26543         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26544         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26545         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26546         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26547         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26548         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26549         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26550         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26551         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26552         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26553         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26554         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26555         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26556         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26557         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26558         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26559         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26560         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26561         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26562         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26563         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26565         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26566         ceil, ceilf, floor, floorf.
26568         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26569         Perform IRELATIVE relocations last.
26571         * elf/do-rel.h: Add another parameter nrelative, replacing the
26572         local variable with the same name.  Change name of the function
26573         to end in Rel or Rela (uppercase).
26574         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26575         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
26576         elf_dynamic_do_##reloc function.
26578 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
26580         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26581         is sufficient, at least on modern CPUs.
26583         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26585         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26586         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26588         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26589         __expl_finite.
26590         * math/bits/math-finite.h: Add entries for exp.
26591         * math/e_expl.c: Add __*_finite alias.
26592         * sysdeps/i386/fpu/e_exp.S: Likewise.
26593         * sysdeps/i386/fpu/e_expf.S: Likewise.
26594         * sysdeps/i386/fpu/e_expl.c: Likewise.
26595         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26596         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26597         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26598         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26599         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26600         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26601         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26603         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26604         is sufficient, at least on modern CPUs.
26606         * ctype/ctype-info.c (__ctype_init): Define.
26607         * include/ctype.h (__ctype_init): Declare.
26608         (__ctype_b_loc): The variable is always initialized.
26609         (__ctype_toupper_loc): Likewise.
26610         (__ctype_tolower_loc): Likewise.
26611         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26612         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26614 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
26616         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26618         * configure.in: Also look in $cxxmachine/include for C++ system
26619         headers.
26621 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26623         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26624         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26625         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26626         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
26627         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26628         (USE_AS_WMEMCMP): New macro.
26629         Fixing indents.
26630         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26631         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26632         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26633         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26634         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26635         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26636         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26637         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26638         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26639         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26640         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26641         (USE_AS_WMEMCMP): New macro.
26642         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26643         * sysdeps/string/test-memcmp.c: Update.
26644         Fix simple_wmemcmp.
26645         Add new tests.
26646         * wcsmbs/wmemcmp.c: Update.
26647         (WMEMCMP): New macro.
26648         Fix overflow bug.
26650 2011-10-12  Andreas Jaeger  <aj@suse.de>
26652         [BZ #13268]
26653         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26655 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
26657         * libio/iofwide.c (do_length): Avoid warning.
26659         * ctype/ctype.h (__isctype_f): Add missing __THROW.
26661 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
26663         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26665         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26666         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26667         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26668         * sysdeps/i386/i686/fpu/e_log.S: New file.
26669         * sysdeps/i386/i686/fpu/e_logf.S: New file.
26670         * sysdeps/i386/i686/fpu/e_logl.S: New file.
26672         * ctype/ctype.h: Add support for inlined isXXX functions when
26673         compiling C++ code.
26675 2011-10-14  Andreas Schwab  <schwab@redhat.com>
26677         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26679         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26681 2011-10-13  Roland McGrath  <roland@hack.frob.com>
26683         [BZ #13291]
26684         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26686 2011-10-13  Andreas Schwab  <schwab@redhat.com>
26688         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26689         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26690         feraiseexcept.
26692         * sysdeps/x86_64/memrchr.S: Check for zero size.
26694         * string/stratcliff.c: Add memrchr tests.
26696 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26698         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26699         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26700         rawmemchr-sse2 rawmemchr-sse2-bsf.
26701         * sysdeps/i386/i686/multiarch/memchr.S: New file.
26702         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26703         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26704         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26705         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26706         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26707         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26708         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26709         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26710         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26711         * string/memrchr.c (MEMRCHR): New macro.
26713 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
26715         Add integration with gcc's -ffinite-math-only and optimize wrapper
26716         functions in libm.
26717         * Versions.def: Define GLIBC_2.15 version for libm.
26718         * math/Makefile (headers): Add bits/math-finite.h.
26719         * math/bits/math-finite.h: New file.
26720         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26721         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26722         * math/e_acoshl.c: Add __*_finite alias.
26723         * math/e_acosl.c: Likewise.
26724         * math/e_asinl.c: Likewise.
26725         * math/e_atan2l.c: Likewise.
26726         * math/e_atanhl.c: Likewise.
26727         * math/e_coshl.c: Likewise.
26728         * math/e_exp10.c: Likewise.
26729         * math/e_exp10f.c: Likewise.
26730         * math/e_exp10l.c: Likewise.
26731         * math/e_exp2l.c: Likewise.
26732         * math/e_fmodl.c: Likewise.
26733         * math/e_gammal_r.c: Likewise.
26734         * math/e_hypotl.c: Likewise.
26735         * math/e_j0l.c: Likewise.
26736         * math/e_j1l.c: Likewise.
26737         * math/e_jnl.c: Likewise.
26738         * math/e_lgammal_r.c: Likewise.
26739         * math/e_log10l.c: Likewise.
26740         * math/e_log2l.c: Likewise.
26741         * math/e_logl.c: Likewise.
26742         * math/e_powl.c: Likewise.
26743         * math/e_sinhl.c: Likewise.
26744         * math/e_sqrtl.c: Likewise.
26745         * math/e_scalb.c: Completely rewritten and optimized.
26746         * math/e_scalbf.c: Likewise.
26747         * math/e_scalbl.c: Likewise.
26748         * math/w_acos.c: Likewise.
26749         * math/w_acosf.c: Likewise.
26750         * math/w_acosl.c: Likewise.
26751         * math/w_acosh.c: Likewise.
26752         * math/w_acoshf.c: Likewise.
26753         * math/w_acoshl.c: Likewise.
26754         * math/w_asin.c: Likewise.
26755         * math/w_asinf.c: Likewise.
26756         * math/w_asinl.c: Likewise.
26757         * math/w_atan2.c: Likewise.
26758         * math/w_atan2f.c: Likewise.
26759         * math/w_atan2l.c: Likewise.
26760         * math/w_atanh.c: Likewise.
26761         * math/w_atanhf.c: Likewise.
26762         * math/w_atanhl.c: Likewise.
26763         * math/w_exp10.c: Likewise.
26764         * math/w_exp10f.c: Likewise.
26765         * math/w_exp10l.c: Likewise.
26766         * math/w_fmod.c: Likewise.
26767         * math/w_fmodf.c: Likewise.
26768         * math/w_fmodl.c: Likewise.
26769         * math/w_j0.c: Likewise.
26770         * math/w_j0f.c: Likewise.
26771         * math/w_j0l.c: Likewise.
26772         * math/w_j1.c: Likewise.
26773         * math/w_j1f.c: Likewise.
26774         * math/w_j1l.c: Likewise.
26775         * math/w_jn.c: Likewise.
26776         * math/w_jnf.c: Likewise.
26777         * math/w_log.c: Likewise.
26778         * math/w_logf.c: Likewise.
26779         * math/w_logl.c: Likewise.
26780         * math/w_log10.c: Likewise.
26781         * math/w_log10f.c: Likewise.
26782         * math/w_log10l.c: Likewise.
26783         * math/w_log2.c: Likewise.
26784         * math/w_log2f.c: Likewise.
26785         * math/w_log2l.c: Likewise.
26786         * math/w_pow.c: Likewise.
26787         * math/w_powf.c: Likewise.
26788         * math/w_powl.c: Likewise.
26789         * math/w_remainder.c: Likewise.
26790         * math/w_remainderf.c: Likewise.
26791         * math/w_remainderl.c: Likewise.
26792         * math/w_scalb.c: Likewise.
26793         * math/w_scalbf.c: Likewise.
26794         * math/w_scalbl.c: Likewise.
26795         * math/w_sqrt.c: Likewise.
26796         * math/w_sqrtf.c: Likewise.
26797         * math/w_sqrtl.c: Likewise.
26798         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26799         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
26800         used.
26801         * math/math_private.h: Declare __kernel_standard_f.
26802         * math/w_cosh.c: Remove cruft and optimize a bit.
26803         * math/w_coshf.c: Likewise.
26804         * math/w_coshl.c: Likewise.
26805         * math/w_exp2.c: Likewise.
26806         * math/w_exp2f.c: Likewise.
26807         * math/w_exp2l.c: Likewise.
26808         * math/w_hypot.c: Likewise.
26809         * math/w_hypotf.c: Likewise.
26810         * math/w_hypotl.c: Likewise.
26811         * math/w_lgamma.c: Likewise.
26812         * math/w_lgamma_r.c: Likewise.
26813         * math/w_lgammaf.c: Likewise.
26814         * math/w_lgammaf_r.c: Likewise.
26815         * math/w_lgammal.c: Likewise.
26816         * math/w_lgammal_r.c: Likewise.
26817         * math/w_sinh.c: Likewise.
26818         * math/w_sinhf.c: Likewise.
26819         * math/w_sinhl.c: Likewise.
26820         * math/w_tgamma.c: Likewise.
26821         * math/w_tgammaf.c: Likewise.
26822         * math/w_tgammal.c: Likewise.
26823         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26824         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26825         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26826         Minor optimizations.  Pretty printing.  Remove cruft.
26827         * sysdeps/i386/fpu/e_acosf.S: Likewise.
26828         * sysdeps/i386/fpu/e_acosh.S: Likewise.
26829         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26830         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26831         * sysdeps/i386/fpu/e_acosl.c: Likewise.
26832         * sysdeps/i386/fpu/e_asin.S: Likewise.
26833         * sysdeps/i386/fpu/e_asinf.S: Likewise.
26834         * sysdeps/i386/fpu/e_atan2.S: Likewise.
26835         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26836         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26837         * sysdeps/i386/fpu/e_atanh.S: Likewise.
26838         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26839         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26840         * sysdeps/i386/fpu/e_exp10.S: Likewise.
26841         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26842         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26843         * sysdeps/i386/fpu/e_exp2.S: Likewise.
26844         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26845         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26846         * sysdeps/i386/fpu/e_fmod.S: Likewise.
26847         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26848         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26849         * sysdeps/i386/fpu/e_hypot.S: Likewise.
26850         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26851         * sysdeps/i386/fpu/e_log.S: Likewise.
26852         * sysdeps/i386/fpu/e_log10.S: Likewise.
26853         * sysdeps/i386/fpu/e_log10f.S: Likewise.
26854         * sysdeps/i386/fpu/e_log10l.S: Likewise.
26855         * sysdeps/i386/fpu/e_log2.S: Likewise.
26856         * sysdeps/i386/fpu/e_log2f.S: Likewise.
26857         * sysdeps/i386/fpu/e_log2l.S: Likewise.
26858         * sysdeps/i386/fpu/e_logf.S: Likewise.
26859         * sysdeps/i386/fpu/e_logl.S: Likewise.
26860         * sysdeps/i386/fpu/e_pow.S: Likewise.
26861         * sysdeps/i386/fpu/e_powf.S: Likewise.
26862         * sysdeps/i386/fpu/e_powl.S: Likewise.
26863         * sysdeps/i386/fpu/e_remainder.S: Likewise.
26864         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26865         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26866         * sysdeps/i386/fpu/e_scalb.S: Likewise.
26867         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26868         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26869         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26870         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26871         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26872         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26873         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26874         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26875         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26876         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26877         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26878         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26879         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26880         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26881         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26882         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26883         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26884         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26885         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26886         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26887         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26888         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26889         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26890         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26891         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26892         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26893         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26894         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26895         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26896         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26897         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26898         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26899         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26900         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26901         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26902         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26903         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26904         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26905         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26906         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26907         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26908         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26909         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26910         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26911         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26912         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26913         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26914         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26915         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26916         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26917         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26918         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26919         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26920         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26921         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26922         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26923         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26924         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26925         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26926         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26927         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26928         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26929         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26930         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26931         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26932         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26933         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26934         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26935         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26936         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26937         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26938         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26939         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26940         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26941         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26942         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26943         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26944         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26945         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26946         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26947         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26948         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26949         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26950         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26951         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26952         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26953         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26954         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26955         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26956         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26957         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26958         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26959         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26960         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26961         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26962         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26963         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26964         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26965         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26966         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26967         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26968         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26969         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26970         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26971         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26972         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26973         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26974         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26975         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26976         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26977         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26978         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26979         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26980         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26981         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26982         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
26983         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26984         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26985         (__isnanf): Likewise.
26986         (__isinf_ns): Likewise.
26987         (__isinf_nsf): Likewise.
26988         (__finite): Likewise.
26989         (__finitef): Likewise.
26990         (__ieee754_sqrt): Define as macro.
26991         (__ieee754_sqrtf): Define as macro.
26992         (__ieee754_sqrtl): Define as macro.
26993         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26994         inlined copy.
26995         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26996         __FINITE_MATH_ONLY__ consistent.
26997         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26999 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
27001         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27002         of rawmemchr.
27004         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27006 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
27008         * po/ja.po: Update from translation team.
27010 2011-10-08  Roland McGrath  <roland@hack.frob.com>
27012         * locale/programs/locarchive.c (prepare_address_space): New function.
27013         (create_archive, enlarge_archive, open_archive): Use it.
27015         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27016         inside [SHARED], where it is used.
27018         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27020         * nss/getent.c (netgroup_keys): Remove unused variable.
27021         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27023 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
27025         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27026         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27027         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27028         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27029         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27030         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27031         * math/Makefile (libm-calls): Add s_isinf_ns.
27032         * math/divtc3.c: Use __isinf_nsl instead of isinf.
27033         * math/multc3.c: Likewise.
27034         * math/s_casin.c: Likewise.
27035         * math/s_casinf.c: Likewise.
27036         * math/s_casinl.c: Likewise.
27037         * math/s_ccos.c: Likewise.
27038         * math/s_ccosf.c: Likewise.
27039         * math/s_ccosl.c: Likewise.
27040         * math/s_ctan.c: Likewise.
27041         * math/s_ctanf.c: Likewise.
27042         * math/s_ctanh.c: Likewise.
27043         * math/s_ctanhf.c: Likewise.
27044         * math/s_ctanhl.c: Likewise.
27045         * math/s_ctanl.c: Likewise.
27046         * math/w_fmod.c: Likewise.
27047         * math/w_fmodf.c: Likewise.
27048         * math/w_fmodl.c: Likewise.
27049         * math/w_remainder.c: Likewise.
27050         * math/w_remainderf.c: Likewise.
27051         * math/w_remainderl.c: Likewise.
27052         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27053         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27054         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27055         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27056         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27057         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27058         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27059         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27061         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27062         of the number.
27063         * stdio-common/printf_fphex.c: Likewise.
27064         * stdio-common/printf_size.c: Likewise.
27066         * math/e_exp10.c: Include math_private.h using <...> not "...".
27067         * math/e_exp10f.c: Likewise.
27068         * math/e_exp10l.c: Likewise.
27069         * math/e_exp2l.c: Likewise.
27070         * math/e_j0l.c: Likewise.
27071         * math/e_j1l.c: Likewise.
27072         * math/e_jnl.c: Likewise.
27073         * math/e_lgammal_r.c: Likewise.
27074         * math/e_rem_pio2l.c: Likewise.
27075         * math/e_scalb.c: Likewise.
27076         * math/e_scalbf.c: Likewise.
27077         * math/e_scalbl.c: Likewise.
27078         * math/k_cosl.c: Likewise.
27079         * math/k_sinl.c: Likewise.
27080         * math/k_tanl.c: Likewise.
27081         * math/s_cacoshf.c: Likewise.
27082         * math/s_catan.c: Likewise.
27083         * math/s_catanf.c: Likewise.
27084         * math/s_catanh.c: Likewise.
27085         * math/s_catanhf.c: Likewise.
27086         * math/s_catanhl.c: Likewise.
27087         * math/s_catanl.c: Likewise.
27088         * math/s_ccosh.c: Likewise.
27089         * math/s_ccoshf.c: Likewise.
27090         * math/s_ccoshl.c: Likewise.
27091         * math/s_cexp.c: Likewise.
27092         * math/s_cexpf.c: Likewise.
27093         * math/s_cexpl.c: Likewise.
27094         * math/s_clog.c: Likewise.
27095         * math/s_clog10.c: Likewise.
27096         * math/s_clog10f.c: Likewise.
27097         * math/s_clog10l.c: Likewise.
27098         * math/s_clogf.c: Likewise.
27099         * math/s_clogl.c: Likewise.
27100         * math/s_csin.c: Likewise.
27101         * math/s_csinf.c: Likewise.
27102         * math/s_csinh.c: Likewise.
27103         * math/s_csinhf.c: Likewise.
27104         * math/s_csinhl.c: Likewise.
27105         * math/s_csinl.c: Likewise.
27106         * math/s_csqrt.c: Likewise.
27107         * math/s_csqrtf.c: Likewise.
27108         * math/s_csqrtl.c: Likewise.
27109         * math/s_ctan.c: Likewise.
27110         * math/s_ctanf.c: Likewise.
27111         * math/s_ctanh.c: Likewise.
27112         * math/s_ctanhf.c: Likewise.
27113         * math/s_ctanhl.c: Likewise.
27114         * math/s_ctanl.c: Likewise.
27115         * math/s_ldexp.c: Likewise.
27116         * math/s_ldexpf.c: Likewise.
27117         * math/s_ldexpl.c: Likewise.
27118         * math/s_significand.c: Likewise.
27119         * math/s_significandf.c: Likewise.
27120         * math/s_significandl.c: Likewise.
27121         * math/w_acos.c: Likewise.
27122         * math/w_acosf.c: Likewise.
27123         * math/w_acosh.c: Likewise.
27124         * math/w_acoshf.c: Likewise.
27125         * math/w_acoshl.c: Likewise.
27126         * math/w_acosl.c: Likewise.
27127         * math/w_asin.c: Likewise.
27128         * math/w_asinf.c: Likewise.
27129         * math/w_asinl.c: Likewise.
27130         * math/w_atan2.c: Likewise.
27131         * math/w_atan2f.c: Likewise.
27132         * math/w_atan2l.c: Likewise.
27133         * math/w_atanh.c: Likewise.
27134         * math/w_atanhf.c: Likewise.
27135         * math/w_atanhl.c: Likewise.
27136         * math/w_cosh.c: Likewise.
27137         * math/w_coshf.c: Likewise.
27138         * math/w_coshl.c: Likewise.
27139         * math/w_dremf.c: Likewise.
27140         * math/w_exp10.c: Likewise.
27141         * math/w_exp10f.c: Likewise.
27142         * math/w_exp10l.c: Likewise.
27143         * math/w_exp2.c: Likewise.
27144         * math/w_exp2f.c: Likewise.
27145         * math/w_fmod.c: Likewise.
27146         * math/w_fmodf.c: Likewise.
27147         * math/w_fmodl.c: Likewise.
27148         * math/w_hypot.c: Likewise.
27149         * math/w_hypotf.c: Likewise.
27150         * math/w_hypotl.c: Likewise.
27151         * math/w_j0.c: Likewise.
27152         * math/w_j0f.c: Likewise.
27153         * math/w_j0l.c: Likewise.
27154         * math/w_j1.c: Likewise.
27155         * math/w_j1f.c: Likewise.
27156         * math/w_j1l.c: Likewise.
27157         * math/w_jn.c: Likewise.
27158         * math/w_jnf.c: Likewise.
27159         * math/w_jnl.c: Likewise.
27160         * math/w_lgamma.c: Likewise.
27161         * math/w_lgamma_r.c: Likewise.
27162         * math/w_lgammaf.c: Likewise.
27163         * math/w_lgammaf_r.c: Likewise.
27164         * math/w_lgammal.c: Likewise.
27165         * math/w_lgammal_r.c: Likewise.
27166         * math/w_log.c: Likewise.
27167         * math/w_log10.c: Likewise.
27168         * math/w_log10f.c: Likewise.
27169         * math/w_log10l.c: Likewise.
27170         * math/w_log2.c: Likewise.
27171         * math/w_log2f.c: Likewise.
27172         * math/w_log2l.c: Likewise.
27173         * math/w_logf.c: Likewise.
27174         * math/w_logl.c: Likewise.
27175         * math/w_pow.c: Likewise.
27176         * math/w_powf.c: Likewise.
27177         * math/w_powl.c: Likewise.
27178         * math/w_remainder.c: Likewise.
27179         * math/w_remainderf.c: Likewise.
27180         * math/w_remainderl.c: Likewise.
27181         * math/w_scalb.c: Likewise.
27182         * math/w_scalbf.c: Likewise.
27183         * math/w_scalbl.c: Likewise.
27184         * math/w_sinh.c: Likewise.
27185         * math/w_sinhf.c: Likewise.
27186         * math/w_sinhl.c: Likewise.
27187         * math/w_sqrt.c: Likewise.
27188         * math/w_sqrtf.c: Likewise.
27189         * math/w_sqrtl.c: Likewise.
27190         * math/w_tgamma.c: Likewise.
27191         * math/w_tgammaf.c: Likewise.
27192         * math/w_tgammal.c: Likewise.
27194         * po/ja.po: Update from translation team.
27196 2011-09-29  Andreas Jaeger  <aj@suse.de>
27198         [BZ #13179]
27199         * sunrpc/netname.c (netname2host): Fix logic.
27201         [BZ #6779]
27202         [BZ #6783]
27203         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27204         correctly.
27205         * math/w_remainder.c (__remainder): Likewise.
27206         * math/w_remainderf.c (__remainderf): Likewise.
27207         * math/libm-test.inc (remainder_test): Add test cases.
27209 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27211         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
27212         sdiv_qrnnd.
27214 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
27216         * string/test-memcmp.c: Avoid unncessary #defines.
27217         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27219 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27221         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27222         Use new sse2 version for core i3 - i7 as it's faster
27223         than sse42 version.
27224         (bit_Prefer_PMINUB_for_stringop): New.
27225         * sysdeps/x86_64/rawmemchr.S: Update.
27226         Replace with faster SSE2 version.
27227         * sysdeps/x86_64/memrchr.S: New file.
27228         * sysdeps/x86_64/memchr.S: Update.
27229         Replace with faster SSE2 version.
27231 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
27233         * elf/dl-load.c (lose): Add cast to avoid warning.
27235 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
27237         * po/ca.po: Update from translation team.
27239         * inet/getnetgrent_r.c: Hook up nscd.
27240         * nscd/Makefile (routines): Add nscd_netgroup.
27241         (nscd-modules): Add netgroupcache.
27242         (CFLAGS-netgroupcache.c): Define.
27243         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27244         (cache_search): Add const to second parameter.
27245         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27246         INNETGR.
27247         (dbs): Add netgrdb entry.
27248         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27249         (verify_persistent_db): Handle netgrdb.
27250         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27251         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27252         GETFDNETGR.
27253         (netgroup_response_header): Define.
27254         (innetgroup_response_header): Define.
27255         (datahead): Add netgroup_response_header and innetgroup_response_header
27256         elements.
27257         * nscd/nscd.conf: Add entries for netgroup cache.
27258         * nscd/nscd.h (dbtype): Add netgrdb.
27259         (_PATH_NSCD_NETGROUP_DB): Define.
27260         (netgroup_iov_disabled): Declare.
27261         (xmalloc, xcalloc, xrealloc): Move declarations here.
27262         (cache_search): Adjust prototype.
27263         Add netgroup-related prototypes.
27264         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27265         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27266         (__nscd_innetgr): Declare.
27267         * nscd/selinux.c (perms): Use access_vector_t as element type and
27268         add netgroup-related initializers.
27269         * nscd/netgroupcache.c: New file.
27270         * nscd/nscd_netgroup.c: New file.
27271         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27272         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27273         For four parameters use innetgr.
27274         * nss/nss_files/files-init.c: Add definition and callback for netgr.
27275         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27276         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27277         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27279         * nscd/connections.c (register_traced_file): Don't register file
27280         for disabled databases.
27282 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
27284         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27286         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27287         from tree and freeing node.
27289 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
27291         * nss/nsswitch.c (__nss_database_lookup): Handle
27292         nss_parse_service_list out of memory case.
27294 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
27296         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27297         out of memory case.
27299 2011-10-04  Andreas Schwab  <schwab@redhat.com>
27301         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27302         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27303         pass it down.
27304         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27305         elf_machine_rela, elf_machine_lazy_rel.
27306         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27307         (ELF_DYNAMIC_DO_REL): Likewise.
27308         (ELF_DYNAMIC_DO_RELA): Likewise.
27309         (ELF_DYNAMIC_RELOCATE): Likewise.
27310         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27311         to ELF_DYNAMIC_DO_REL.
27312         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27313         (dl_main): In trace mode always set __RTLD_NOIFUNC.
27314         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27315         elf_machine_rela.
27316         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27317         skip_ifunc, don't call ifunc function if non-zero.
27318         (elf_machine_rela): Likewise.
27319         (elf_machine_lazy_rel): Likewise.
27320         (elf_machine_lazy_rela): Likewise.
27321         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27322         (elf_machine_lazy_rel): Likewise.
27323         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27324         Likewise.
27325         (elf_machine_lazy_rel): Likewise.
27326         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27327         Likewise.
27328         (elf_machine_lazy_rel): Likewise.
27329         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27330         (elf_machine_lazy_rel): Likewise.
27331         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27332         (elf_machine_lazy_rel): Likewise.
27333         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27334         (elf_machine_lazy_rel): Likewise.
27335         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27336         (elf_machine_lazy_rel): Likewise.
27337         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27338         (elf_machine_lazy_rel): Likewise.
27339         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27340         (elf_machine_lazy_rel): Likewise.
27342 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
27344         * nss/nss_files/files-init.c (_nss_files_init): Use static
27345         initialization for all the *_traced_file variables.
27347 2011-09-28  Andreas Schwab  <schwab@redhat.com>
27349         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27351 2011-09-27  Roland McGrath  <roland@hack.frob.com>
27353         [BZ #13226]
27354         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27356 2011-09-27  Andreas Schwab  <schwab@redhat.com>
27358         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27359         Reread the line before reparsing it.
27361 2011-09-26  Andreas Schwab  <schwab@redhat.com>
27363         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27365 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
27366             Maxim Kuvyrkov  <maxim@codesourcery.com>
27367             Joseph Myers  <joseph@codesourcery.com>
27369         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27370         if needed for __stack_chk_guard.
27372 2011-09-19  Roland McGrath  <roland@hack.frob.com>
27374         * sysdeps/posix/spawni.c (script_execute): Always define it.
27375         It will be optimized away if unused.
27376         (maybe_script_execute): New function.
27377         (__spawni): Call it.
27379         * Makerules: Don't include tls.make.
27380         (config-tls): Always set to thread.
27381         * tls.make.c: File removed.
27383 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
27385         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27386         * config.make.in (CPPFLAGS-config): New substituted variable.
27388 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
27390         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27392         [BZ #13192]
27393         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27394         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27396 2011-09-15  Roland McGrath  <roland@hack.frob.com>
27398         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27399         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27400         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27401         (CALL_FAIL): Likewise.
27402         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27403         (CALL_FAIL): Macro removed.
27404         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27406 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
27408         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27409         for __FINITE_MATH_ONLY__ == 1.
27411 2011-09-15  Andreas Schwab  <schwab@redhat.com>
27413         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27414         __ieee754_sqrt instead of sqrt.
27415         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27416         __ieee754_sqrtf instead of sqrtf.
27417         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27418         __floorf instead of floorf.
27419         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27420         __floorf, __truncf instead of floorf, truncf.
27422 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
27424         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27426         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27427         __extern_always_inline.
27428         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27429         32-bit.
27431 2011-09-14  Andreas Schwab  <schwab@redhat.com>
27433         * elf/rtld.c (dl_main): Also relocate in dependency order when
27434         doing symbol dependency testing.
27436 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
27438         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27439         Always define `refsym'.
27441 2011-09-13  Andreas Schwab  <schwab@redhat.com>
27443         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27444         (__FD_ELT): Renamed from __FDELT.
27445         * misc/bits/select2.h (__FD_ELT): Likewise.
27446         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27447         __FD_MASK instead of __FDELT, __FDMASK.
27448         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27449         Likewise.
27450         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27451         Likewise.
27453         * elf/Makefile (gen-ldd): Fix pattern.
27455         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27456         (init_tls): Likewise.
27458 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
27460         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27462 2011-09-12  Andreas Schwab  <schwab@redhat.com>
27464         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27465         `struct cmsghdr *' instead of `void *'.
27466         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27467         Likewise.
27469 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
27471         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27472         if non-absolute.
27473         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27474         ldd_rewrite_script.
27476 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
27478         * configure.in: Remove --with-tls option.
27479         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27480         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27481         out in case it is missing.
27482         * sysdeps/ia64/elf/configure.in: Likewise.
27483         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27484         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27485         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27486         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27487         * sysdeps/sh/elf/configure.in: Likewise.
27488         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27489         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27490         * sysdeps/x86_64/elf/configure.in: Likewise.
27491         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27492         * sysdeps/mach/hurd/tls.h: Likewise.
27494         [BZ #13067]
27495         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27497         [BZ #13090]
27498         * configure.in: Fix use of AC_INIT.
27500         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27502 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
27504         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27505         __set_errno.
27506         * malloc/hooks.c: Likewise.
27508         [BZ #11929]
27509         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
27510         variables statically.
27511         (narenas): Initialize.
27512         (list_lock): Initialize.
27513         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
27514         initializtion of main_arena and list_lock.  Small cleanups.
27515         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27516         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
27517         Add initializers to main_arena and mp_.
27518         (malloc_state): Remove pagesize member.  Change all users to use
27519         GLRO(dl_pagesize).
27521         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27522         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
27523         is always initialized.
27525         * malloc/malloc.c: Removed unused configurations and dead code.
27526         * malloc/arena.c: Likewise.
27527         * malloc/hooks.c: Likewise.
27528         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
27530         * include/tls.h: Removed.  USE___THREAD must always be defined.
27531         * bits/libc-tsd.h: Don't handle !USE___THREAD.
27532         * elf/dl-libc.c: Likewise.
27533         * elf/dl-tsd.c: Likewise.
27534         * include/errno.h: Likewise.
27535         * include/netdb.h: Likewise.
27536         * include/resolv.h: Likewise.
27537         * inet/herrno-loc.c: Likewise.
27538         * inet/herrno.c: Likewise.
27539         * malloc/arena.c: Likewise.
27540         * malloc/hooks.c: Likewise.
27541         * malloc/malloc.c: Likewise.
27542         * resolv/res-state.c: Likewise.
27543         * resolv/res_libc.c: Likewise.
27544         * sysdeps/i386/dl-machine.h: Likewise.
27545         * sysdeps/ia64/dl-machine.h: Likewise.
27546         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27547         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27548         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27549         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27550         * sysdeps/sh/dl-machine.h: Likewise.
27551         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27552         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27553         * sysdeps/unix/i386/sysdep.S: Likewise.
27554         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27555         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27556         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27557         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27558         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27559         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27560         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27561         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27562         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27563         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27564         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27565         * sysdeps/x86_64/dl-machine.h: Likewise.
27566         * tls.make.c: Likewise.
27568         * configure.in: Remove --with-__thread option.  Make tests for
27569         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27570         tls_model attribute fail if no support is available.  Remove
27571         USE_IN_LIBIO.
27572         * Makeconfig: Adjust for dropped configure option.  All features are
27573         now mandatory.
27574         * Makerules: Likewise.
27575         * Versions.def: Likewise.
27576         * argp/argp-fmtstream.c: Likewise.
27577         * argp/argp-fmtstream.h: Likewise.
27578         * argp/argp-help.c: Likewise.
27579         * assert/assert.c: Likewise.
27580         * config.h.in: Likewise.
27581         * config.make.in: Likewise.
27582         * configure: Likewise.
27583         * configure.in: Likewise.
27584         * csu/Versions: Likewise.
27585         * csu/init.c: Likewise.
27586         * elf/tst-audit2.c: Likewise.
27587         * elf/tst-tls10.c: Likewise.
27588         * elf/tst-tls10.h: Likewise.
27589         * elf/tst-tls11.c: Likewise.
27590         * elf/tst-tls12.c: Likewise.
27591         * elf/tst-tls14.c: Likewise.
27592         * elf/tst-tlsmod11.c: Likewise.
27593         * elf/tst-tlsmod12.c: Likewise.
27594         * elf/tst-tlsmod13.c: Likewise.
27595         * elf/tst-tlsmod13a.c: Likewise.
27596         * elf/tst-tlsmod14a.c: Likewise.
27597         * elf/tst-tlsmod15b.c: Likewise.
27598         * elf/tst-tlsmod16a.c: Likewise.
27599         * elf/tst-tlsmod16b.c: Likewise.
27600         * elf/tst-tlsmod7.c: Likewise.
27601         * elf/tst-tlsmod8.c: Likewise.
27602         * elf/tst-tlsmod9.c: Likewise.
27603         * gmon/gmon.c: Likewise.
27604         * grp/fgetgrent_r.c: Likewise.
27605         * grp/putgrent.c: Likewise.
27606         * hurd/fopenport.c: Likewise.
27607         * include/libc-symbols.h: Likewise.
27608         * include/tls.h: Likewise.
27609         * intl/gettextP.h: Likewise.
27610         * intl/loadinfo.h: Likewise.
27611         * locale/global-locale.c: Likewise.
27612         * locale/localeinfo.h: Likewise.
27613         * mach/devstream.c: Likewise.
27614         * malloc/arena.c: Likewise.
27615         * malloc/set-freeres.c: Likewise.
27616         * misc/err.c: Likewise.
27617         * misc/getttyent.c: Likewise.
27618         * misc/mntent_r.c: Likewise.
27619         * posix/getopt.c: Likewise.
27620         * posix/wordexp.c: Likewise.
27621         * pwd/fgetpwent_r.c: Likewise.
27622         * resolv/Versions: Likewise.
27623         * resolv/res_hconf.c: Likewise.
27624         * shadow/fgetspent_r.c: Likewise.
27625         * shadow/putspent.c: Likewise.
27626         * stdio-common/printf_fphex.c: Likewise.
27627         * stdio-common/tmpfile.c: Likewise.
27628         * stdlib/abort.c: Likewise.
27629         * stdlib/fmtmsg.c: Likewise.
27630         * sunrpc/auth_unix.c: Likewise.
27631         * sunrpc/clnt_perr.c: Likewise.
27632         * sunrpc/clnt_tcp.c: Likewise.
27633         * sunrpc/clnt_udp.c: Likewise.
27634         * sunrpc/clnt_unix.c: Likewise.
27635         * sunrpc/openchild.c: Likewise.
27636         * sunrpc/svc_simple.c: Likewise.
27637         * sunrpc/svc_tcp.c: Likewise.
27638         * sunrpc/svc_udp.c: Likewise.
27639         * sunrpc/svc_unix.c: Likewise.
27640         * sunrpc/xdr.c: Likewise.
27641         * sunrpc/xdr_array.c: Likewise.
27642         * sunrpc/xdr_rec.c: Likewise.
27643         * sunrpc/xdr_ref.c: Likewise.
27644         * sunrpc/xdr_stdio.c: Likewise.
27646 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
27648         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27650 2011-07-03  Andreas Jaeger  <aj@suse.de>
27652         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27653         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27654         regenerate with gen-libm-tests.pl.
27656 2010-05-12  Petr Baudis  <pasky@suse.cz>
27658         [BZ #11589]
27659         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27660         around j0() zero points by switching to j1().
27661         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27662         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27663         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27664         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27666 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
27668         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27669         instead of 0.
27670         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
27671         instead of 0.
27672         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27673         Patch in part by Pavel Roskin <proski@gnu.org>.
27675         [BZ #13138]
27676         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27677         realloc.
27678         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
27679         Free memory block if necessary.
27681         [BZ #12847]
27682         * libio/genops.c (INTDEF): For string streams the _lock pointer can
27683         be NULL.  Don't lock in this case.
27685 2011-09-09  Roland McGrath  <roland@hack.frob.com>
27687         * elf/elf.h (ELFOSABI_GNU): New macro.
27688         (ELFOSABI_LINUX): Define to that.
27690 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
27692         * string/strncat.c (strncat): Undef the symbol in case it has been
27693         defined in bits/string.h.
27695 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
27697         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27699         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
27700         link map.
27702 2011-08-17  Andreas Jaeger  <aj@suse.de>
27704         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27706 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
27707             Ian Lance Taylor  <iant@google.com>
27709         * math/libm-test.inc (lround_test): New testcase.
27710         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27712 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
27714         * Makefile: Remove support for automatic cvs check-ins.
27715         * Makerules: Likewise.
27716         * config.make.in: Likewise.
27717         * configure.in: Likewise.
27718         * intl/Makefile: Likewise.
27719         * locale/Makefile: Likewise.
27720         * po/Makefile: Likewise.
27721         * posix/Makefile: Likewise.
27722         * sysdeps/gnu/Makefile: Likewise.
27723         * sysdeps/mach/hurd/Makefile: Likewise.
27724         * sysdeps/sparc/sparc32/Makefile: Likewise.
27726         [BZ #13118]
27727         * posix/Makefile (bug-regex32-ENV): Define.
27728         Patch by John Stanley <jpsinthemix@verizon.net>.
27730         * misc/Makefile (headers): Add bits/select2.h.
27731         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27732         * misc/bits/select2.h: New file.
27733         * include/bits/select2.h: New file.
27734         * debug/Makefile (routines): Add fdelt_chk.
27735         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27736         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27737         FD_ISSET.
27738         * debug/fdelt_chk.c: New file.
27740         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
27741         * wcsmbs/test-wmemcmp.c: Likewise.
27742         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
27743         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
27745 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27747         * string/Makefile (strop-tests): Add memcmp.
27748         * string/test-wmemcmp.c: New file.
27749         * string/test-memcmp.c: Add wmemcmp support.
27751 2011-09-08  Roland McGrath  <roland@hack.frob.com>
27753         [BZ #13153]
27754         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27755         2011-07-19 change.
27757         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27758         garbage value in a __mach_port_mod_refs call in the cases of the
27759         task-self and thread-self ports.
27761 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27763         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27765 2011-09-08  Andreas Schwab  <schwab@redhat.com>
27767         * elf/dl-load.c (lose): Check for non-null L.
27769 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
27771         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27773         * elf/dl-libc.c (dlerror_run): Pass back error code from
27774         dl_catch_error.
27776         [BZ #13123]
27777         * elf/dl-load.c (lose): Free l_origin if it is valid.
27779         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27780         names.
27781         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27782         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27783         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27784         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27785         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27786         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27788 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27790         * sysdeps/powerpc/fpu/e_hypot.c: New file.
27791         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27792         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27793         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27794         * sysdeps/powerpc/fpu/k_cosf.c: New file.
27795         * sysdeps/powerpc/fpu/k_sinf.c: New file.
27796         * sysdeps/powerpc/fpu/s_cosf.c: New file.
27797         * sysdeps/powerpc/fpu/s_sinf.c: New file.
27798         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27799         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27801 2011-08-15  Alan Modra  <amodra@gmail.com>
27803         [BZ #13092]
27804         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27805         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27806         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
27807         ppc_mcount to static-only-routines.
27808         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27809         __mcount_internal.
27810         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27811         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
27813 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
27815         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27816         for finite and infinity parameters.
27818 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
27820         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27821         and add nop instructions for throughput optimization.
27822         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27824 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
27826         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27827         aligned copy for power7 with vector-scalar instructions.
27828         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27830 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
27832         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27833         AVX check.
27835 2011-09-07  Andreas Schwab  <schwab@redhat.com>
27837         [BZ #13144]
27838         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27839         last change.
27841 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
27843         * sysdeps/unix/sysv/linux/x86_64/init-first.c
27844         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27845         syscall wrapper around clock_gettime in __vdso_clock_gettime.
27846         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27847         clock_gettime.
27849 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
27851         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27852         Forgot to demangle the pointer.
27854         * sysdeps/i386/sysdep.h: Define atom_text_section.
27855         * sysdeps/x86_64/sysdep.h: Likewise.
27856         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27857         section with atom_text_section.
27858         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27859         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27860         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27861         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27862         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27864         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27865         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27866         already be defined.  Change to take two parameters and don't assign
27867         result to variable.  Adjust all users.
27868         Define INTERNAL_GETTIME if not already defined.
27869         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27870         call.
27871         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27872         HAVE_CLOCK_GETTIME_VSYSCALL.
27873         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27875         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27876         gettimeofday vsyscall, just use time.
27878 2011-09-06  Andreas Schwab  <schwab@redhat.com>
27880         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27881         <errno.h>.
27883 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
27885         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27886         syscall on x86-64.
27887         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27888         syscall.
27889         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27890         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27891         syscall if possible.
27893 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
27895         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27896         e_ident.  Don't pass to find_mapsXX.
27897         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27899 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27901         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27902         strchr-sse2-no-bsf strrchr-sse2-no-bsf
27903         * sysdeps/x86_64/multiarch/strchr.S: Update.
27904         Check bit_slow_BSF bit.
27905         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27906         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27907         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27909 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
27911         [BZ #13134]
27912         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27913         before glibc 2.15.
27914         (tryshell): Define.
27915         (__spawni): Change last parameter to be flag.  Test
27916         SPAWN_XFLAGS_USE_PATH flag to use path or not.
27917         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27918         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27919         * posix/spawni.c: Likewise.
27920         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27921         * posix/spawnp.c: Likewise.  Change normal version to use
27922         SPAWN_XFLAGS_USE_PATH.
27923         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27924         SPAWN_XFLAGS_TRY_SHELL.
27926         [BZ #13150]
27927         * posix/glob.h: Remove gcc 1.x support.
27929         [BZ #13068]
27930         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27932 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27934         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27935         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27936         strrchr-sse2-bsf
27937         * sysdeps/i386/i686/multiarch/strchr.S: New file.
27938         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27939         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27940         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27941         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27942         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27944 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27946         * sysdeps/x86_64/wcscmp.S: New file.
27948         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27949         wcscmp-c wcscmp-sse2
27950         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27951         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27952         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27953         * wcsmbs/wcscmp.c: Allow renaming.
27955 2011-09-05  David S. Miller  <davem@davemloft.net>
27957         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27958         stack slot, rather than the struct return pointer slot.
27959         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27960         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27961         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27962         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27964 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
27966         * po/ja.po: Update from translation team.
27968         [BZ #13144]
27969         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27970         kernel in 64-bit binaries.
27972 2011-09-01  David S. Miller  <davem@davemloft.net>
27974         * elf/elf.h (HWCAP_SPARC_*): Move to..
27975         * sysdeps/sparc/sysdep.h: this new file and add new values.
27976         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27977         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27978         _DL_HWCAP_COUNT to 24.
27979         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27980         entries.
27981         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27982         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27983         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27984         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27985         instead of magic constants.
27986         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27988 2011-08-31  David S. Miller  <davem@davemloft.net>
27990         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27991         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27992         Reimplement to do errno handling inline.
27993         (SYSCALL_ERROR_HANDLER): New macro.
27994         (__SYSCALL_STRING): Do not do errno handling in asm.
27995         (__CLONE_SYSCALL_STRING): Delete.
27996         (__INTERNAL_SYSCALL_STRING): Delete.
27997         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27998         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27999         (PSEUDO): Reimplement to do errno handling inline.
28000         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28001         (SYSCALL_ERROR_HANDLER): New macro.
28002         (__SYSCALL_STRING): Do not do errno handling in asm.
28003         (__CLONE_SYSCALL_STRING): Delete.
28004         (__INTERNAL_SYSCALL_STRING): Delete.
28005         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28006         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28007         i386.
28008         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28009         (inline_syscall*): Add 'err' argument.
28010         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28011         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28012         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28013         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28015         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28016         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28018 2011-08-30  Andreas Schwab  <schwab@redhat.com>
28020         * elf/rtld.c (dl_main): Relocate objects in dependency order.
28022 2011-08-29  Jiri Olsa <jolsa@redhat.com>
28024         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28025         directive.
28027 2011-08-24  David S. Miller  <davem@davemloft.net>
28029         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28031 2011-08-24  Andreas Schwab  <schwab@redhat.com>
28033         * elf/Makefile: Add rules to build and run unload8 test.
28034         * elf/unload8.c: New file.
28035         * elf/unload8mod1.c: New file.
28036         * elf/unload8mod1x.c: New file.
28037         * elf/unload8mod2.c: New file.
28038         * elf/unload8mod3.c: New file.
28040         * elf/dl-close.c (_dl_close_worker): Reset private search list if
28041         it wasn't used.
28043 2011-08-23  David S. Miller  <davem@davemloft.net>
28045         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28046         subtract stack bias.
28047         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28048         %sp not %fp in calculations.
28049         (_JMPBUF_UNWINDS_ADJ): Likewise.
28051         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28052         (aio_suspend): Call it to force an exception region around the
28053         AIO_MISC_WAIT() invocation.
28055 2011-08-23  Andreas Schwab  <schwab@redhat.com>
28057         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28058         backslash.
28060 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
28062         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28063         protection macro.
28064         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28065         and <dl-machine.h>.
28066         (Elf64_FuncDesc): Remove.
28068 2011-08-22  David S. Miller  <davem@davemloft.net>
28070         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28071         sigaltstack check, add missing cfi directives.
28072         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28073         missing cfi directives, and sigaltstack handling.
28075 2011-08-16  Andreas Schwab  <schwab@redhat.com>
28077         [BZ #11724]
28078         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28079         object is seen twice.
28080         * elf/dl-fini.c (_dl_sort_fini): Likewise.
28082         * elf/Makefile (distribute): Add tst-initorder2.c.
28083         (tests): Add tst-initorder2.
28084         (modules-names): Add tst-initorder2a tst-initorder2b
28085         tst-initorder2c tst-initorder2d.  Add rules to build them.
28086         ($(objpfx)tst-initorder2.out): New rule.
28087         * elf/tst-initorder2.c: New file.
28088         * elf/tst-initorder2.exp: New file.
28090 2011-08-22  Andreas Schwab  <schwab@redhat.com>
28092         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28094         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28095         dependencies back to end of function.
28097         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28098         $(elfobjdir)/ld.so.
28100 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
28102         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28103         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28104         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28105         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28106         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28107         of __vdso_gettimeofday.
28108         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28109         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
28110         attribute_hidden.
28111         (_libc_vdso_platform_setup): Remove initialization of
28112         __vdso_gettimeofday and __vdso_time.
28114 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
28116         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28117         and fgetc_unlocked.
28118         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28119         getc_unlocked.
28121         * elf/dl-open.c (add_to_global): Report additions to the global scope
28122         for LD_DEBUG=scopes.
28123         (dl_open_worker): Also print scope of newly loaded dependencies.
28124         (_dl_show_scope): Indicate if there is no scope.
28126         [BZ #13114]
28127         * stdio-common/Makefile (tests): Add bug24.
28128         * stdio-common/bug24.c: New file.
28130 2011-08-19  Andreas Jaeger  <aj@suse.de>
28132         [BZ #13114]
28133         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28134         non-existant file when using close-on-exec mode.
28136 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
28138         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28139         the very first instruction.
28141         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28142         the CFI state in the end.
28143         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28144         inclusion of dl-trampoline.h.
28145         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28147 2011-08-19  Andreas Schwab  <schwab@redhat.com>
28149         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28150         expectations for long double.
28152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28153         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28155 2011-08-14  David S. Miller  <davem@davemloft.net>
28157         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28158         artificual limit depends upon the system page size.
28160 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
28162         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28163         * resolv/Makefile: Define CFLAGS-libresolv.
28165 2011-08-17  Andreas Schwab  <schwab@redhat.com>
28167         * nss/makedb.c (compute_tables): Make variables used in nested
28168         function static.
28170 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
28172         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28173         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28174         if buffer was too small.
28176         * elf/pldd.c (main): Attach to all threads in the process.
28177         Rewrite /proc handling to use *at functions.
28179 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
28181         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28182         specifies first scope to show.
28183         (dl_open_worker): Update callers.  Move printing scope of new
28184         object to before the relocation.
28185         * elf/rtld.c (dl_main): Update _dl_show_scope call.
28186         * sysdeps/generic/ldsodefs.h: Update declaration.
28188         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28189         string for the scope number.
28191 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
28193         * nscd/servicescache.c (cache_addserv): Make sure written is always
28194         initialized.
28196 2011-08-14  Roland McGrath  <roland@hack.frob.com>
28198         * sysdeps/i386/i486/bits/atomic.h
28199         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28200         statement expression, so as to suppress "set but not used" warning.
28201         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28203         * string/strncat.c (STRNCAT): Use prototype definition.
28205         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28206         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28207         -Iprograms here.
28208         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28209         (localedef-modules): Add localedef.
28210         (locale-modules): Add locale.
28212         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28213         * elf/rtld.c (dl_main): Invert order of assignment in last change,
28214         to avoid a warning.
28216 2011-08-14  David S. Miller  <davem@davemloft.net>
28218         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28219         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28221 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
28223         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
28224         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28225         * elf/rtld.c (dl_main): Set l_name of vDSO.
28226         Call _dl_show_scope when DL_DEBUG_SCOPES.
28227         (process_dl_debug): Recognize scopes flag and also set it for all.
28228         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28229         Declare _dl_show_scope.
28231         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28232         (do_dlopen): Pass caller_dlopen to dl_open.
28233         (__libc_dlopen_mode): Initialize caller_dlopen.
28235         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28236         of libc.  Make tolower call locale-independent.  Optimize a bit by
28237         using isdigit instead of isalnum.
28238         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28240 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
28242         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28243         was a dependency or dynamically loaded.
28245 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
28247         * intl/l10nflist.c: Allow architecture-specific pop function.
28248         * sysdeps/x86_64/l10nflist.c: New file.
28250         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28251         classification.
28253 2011-08-10  Andreas Schwab  <schwab@redhat.com>
28255         * include/dirent.h: Add libc_hidden_proto for scandirat and
28256         scandirat64.  Don't declare __scandirat64.
28257         * dirent/scandirat.c: Add libc_hidden_def.
28258         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28259         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28261 2011-08-10  David S. Miller  <davem@davemloft.net>
28263         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28264         enum.
28265         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28266         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28267         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28269 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
28271         * Versions.def [libc]: Add GLIBC_2.15.
28272         * dirent/Makefile (routines): Add scandirat and scandirat64.
28273         * dirent/Versions [libc]: Export scandirat and scandirat64 for
28274         GLIBC_2.15.
28275         * dirent/dirent.h: Declare scandirat and scandirat64.
28276         * dirent/scandirat.c: New file.
28277         * dirent/scandirat64.c: New file.
28278         * sysdeps/wordsize-64/scandirat.c: New file.
28279         * sysdeps/wordsize-64/scandirat64.c: New file.
28280         * dirent/opendir.c: Define opendirat.
28281         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
28282         using scandirat.
28283         * dirent/scandir64.c: Adjust for scandir.c change.
28284         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
28285         __scandirat64, and __scandir_cancel_handler.
28286         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
28287         additional parameter and use openat instead of open (outside of ld.so).
28288         Add new __opendir as wrapper around __opendirat.
28289         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28290         here without requiring old scandirat implementation.
28292 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
28294         * dirent/scandir.c (cancel_handler): Renamed to
28295         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
28296         defined.  Adjust users.
28297         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28298         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28300 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
28302         * string/test-string.h (IMPL): Use __STRING to expand name and then
28303         stringify it.
28305         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
28306         of cleanups.
28308 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28310         * string/Makefile: Update.
28311         (strop-tests): Append strncat.
28312         * string/test-wcscmp.c: New file.
28313         New comprehensive test for wcscmp.
28314         * string/test-strcmp.c: Update.
28315         (WIDE): New define.
28317 2011-07-22  Andreas Schwab  <schwab@redhat.com>
28319         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28320         line.
28322 2011-07-26  Andreas Schwab  <schwab@redhat.com>
28324         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28325         encoding to ACE if AI_IDN.
28327 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
28329         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28330         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28332 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28334         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28335         Fix overflow bug in strncat.
28336         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28338         * string/test-strncat.c: Update.
28339         Add new tests for checking overflow bugs.
28341 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28343         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28344         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28345         * sysdeps/i386/i686/multiarch/strcat.S: New file.
28346         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28347         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28348         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28349         * sysdeps/i386/i686/multiarch/strncat.S: New file.
28350         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28351         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28353         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28354         (USE_AS_STRCAT): Define.
28355         Add strcat and strncat support.
28356         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28358 2011-07-25  Andreas Schwab  <schwab@redhat.com>
28360         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28361         __n bigger than INT_MAX+1.
28362         (__strncmp_g): Likewise.
28364 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
28366         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28367         * libio/stido.h: Likewise.
28369         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28370         (AF_NFC): Define.
28371         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28372         (AF_NFC): Define.
28374         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28375         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28376         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28377         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28378         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28380         [BZ #13021]
28381         * scripts/test-installation.pl: Don't expect libnss_test1 to be
28382         installed.
28384         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28385         typo.
28386         (_dl_x86_64_save_sse): Likewise.
28388 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
28390         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28391         OSXSAVE.
28392         (_dl_x86_64_save_sse): Likewise.
28394         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28396         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28398 2011-07-21  Andreas Schwab  <schwab@redhat.com>
28400         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28401         change.
28402         (_dl_x86_64_save_sse): Use correct AVX check.
28404 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28406         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28407         bug in strncpy/strncat.
28408         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28410 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
28412         * string/tester.c (test_strcat): Add tests for different alignments
28413         of source and destination.
28414         (test_strncat): Likewise.
28416 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
28418         [BZ #12852]
28419         * posix/glob.c (glob): Check passed in values before using them in
28420         expressions to avoid some overflows.
28421         (glob_in_dir): Likewise.
28423         [BZ #13007]
28424         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28425         check for AVX enablement so that we don't crash with old kernels and
28426         new hardware.
28427         * elf/tst-audit4.c: Add same checks here.
28428         * elf/tst-audit6.c: Likewise.
28430         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
28432 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
28434         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28436 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
28438         * po/cs.po: Update from translation team.
28439         * po/bg.po: Likewise.
28441 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
28443         * misc/sys/cdefs.h: Add support for const attribute.
28444         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28445         to gnu_dev_{major,minor,makedev} functions.
28447 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
28449         * intl/dcigettext.c (get_output_charset): Add missing bracket.
28451 2011-07-20  Andreas Schwab  <schwab@redhat.com>
28453         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28454         strlen results.
28456 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28458         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28459         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28460         register in order to avoid conflicts with the soft frame pointer
28461         being held in r11 when necessary.
28462         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28463         (INTERNAL_VSYSCALL_NCS): Likewise.
28465 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
28467         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28468         * elf/dl-fini.c (_dl_fini): Adjust caller.
28469         * elf/dl-close.c (_dl_close_worker): Likewise.
28470         * sysdeps/generic/ldsodefs.h: Adjust declaration.
28472 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
28474         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28475         "aux_cache->nlibs < 0".
28477         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28478         in the reload-count case.
28480 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28482         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28483         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28484         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28485         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28486         * sysdeps/x86_64/multiarch/strcat.S: New file.
28487         * sysdeps/x86_64/multiarch/strncat.S: New file.
28488         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28489         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28490         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28491         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28492         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28493         (USE_AS_STRCAT): Define.
28494         Add strcat and strncat support.
28495         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28496         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28497         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28498         * string/strncat.c: Update.
28499         (USE_AS_STRNCAT): Define.
28500         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28501         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28502         and i7.
28503         * sysdeps/x86_64/multiarch/init-arch.h
28504         (bit_Prefer_PMINUB_for_stringop): New.
28505         (index_Prefer_PMINUB_for_stringop): Likewise.
28506         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28507         bit_Prefer_PMINUB_for_stringop.
28509 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
28511         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28512         buffer64.
28513         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28514         of casting of buffer.
28515         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28516         buffer32 and buffer64.
28517         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28518         writes instead of casting of buffer.
28519         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28520         buffer32.
28521         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28522         casting of buffer.
28524 2011-07-19  Andreas Schwab  <schwab@redhat.com>
28526         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28528 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
28530         * nscd/nscd.c (termination_handler): Don't do anything for a database
28531         if it has not yet been initialized.
28533 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
28535         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28537 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
28539         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28541 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
28543         * po/nl.po: Update from translation team.
28544         * po/sv.po: Likewise.
28546 2011-07-16  Roland McGrath  <roland@hack.frob.com>
28548         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28549         now disallowed by GCC.
28551         * configure.in (use-default-link): Default to yes if a test -shared
28552         link meets our qualifications.
28553         * configure: Regenerated.
28555         * config.make.in (output-format): New variable.
28556         * configure.in: Check for ld --print-output-format support.
28557         * configure: Regenerated.
28558         * Makerules ($(common-objpfx)format.lds)
28559         [$(output-format) != unknown]: Just use $(output-format),
28560         instead of the linker-script munging.
28562 2011-07-14  Roland McGrath  <roland@hack.frob.com>
28564         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28565         of $(common-objpfx)shlib.lds.
28566         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28568         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28569         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28571         * configure.in (-z relro check): Adjust test code to add a large
28572         writable data section after it.
28573         * configure: Regenerated.
28575 2011-07-11  Roland McGrath  <roland@hack.frob.com>
28577         * configure.in (-z relro check): Fix test code to make the variable
28578         truly const.
28579         * configure: Regenerated.
28581 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
28583         * nscd/nscd.h (struct traced_file): Define.
28584         (struct database_dyn): Remove inotify_descr, reset_res, and filename
28585         elements.  Add traced_files.
28586         (inotify_fd): Declare.
28587         (register_traced_file): Declare.
28588         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28589         (inotify_fd): Export.
28590         (resolv_conf_descr): Remove.
28591         (nscd_init): Move inotify descriptor creation to main.
28592         Don't register files for notification here.
28593         (register_traced_file): New function.
28594         (invalidate_cache): Don't use reset_res to determine whether to call
28595         res_init, go through the list of registered files.
28596         (main_loop_poll): The inotify descriptors are now stored in the
28597         structures for the traced files.
28598         (main_loop_epoll): Likewise
28599         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
28600         to __nss_disable_nscd.
28601         * nscd/cache.c (prune_cache): There is no single inotify descriptor
28602         for a database anymore.  Check the records for all the registered
28603         files instead.
28604         * nss/Makefile (libnss_files-routines): Add files-init.
28605         (libnss_db-routines): Add db-init.
28606         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28607         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28608         * nss/nss_db/db-init.c: New file.
28609         * nss/nss_files/files-init.c: New file.
28610         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
28611         __nss_lookup_function.
28612         (__nss_lookup_function): Call nss_load_library.
28613         (nss_load_all_libraries): New function.
28614         (__nss_disable_nscd): Take parameter with callback function for files
28615         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
28616         used for the cached services.
28617         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28618         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28619         options for features to all the files in nscd.
28621         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28623 2011-07-10  Roland McGrath  <roland@hack.frob.com>
28625         * csu/elf-init.c (__libc_csu_init): Comment typo.
28627 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
28629         * po/pl.po: Update from translation team.
28630         * po/ja.po: Likewise.
28631         * po/ru.po: Likewise.
28632         * po/ko.po: Likewise.
28633         * po/fr.po: Likewise.
28635 2011-07-09  Roland McGrath  <roland@hack.frob.com>
28637         * configure.in (.ctors/.dtors header and trailer check):
28638         Use an empirical test on a built program.
28639         * configure: Regenerated.
28641         * configure.in (-z relro check): Use an empirical test on a built DSO.
28642         Detect, but do not require, on ia64.
28643         * configure: Regenerated.
28645         * configure.in (READELF): Find it with AC_CHECK_TOOL.
28646         Update tests that use readelf to use $READELF instead.
28647         * configure: Regenerated.
28649 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
28651         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28652         if the result is not used.
28654 2011-07-05  Andreas Jaeger  <aj@suse.de>
28656         [BZ#9696]
28657         * stdlib/tst-strtod.c: Add testcase.
28659 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
28661         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
28662         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
28663         The latter has a higher limit.  Take additional parameter to pass to
28664         the new function.
28665         (__pathconf): Pass file to __statfs_link_max.
28666         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28667         __statfs_link_max.
28668         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28669         __statfs_link_max.
28671         [BZ #12868]
28672         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28673         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28674         Handle Lustre.
28675         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28676         (__statfs_filesize_max): Likewise.
28677         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28679 2011-07-05  Andreas Jaeger  <aj@suse.de>
28681         * resolv/res_comp.c (dn_skipname): Remove unused variable.
28683 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
28685         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28686         `status' variable.
28687         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28688         Likewise.
28690 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
28692         * Makefile (strop-tests): Add strncat.
28693         * string/test-strncat.c: New file.
28695 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
28697         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28699 2011-06-21  Andreas Jaeger  <aj@suse.de>
28701         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28702         Copy rule from iconvdata/Makefile.
28704 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
28706         [BZ #12922]
28707         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28708         but no long options are defined, just return 'W'.
28710 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
28712         [BZ #9696]
28713         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28715 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
28717         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28718         netgroups to read.
28719         (innetgr): Likewise.
28721 2011-07-05  Roland McGrath  <roland@hack.frob.com>
28723         * config.make.in (install_root): Default to $(DESTDIR).
28725 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
28727         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28729 2011-07-02  Roland McGrath  <roland@hack.frob.com>
28731         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28733         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28734         containing directory rather than embedding absolute directory names.
28736         * scripts/check-local-headers.sh: Rewritten using awk.
28737         Match by word, not by line.  Print error messages for matches.
28738         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28740         * Makerules [shlib-lds-flags empty]:
28741         ($(common-objpfx)libc_pic.opts): New target.
28742         ($(common-objpfx)libc_pic.os.clean): New target.
28743         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28745         * config.make.in (OBJCOPY): New variable.
28746         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28747         * configure: Regenerated.
28749         * config.make.in (use-default-link): New variable.
28750         * configure.in (use_default_link): Grok --with-default-link to set it.
28751         * configure: Regenerated.
28752         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28753         (shlib-lds, shlib-lds-flags): Define to empty.
28755         * Makerules (shlib-lds): New variable.
28756         (shlib-lds-flags): New variable.
28757         (build-shlib, build-moduile, build-module-asneeded): Use it.
28758         ($(common-objpfx)libc.so): Use $(shlib-lds).
28759         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28760         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28762         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28763         DT_FLAGS/DT_FLAGS_1 with zero flags.
28765         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28766         linker script munging.
28768 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
28770         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28771         as 128-bit value.
28772         * crypt/sha512.c (sha512_process_block): Perform total addition using
28773         128-bit if possible.
28774         (__sha512_finish_ctx): Likewise.
28775         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28776         as 64-bit value.
28777         * crypt/sha256.c (SWAP64): Define.
28778         (sha256_process_block): Perform total addition using 64-bit if
28779         possible.
28780         (__sha256_finish_ctx): Likewise.
28782 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
28784         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
28785         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28786         * nscd/hstcache.c (cache_addhst): Likewise.
28787         * nscd/grpcache.c (cache_addgr): Likewise.
28788         * nscd/aicache.c (addhstaiX): Likewise
28789         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28791 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
28793         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28794         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28795         * nscd/hstcache.c (cache_addhst): Likewise.
28796         * nscd/grpcache.c (cache_addgr): Likewise.
28797         * nscd/aicache.c (addhstaiX): Likewise
28799 2011-07-01  Andreas Schwab  <schwab@redhat.com>
28801         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28802         domain only when needed.
28804 2011-06-30  Andreas Schwab  <schwab@redhat.com>
28806         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28807         is always restored.
28809 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
28811         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28812         are re-adding the entry.
28813         * nscd/servicescache.c (cache_addserv): Likewise.
28815 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
28817         * sysdeps/generic/dl-irel.h: fix protection against multiple
28818         inclusions.
28819         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28821 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
28823         [BZ #12935]
28824         * malloc/memusage.sh: Fix quoting in message.
28825         * debug/xtrace.sh: Likewise.
28827         * configure.in: Remove support for --experimental-malloc option, make
28828         it the default.
28829         * config.make.in: Likewise.
28830         * malloc/Makefile: Likewise.
28832 2011-06-27  Andreas Schwab  <schwab@redhat.com>
28834         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28835         two-byte characters.
28837 2011-06-27  Roland McGrath  <roland@hack.frob.com>
28839         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28840         AC_CACHE_CHECK invocation.
28841         * configure: Regenerated.
28843         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28845 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
28847         [BZ #12350]
28848         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
28849         bit from old_res_options.
28851         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28853         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28854         value type for setfct.
28856 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
28858         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28859         __gettimeofday instead of gettimeofday.
28861 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
28863         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28865 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
28867         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28869         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28870         info.
28872 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
28874         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28875         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28876         strcpy-sse2-unaligned strncpy-sse2-unaligned
28877         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28878         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28879         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28880         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28881         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28882         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28883         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28884         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28885         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28886         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28887         (STRCPY): Support SSE2 and SSSE3 versions.
28889 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
28891         [BZ #12874]
28892         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28893         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28894         kernels which artificially limit size of requests.
28896 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
28898         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28899         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28900         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28901         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28902         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28903         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28904         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28905         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28906         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28907         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28908         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28909         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28910         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28911         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28912         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28913         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28914         Enable unaligned load optimization for Intel Core i3, i5 and i7
28915         processors.
28916         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28917         Define.
28918         (index_Fast_Unaligned_Load): Define.
28919         (HAS_FAST_UNALIGNED_LOAD): Define.
28921 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
28923         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28925 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
28927         [BZ #12907]
28928         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28929         until it is clear that the information is realy needed.
28930         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28932 2011-06-22  Andreas Schwab  <schwab@redhat.com>
28934         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28936 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
28938         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28939         /sys/devices/system/cpu/online if it is usable.
28941         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28942         reading the information from the /proc filesystem to once a second.
28944 2011-06-21  Andreas Jaeger  <aj@suse.de>
28946         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28947         NULL after inclusion of kernel headers.
28949 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
28951         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28952         calls to internal_setent.
28954         [BZ #12885]
28955         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28956         addresses using gethostbyname4_r ignore IPv4 addresses.
28958         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28959         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
28961         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28963 2011-06-20  David S. Miller  <davem@davemloft.net>
28965         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28966         inclusions.
28967         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28969         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28970         (elf_irel): Use it.
28971         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28972         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28973         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28974         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28975         * sysdeps/x86_64/dl-irel.h: Likewise.
28977         * elf/dl-runtime.c: Use elf_ifunc_invoke.
28978         * elf/dl-sym.c: Likewise.
28980 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
28982         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
28983         need to dereference resplen2.
28985 2011-06-14  Andreas Schwab  <schwab@redhat.com>
28987         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28989 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
28991         * Makeconfig: Define vardbdir and inst_vardbdir.
28992         * nss/Makefile: Add rules to install db-Makefile.
28994         * nss/nss_db/db-XXX.c: Cleanup.
28996         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28997         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28998         GLIBC_PRIVATE.
28999         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29000         * nss/makedb.c: Implement -g option to specify that value strings
29001         are generated and should not be added to table iterated over for
29002         get*ent calls.
29003         * nss/nss_db/db-initgroups.c: New file.
29005         * nss/getent.c: Add support for initgroups lookups through getgrouplist
29006         interface.
29008         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29009         (internal_getgrouplist): Adjust to name change.
29010         Update use_initgroups_entry if this is not the first call.
29011         * nss/databases.def: Add initgroups entry.
29013         * nss/makedb.c (compute_tables): Check result of multiple hash table
29014         sizes to minimize maximum chain length.
29016 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
29018         * Versions.def: Add entry for libnss_db.
29019         * shlib-versions: Likewise.
29020         * nss/Makefile: Add rules to build libnss_db.
29021         * nss/Versions: Add libnss_db information.  Organize libnss_files
29022         entries better.
29023         * nss/db-Makefile: Add gshadow support.  Change rules for the new
29024         makedb progra.  Some minor improvements to generate smaller files.
29025         * nss/nss_db/nss_db.h: Move NSS database header data structures to
29026         here from...
29027         * nss/makedb.c: ...here.
29028         Improve database format to be smaller and require less memory at
29029         runtime.
29030         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
29031         db anymore.
29032         * nss/nss_db/db-netgrp.c: Likewise.
29033         * nss/nss_db/db-open.c: Likewise.
29034         * nss/nss_files/flies-XXX.x: Adjust comments.
29035         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29036         * nss/nss_files/files-grp.c: Likewise.
29037         * nss/nss_files/files-hosts.c: Likewise.
29038         * nss/nss_files/files-network.c: Likewise.
29039         * nss/nss_files/files-proto.c: Likewise.
29040         * nss/nss_files/files-pwd.c: Likewise.
29041         * nss/nss_files/files-rpc.c: Likewise.
29042         * nss/nss_files/files-service.c: Likewise.
29043         * nss/nss_files/files-sgrp.c: Likewise.
29044         * nss/nss_files/files-spwd.c: Likewise.
29045         * nss/nss_db/db-alias.c: Removed.
29046         * nss/nss_db/dummy-db.h: Removed.
29048 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
29050         * nss/makedb.c: Rewritten to not use database library.
29051         * nss/Makefile: Update to build new makedb program.
29053 2011-06-14  Andreas Jaeger  <aj@suse.de>
29055         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29056         memset declaration.
29058 2011-06-10  Andreas Schwab  <schwab@redhat.com>
29060         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29061         tmpbuf.
29063 2011-06-10  Roland McGrath  <roland@hack.frob.com>
29065         * Makerules (shlib.lds): Fail if the linker script comes out empty.
29066         * elf/Makefile ($(objpfx)ld.so): Likewise.
29068         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29069         Don't list ld.so twice in dependencies.
29071         * posix/bug-regex31.c: Include <stdlib.h>.
29073         * nscd/hstcache.c (cache_addhst): Remove unused variable.
29075         * nis/nss_compat/compat-spwd.c
29076         (getspent_next_nss_netgr): Remove unused variable.
29077         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29079         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29080         nonmembers" output to use the right array.
29082         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29084         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29086         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29087         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29088         * catgets/gencat.c (read_input_file): Likewise.
29089         * locale/programs/locarchive.c (enlarge_archive): Likewise.
29091         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29092         variable definition inside #if's controlling its use.
29094         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29096         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29098         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29100         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29101         unreachable code.
29103         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29105         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29106         * configure: Regenerated.
29108         * Makerules: Revert last change.
29109         * elf/Makefile: Likewise.
29111 2011-06-09  Roland McGrath  <roland@hack.frob.com>
29113         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29114         * elf/Makefile ($(objpfx)librtld.os): Likewise.
29115         (reloc-link): Likewise.
29117 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
29119         * elf/Makefile: Add rules to build pldd.
29120         * elf/pldd.c: New file.
29121         * elf/pldd-xx.c: New file.
29123 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
29125         * version.h: Update for 2.15 development version.
29127 2011-06-07  David S. Miller  <davem@davemloft.net>
29129         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29130         ifuncs.
29131         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29132         elf_machine_lazy_rel): Likewise.
29133         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29134         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29135         elf_machine_lazy_rel): Likewise.
29136         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29137         dl_hwcap via passed in argument.
29138         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29139         Likewise.
29141 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29143         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
29145 2011-06-06  Roland McGrath  <roland@hack.frob.com>
29147         [BZ #12849]
29148         * manual/fdl-1.1.texi: New file, verbatim from:
29149         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29150         * manual/lgpl-2.1.texi: New file, verbatim from:
29151         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29152         * manual/Makefile (licenses): New variable, list those new file names.
29153         (texis): Use it.
29154         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29156         * manual/fdl.texi: File removed.
29157         * manual/lesser.texi: File removed.
29158         * manual/libc.texinfo (Copying, Documentation License):
29159         Use new @include file names, put @appendix directive before @include.
29161 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
29163         [BZ #12841]
29164         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29165         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29166         (mq_open): Add __NTH.
29168 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
29170         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29171         Assume Intel Core i3/i5/i7 processor if AVX is available.
29173 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
29175         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29176         typo.
29178 2011-05-31  Andreas Schwab  <schwab@redhat.com>
29180         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29181         memory.  Use alloca_account.  Fix memory leak when retrying.
29183 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
29185         * version.h (RELEASE): Bump for 2.14 release.
29186         * include/features.h (__GLIBC_MINOR__): Bump to 14.
29188         * config.make.in (RANLIB): Remove entry.
29190 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
29192         * po/Makefile (po-sed-cmd): Add ksh to extensions.
29193         (libc.pot): Work around missing support for .ksh extension in xgettext.
29195         [BZ #12684]
29196         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29197         if both request failed.
29198         (send_dg): In case of server errors clear resplen or *resplen2.
29200         [BZ #12454]
29201         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29202         when there are multiple maps.
29203         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29204         (_dl_fini): Remove test here.
29206         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29208 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
29210         [BZ #12350]
29211         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29212         bit from old_res_options.
29213         (gaih_inet): Likewise.
29215         [BZ #11099]
29216         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
29217         as signed.
29219         * resolv/res_init.c (res_setoptions): Make the code more compact.
29221         [BZ #11558]
29222         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29223         set RES_USEVC.
29225         [BZ #11634]
29226         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29228         * malloc/malloc.h: Mark malloc hook variables as deprecated.
29230         [BZ #11781]
29231         * malloc/malloc.h: Declare malloc hook variables as volatile.
29233         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29234         in last patch.
29236         [BZ #11799]
29237         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
29238         raise in the comment.
29239         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29240         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29241         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
29243 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
29245         [BZ #12811]
29246         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29247         grow the buffers more if it already has to be sufficient.
29248         (build_wcs_upper_buffer): Likewise.
29249         * posix/regexec.c (check_matching): Likewise.
29250         (clean_state_log_if_needed): Likewise.
29251         (extend_buffers): Don't enlarge buffers beyond size of the input
29252         buffer.
29253         Patches mostly by Emil Wojak <emil@wojak.eu>.
29254         * posix/bug-regex32.c: New file.
29255         * posix/Makefile (tests): Add bug-regex32.
29257         * locale/findlocale.c (_nl_find_locale): Return right away if
29258         _nl_explode_name failed.
29259         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29261         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29263         * debug/xtrace.sh: Unify messages.
29264         * malloc/memusage.sh: Likewise.
29266         [BZ #12813]
29267         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29268         time symbol from vDSO.  Substitute with vsyscall if not available.
29269         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29270         __vdso_time.
29272         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29273         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29274         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29275         Add sendmmsg and internal_sendmmsg.
29276         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29277         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29278         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29280         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29281         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29282         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29284 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
29286         [BZ #12813]
29287         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29288         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
29289         available.
29290         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29291         __vdso_getcpu.
29293         [BZ #12814]
29294         * iconvdata/Makefile (tests): Add bug-iconv9.
29295         * iconvdata/bug-iconv9.c: New file.
29297 2011-05-27  Andreas Schwab  <schwab@redhat.com>
29299         [BZ #12814]
29300         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29302 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
29304         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29305         (struct user_regs_struct): Change intcs field back to cs.
29307 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
29309         * po/ja.po: Update from translation team.
29311 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
29313         [BZ #12795]
29314         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29315         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29317 2011-05-20  Andreas Schwab  <schwab@redhat.com>
29319         * stdlib/longlong.h: Update from GCC.
29321 2011-05-23  Andreas Schwab  <schwab@redhat.com>
29323         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29324         parameter name.
29325         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29326         Add parameter name.
29327         (__sysconf): Pass it down.
29329 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
29331         [BZ #12671]
29332         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29333         some situations.
29334         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29335         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29336         add in in __libc_use_alloca calls.  Adjust callers.
29337         (glob): Use malloc in some situations.
29339         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29340         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29341         pltexit.
29343 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
29345         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29346         and CLOCK_BOOTTIME_ALARM.
29348         [BZ #12782]
29349         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29350         is returned.
29352         * string/_strerror.c (__strerror_r): Print negative errors as signed
29353         numbers.
29355         [BZ #12777]
29356         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29357         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29358         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29360         * configure.in: Fix typo in redirection and correct removal of test
29361         files in two cases.
29363         [BZ #12788]
29364         * locale/setlocale.c (new_composite_name): Fix test to check for
29365         identical name of all categories.
29367         [BZ #12792]
29368         * libio/filedoalloc.c (local_isatty): New function.
29369         (_IO_file_doallocate): Use local_isatty.
29370         * stdio-common/perror.c (perror): In case a new stream is used
29371         forward the stream error.
29372         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29373         error flag.
29375 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
29377         [BZ #11869]
29378         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29379         alloca.
29380         * include/alloca.h (extend_alloca_account): Define.
29382         [BZ #11857]
29383         * posix/regex.h: Fix comments with documentation of user-accessible
29384         fields after compilation and describe correct free'ing of pattern
29385         after re_compile_pattern.
29386         Patch by Reuben Thomas <rrt@sc3d.org>.
29388 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
29390         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29391         and -mno-altivec to prevent the compiler from using Altivec and/or
29392         VSX instructions when the corresponding registers are not available.
29394 2011-05-19  Andreas Schwab  <schwab@redhat.com>
29396         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29398 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
29400         * libio/freopen.c (freopen): Use __dup2, not dup2.
29401         * libio/freopen64.c (freopen64): Likewise.
29403 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
29405         [BZ #12775]
29406         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29407         * math/Makefile (tests): Add test-powl.
29408         (CFLAGS-test-powl.c): Define.
29409         * math/test-powl.c: New file.
29411 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29413         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29415 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
29417         [BZ #11837]
29418         * iconvdata/gb18030.c: Update to GB18020-2005.
29420 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
29422         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29423         RE_SYNTAX_POSIX_AWK): Update to match recent development.
29424         Patch by Aharon Robbins <arnold@skeeve.com>.
29426         [BZ #11892]
29427         * stdlib/putenv.c (putenv): Don't always create copy of the variable
29428         on the stack.
29430         [BZ #11895]
29431         * misc/pselect.c (__pselect): Handle timeout value errors hidden
29432         through underflows.
29434         [BZ #12766]
29435         * misc/error.c (error_at_line): Ensure file_name and old_file_name
29436         point to strings before performing equality test for error_one_per_line
29437         mode.
29439         [BZ #11697]
29440         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29442         [BZ #11820]
29443         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29444         (struct user_fpregs_struct): Avoid __uint*_t types.
29446         [BZ #6420]
29447         * malloc/mtrace.c (tr_where): Add additional parameter to point to
29448         symbol info.  Use it instead of calling _dl_addr locally.
29449         (lock_and_info): New function.
29450         (tr_freehook): Call lock_and_info and pass symbol info as additional
29451         parameter to tr_where.
29452         (tr_mallochook): Likewise.
29453         (tr_reallochook): Likewise.
29454         (tr_memalignhook): Likewise.
29456         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
29457         used and couldn't be at all thread-safe.
29459 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
29461         * libio/freopen.c (freopen): Don't close old file descriptor
29462         before the new one is opened.  Instead dup the new file descriptor
29463         to the old one after the new stream is created.
29464         * libio/freopen64.c (freopen64): Likewise.
29465         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29466         * libio/fileops.c (_IO_new_file_close_it): Handle new
29467         _IO_FLAGS2_NOCLOSE flag.
29468         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29469         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29470         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29471         _IO_FLAGS2_NOCLOSE flag.
29472         * include/unistd.h: Add hidden_proto for dup3.
29473         Define __have_dup3.
29474         * io/dup3.c: Define hidden symbol.
29475         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29477         [BZ #7101]
29478         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29479         when an incomplete long option is used.
29480         * posix/tst-getopt_long1.c: New file.
29481         * posix/Makefile (tests): Add tst-getopt_long1.
29483         [BZ #10138]
29484         * scripts/config.guess: Update from autoconf-2.68.
29485         * scripts/config.sub: Likewise.
29487         [BZ #10157]
29488         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29489         tests into ...
29490         (has_cpuclock): ...this.  New function.
29491         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29492         macro here based on has_cpuclock code.
29494         [BZ #10149]
29495         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29496         First byte (not low byte) is now always NUL.
29497         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29499         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29500         Use non-cancelable interfaces.
29502         [BZ #9809]
29503         * locale/iso-639.def: Add entry for Sorani.
29505         [BZ #11901]
29506         * include/stdlib.h: Move include protection to the right place.
29507         Define abort_msg_s.  Declare __abort_msg with it.
29508         * stdlib/abort.c (__abort_msg): Adjust type.
29509         * assert/assert.c (__assert_fail_base): New function.  Majority
29510         of code from __assert_fail.  Allocate memory for __abort_msg with
29511         mmap.
29512         (__assert_fail): Now call __assert_fail_base.
29513         * assert/assert-perr.c: Remove bulk of implementation.  Use
29514         __assert_fail_base.
29515         * include/assert.hL Declare __assert_fail_base.
29516         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29517         mmap.
29518         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29520 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
29522         [BZ #11952]
29523         [BZ #12453]
29524         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29525         until all modules are registered in the DTV.
29526         * elf/Makefile: Add rules to build and run tst-tls19.
29527         * elf/tst-tls19.c: New file.
29528         * elf/tst-tls19mod1.c: New file.
29529         * elf/tst-tls19mod2.c: New file.
29530         * elf/tst-tls19mod3.c: New file.
29531         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29533         [BZ #12083]
29534         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29535         correctly.
29537         [BZ #12601]
29538         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29539         two-byte sequence errors.
29540         * iconvdata/Makefile (tests): Add bug-iconv8.
29541         * iconvdata/bug-iconv8.c: New file.
29543         [BZ #12626]
29544         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29545         buf2 definition.
29547         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29549         [BZ #12432]
29550         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29551         (dummy_getcfa): New function.
29552         (init): Get _Unwind_GetCFA address, use dummy if not found.
29553         (backtrace_helper): In recursion check, also check whether CFA changes.
29554         (__backtrace): Completely initialize arg.
29556         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
29557         storing incomplete byte sequence in state object.  Avoid testing for
29558         guaranteed too small input if we know there is enough data available.
29560 2011-05-11  Andreas Schwab  <schwab@redhat.com>
29562         * Makeconfig (+link-pie): Indent.
29563         * Rules (binaries-pie): Define if $(have-fpie) and
29564         $(build-shared).
29565         (binaries-shared): Also filter out $(binaries-pie).
29566         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29567         * nscd/Makefile (others-pie): Add nscd.
29568         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29569         ($(objpfx)nscd): Remove command override.
29570         * login/Makefile (others-pie): Add pt_chown.
29571         ($(objpfx)pt_chown): Remove command override.
29572         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29573         remove command overrides.
29575 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
29577         * libio/tst_putwc.c: Fix error messages.
29579         [BZ #12724]
29580         * libio/fileops.c (_IO_new_file_close_it): Always flush when
29581         currently writing and seek to current position when not.
29582         * libio/Makefile (tests): Add bug-fclose1.
29583         * libio/bug-fclose1.c: New file.
29585 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
29587         [BZ #12511]
29588         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29589         don't set DF_1_NODELETE here.
29590         (do_lookup_x): When entering new entry test for copy relocation
29591         and if necessary set DF_1_NODELETE flag.
29592         * elf/tst-unique4.cc: New file.
29593         * elf/tst-unique4.h: New file.
29594         * elf/tst-unique4lib.cc: New file.
29595         * elf/Makefile: Add rules to build and run tst-unique4.
29596         Patch by Piotr Bury <pbury@goahead.com>.
29598 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
29600         [BZ #12052]
29601         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29603         [BZ #12625]
29604         * misc/mntent_r.c (addmntent): Flush the stream after the output
29606         [BZ #12393]
29607         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29608         (is_trusted_path_normalize): Skip initial colon.  Append slash
29609         to empty buffer.  Duplicate is_trusted_path code but allow
29610         constructed patch to be prefix.
29611         (is_dst): Allow $ORIGIN followed by /.
29612         (_dl_dst_substitute): Correct clearing of check_for_trusted.
29613         Correct testing of result of is_trusted_path_normalize
29614         (decompose_rpath): Fix warning.
29616 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
29618         [BZ #11257]
29619         * grp/initgroups.c (internal_getgrouplist): When we found the service
29620         list through the initgroups entry in nsswitch.conf do not always
29621         continue on a successful lookup.  Don't always use the
29622         __nss_group_database value if it is set.
29623         * nss/nsswitch.conf (initgroups): Change action for successful db
29624         lookup to continue for compatibility.
29626 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
29628         [BZ #11532]
29629         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29630         and CP774 modules.
29631         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29632         and CP774 modules.
29633         * iconvdata/tst-tables.sh: Likewise.
29634         * iconvdata/cp770.c: New file.
29635         * iconvdata/cp771.c: New file.
29636         * iconvdata/cp772.c: New file.
29637         * iconvdata/cp773.c: New file.
29638         * iconvdata/cp774.c: New file.
29639         * iconvdata/testdata/CP770: New file.
29640         * iconvdata/testdata/CP770..UTF8: New file.
29641         * iconvdata/testdata/CP771: New file.
29642         * iconvdata/testdata/CP771..UTF8: New file.
29643         * iconvdata/testdata/CP772: New file.
29644         * iconvdata/testdata/CP772..UTF8: New file.
29645         * iconvdata/testdata/CP773: New file.
29646         * iconvdata/testdata/CP773..UTF8: New file.
29647         * iconvdata/testdata/CP774: New file.
29648         * iconvdata/testdata/CP774..UTF8: New file.
29650         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29651         END CHARMAP line.
29652         * iconvdata/gen-8bit-gap.sh: Likewise.
29653         * iconvdata/gen-8bit.sh: Likewise.
29655         * locale/iso-639.def: Add ary entry.
29657         [BZ #11258]
29658         * locale/C-translit.h.in: Add U20A1 transliteration.
29660         [BZ #12178]
29661         * locale/iso-639.def: Add wae entry.
29662         Patch by Kevin Bortis <bortis@translate-wae.ch>.
29664         [BZ #12545]
29665         * locale/programs/localedef.c (construct_output_path): Use ssize_t
29666         for n.
29668         [BZ #12711]
29669         * locale/C-translit.h.in: Add entry for U20B9.
29670         Patch by pravin.d.s@gmail.com.
29672 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
29674         [BZ #12713]
29675         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29676         ENAMETOOLONG use generic getcwd.
29677         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
29678         in rtld.  Use *stat64.
29679         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
29680         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
29681         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
29682         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29683         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29684         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29685         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29686         __fstatat64 macros.
29687         * include/dirent.h: Add libc_hidden_proto for rewinddir.
29688         * dirent/rewinddir.c: Add libc_hidden_def.
29689         * sysdeps/mach/hurd/rewinddir.c: Likewise.
29690         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
29692         * include/dirent.h (__alloc_dir): Add flags parameter.
29693         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29694         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29695         __alloc_dir.
29696         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
29697         from fdopendir if O_CLOEXEC is already set.
29699 2011-03-15  Alan Modra  <amodra@gmail.com>
29701         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29702         l_tls_firstbyte_offset non-zero.  Save padding offset in
29703         l_tls_firstbyte_offset for later use.
29704         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29705         freeing static tls block.
29707 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
29709         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29710         where #ifdef was intended.  The intent is to prevent ARG_MAX from
29711         being defined by the kernel headers.
29713 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
29715         [BZ #12734]
29716         * resolv/resolv.h: Define RES_NOTLDQUERY.
29717         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29718         no-tld-query and set RES_NOTLDQUERY.
29719         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29720         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29721         modern BIND to search name as TLD unless forbidden.
29723 2011-05-07  Petr Baudis  <pasky@suse.cz>
29724             Ulrich Drepper  <drepper@gmail.com>
29726         [BZ #12393]
29727         * elf/dl-load.c (fillin_rpath): Move trusted path check...
29728         (is_trusted_path): ...to here.
29729         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
29730         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
29731         using is_trusted_path_normalize() in setuid scripts.
29733 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29735         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29736         __BEGIN/__END_DECLS.
29738 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
29740         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29741         NSS_STATUS_NOTFOUND if no record was found.
29743 2011-05-05  Andreas Schwab  <schwab@redhat.com>
29745         * sunrpc/Makefile (headers): Add rpc/netdb.h.
29746         (headers-not-in-tirpc): Remove rpc/netdb.h
29747         * resolv/netdb.h: Revert last change.
29749 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29751         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29752         circular dependency between libgcc.a and libc.a.
29754 2011-05-05  Andreas Schwab  <schwab@redhat.com>
29756         * resolv/netdb.h: Don't include <rpc/netdb.h>.
29757         * nis/Makefile: Don't install rpcsvc/*.
29758         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29759         instead of <rpc/types.h>.
29760         (MAXHOSTNAMELEN): Define.
29762 2011-05-03  Andreas Schwab  <schwab@redhat.com>
29764         * elf/ldconfig.c (add_dir): Don't crash on empty path.
29766 2011-04-28  Maciej Babinski  <mbabinski@google.com>
29768         [BZ #12714]
29769         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29770         gethostbyname4_r when IPv6 results are possible.
29772 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
29774         [BZ #12723]
29775         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29776         _PC_PIPE_BUF handling.
29778 2011-04-30  Bruno Haible  <bruno@clisp.org>
29780         [BZ #12717]
29781         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29782         * resolv/netdb.h (getnameinfo): Change type of flags parameter
29783         to 'int'.
29784         * inet/getnameinfo.c (getnameinfo): Likewise.
29786 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
29788         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29789         to groups setting in database lookup.
29790         * nss/nsswitch.conf: Add initgroups entry.
29792 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
29794         [BZ #12685]
29795         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29796         mode string.
29797         Patch by Eric Blake <eblake@redhat.com>.
29799 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
29801         * sunrpc/Makefile (need-export-routines): Add svc_run.
29802         (routines): Remove svc_run.
29803         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29804         * sunrpc/clnt_perr.c (clnt_perrno): Export.
29805         * sunrpc/svc_run.c (svc_run): Likewise.
29806         * sunrpc/svc_udp.c (svcudp_create): Likewise.
29808 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
29810         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29811         problem in reallocation in last patch.
29813 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
29815         * sunrpc/Makefile: Move inclusion of Rules.
29817 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
29819         * nss/nss_files/files-initgroups.c: New file.
29820         * nss/Makefile (libnss_files-routines): Add files-initgroups.
29821         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29822         _nss_files_initgroups_dyn.
29824 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
29826         * elf/elf.h (R_ARM_IRELATIVE): Define.
29828 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
29830         * po/ru.po: Update from translation team.
29832 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
29834         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29835         dependencies.
29837 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
29839         [BZ #12653]
29840         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29841         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29842         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29843         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29844         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29846 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
29848         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29849         differing bytes.
29850         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29851         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29852         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29854 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
29856         [BZ #12420]
29857         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29858         storing it.
29859         * stdlib/bug-getcontext.c: New file.
29860         * stdlib/Makefile: Add rules to build and run bug-getcontext.
29862 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29864         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29865         instructions into .machine "z9-109".
29866         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29867         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29869 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29871         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29872         between environment variables and auxiliary vector.
29874 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
29876         * Makefile: Add rules to build linkobj/libc.so.
29877         * include/libc-symbols.h: Define libc_hidden_nolink.
29878         * include/rpc/auth.h: Mark functions which are to be hidden.
29879         * include/rpc/auth_des.h: Likewise.
29880         * include/rpc/auth_unix.h: Likewise.
29881         * include/rpc/clnt.h: Likewise.
29882         * include/rpc/des_crypt.h: Likewise.
29883         * include/rpc/key_prot.h: Likewise.
29884         * include/rpc/pmap_clnt.h: Likewise.
29885         * include/rpc/pmap_prot.h: Likewise.
29886         * include/rpc/pmap_rmt.h: Likewise.
29887         * include/rpc/rpc_msg.h: Likewise.
29888         * include/rpc/svc.h: Likewise.
29889         * include/rpc/svc_auth.h: Likewise.
29890         * include/rpc/xdr.h: Likewise.
29891         * nis/Makefile: Link all DSOs against linkobj/libc.so.
29892         * nss/Makefile: Likewise.
29893         * sunrpc/Makefile: Don't install headers.  Build library with normal
29894         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
29895         * sunrpc/auth_des.c: Hide exported symbols by default, export some
29896         for the compat linking library.  Remove use of INTDEF/INTUSE.
29897         * sunrpc/auth_none.c: Likewise.
29898         * sunrpc/auth_unix.c: Likewise.
29899         * sunrpc/authdes_prot.c: Likewise.
29900         * sunrpc/authuxprot.c: Likewise.
29901         * sunrpc/clnt_gen.c: Likewise.
29902         * sunrpc/clnt_perr.c: Likewise.
29903         * sunrpc/clnt_raw.c: Likewise.
29904         * sunrpc/clnt_simp.c: Likewise.
29905         * sunrpc/clnt_tcp.c: Likewise.
29906         * sunrpc/clnt_udp.c: Likewise.
29907         * sunrpc/clnt_unix.c: Likewise.
29908         * sunrpc/des_crypt.c: Likewise.
29909         * sunrpc/des_soft.c: Likewise.
29910         * sunrpc/get_myaddr.c: Likewise.
29911         * sunrpc/key_call.c: Likewise.
29912         * sunrpc/key_prot.c: Likewise.
29913         * sunrpc/netname.c: Likewise.
29914         * sunrpc/pm_getmaps.c: Likewise.
29915         * sunrpc/pm_getport.c: Likewise.
29916         * sunrpc/pmap_clnt.c: Likewise.
29917         * sunrpc/pmap_prot.c: Likewise.
29918         * sunrpc/pmap_prot2.c: Likewise.
29919         * sunrpc/pmap_rmt.c: Likewise.
29920         * sunrpc/publickey.c: Likewise.
29921         * sunrpc/rpc_cmsg.c: Likewise.
29922         * sunrpc/rpc_common.c: Likewise.
29923         * sunrpc/rpc_dtable.c: Likewise.
29924         * sunrpc/rpc_prot.c: Likewise.
29925         * sunrpc/rpc_thread.c: Likewise.
29926         * sunrpc/rtime.c: Likewise.
29927         * sunrpc/svc.c: Likewise.
29928         * sunrpc/svc_auth.c: Likewise.
29929         * sunrpc/svc_authux.c: Likewise.
29930         * sunrpc/svc_raw.c: Likewise.
29931         * sunrpc/svc_run.c: Likewise.
29932         * sunrpc/svc_simple.c: Likewise.
29933         * sunrpc/svc_tcp.c: Likewise.
29934         * sunrpc/svc_udp.c: Likewise.
29935         * sunrpc/svc_unix.c: Likewise.
29936         * sunrpc/svcauth_des.c: Likewise.
29937         * sunrpc/xcrypt.c: Likewise.
29938         * sunrpc/xdr.c: Likewise.
29939         * sunrpc/xdr_array.c: Likewise.
29940         * sunrpc/xdr_float.c: Likewise.
29941         * sunrpc/xdr_intXX_t.c: Likewise.
29942         * sunrpc/xdr_mem.c: Likewise.
29943         * sunrpc/xdr_rec.c: Likewise.
29944         * sunrpc/xdr_ref.c: Likewise.
29945         * sunrpc/xdr_sizeof.c: Likewise.
29946         * sunrpc/xdr_stdio.c: Likewise.
29948 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
29950         [BZ #12650]
29951         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29952         * sysdeps/ia64/dl-tls.h: Likewise.
29953         * sysdeps/powerpc/dl-tls.h: Likewise.
29954         * sysdeps/s390/dl-tls.h: Likewise.
29955         * sysdeps/sh/dl-tls.h: Likewise.
29956         * sysdeps/sparc/dl-tls.h: Likewise.
29957         * sysdeps/x86_64/dl-tls.h: Likewise.
29958         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29960 2011-03-14  Andreas Schwab  <schwab@redhat.com>
29962         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29963         rpath element also skip the following colon.
29964         (expand_dynamic_string_token): Add is_path parameter and pass
29965         down to DL_DST_REQUIRED and _dl_dst_substitute.
29966         (decompose_rpath): Call expand_dynamic_string_token with
29967         non-zero is_path.  Ignore empty rpaths.
29968         (_dl_map_object_from_fd): Call expand_dynamic_string_token
29969         with zero is_path.
29971 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
29973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29974         Make cancelable.
29976 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
29978         [BZ #12655]
29979         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29980         Patch by Filipe David Manana <fdmanana@apache.org>.
29982 2011-04-07  Andreas Schwab  <schwab@redhat.com>
29984         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29985         Maintain aligned stack.
29986         (CHECK_RSP): Remove unused macro.
29988 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
29990         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29991         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29993 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
29995         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29997         * include/features.h: Mention __USE_XOPEN2K8 in comment.
29999 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
30001         [BZ #12518]
30002         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30003         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30004         * sysdeps/x86_64/memmove.c: New file.
30005         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30006         (memcpy): Renamed to ...
30007         (__new_memcpy): This.
30008         (memcpy): Provide GLIBC_2_14 memcpy.
30009         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30010         (memcpy): Provide GLIBC_2_2_5 memcpy.
30012 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
30014         [BZ #12631]
30015         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30017 2011-03-30  Andreas Schwab  <schwab@redhat.com>
30019         * misc/syncfs.c: New file.
30020         * misc/Makefile (routines): Add syncfs.
30021         * posix/unistd.h: Declare syncfs.
30022         * sysdeps/unix/syscalls.list: Add syncfs.
30024 2011-04-01  Andreas Schwab  <schwab@redhat.com>
30026         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30027         open_by_handle_at.
30028         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30029         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30030         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30031         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30032         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30033         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30034         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30036 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
30038         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30039         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30040         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30041         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30042         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30043         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30044         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30046         * io/Makefile: Compile fallocate.c, fallocate64.c, and
30047         sync_file_range.c with -fexceptions.
30048         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30049         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30050         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30051         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30052         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30053         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30054         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
30055         sync_file_range as cancellation point
30056         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
30057         now a wrapper around __call_sync_file_range with cancellation handling.
30058         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30059         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
30060         function name to __call_sync_file_range.
30061         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30062         Add call_sync_file_range.
30064 2011-04-01  Andreas Schwab  <schwab@redhat.com>
30066         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30067         bits/timex.h.
30069 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
30071         * iconv/iconv.h: Fix typo in comment.
30072         * io/fcntl.h: Likewise.
30073         * libio/stdio.h: Likewise.
30074         * posix/spawn.h: Likewise.
30075         * posix/unistd.h: Likewise.
30076         * stdlib/stdlib.h: Likewise.
30077         * time/time.h: Likewise.
30078         * wcsmbs/wchar.h: Likewise.
30080         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30081         open_by_handle): Add.
30082         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30083         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
30084         Augment a few comments.
30085         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30086         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30087         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30088         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30089         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30090         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30091         open_by_handle.
30093         * io/fcntl.h (AT_EMPTY_PATH): Define.
30095 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
30097         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30098         * sysdeps/unix/sysv/linux/bits/time.h: New file.
30099         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30100         to...
30101         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
30102         * Versions.def: Add GLIBC_2.14.
30103         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30104         Export.
30106 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
30108         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30109         round counter.
30110         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30112 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
30114         [BZ #12597]
30115         * string/test-strncmp.c (do_page_test): New function.
30116         (check2): Likewise.
30117         (test_main): Call check2.
30118         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30120 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
30122         [BZ #12587]
30123         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30124         Handle cache information in CPU leaf 4.
30125         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30127 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
30129         [BZ #12583]
30130         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30131         character representation.
30132         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30134 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
30136         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30137         END(__isnan) to END(__isnanf) to match function entry point/label
30138         EALIGN(__isnanf,...).
30140 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
30142         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30144 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
30146         [BZ #12510]
30147         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30148         copy from the symbol referenced in the relocation to initialize the
30149         used variable.
30150         Patch by Piotr Bury <pbury@goahead.com>.
30151         * elf/Makefile: Add rules to build and tst-unique3.
30152         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30153         * elf/tst-unique3.cc: New file.
30154         * elf/tst-unique3.h: New file.
30155         * elf/tst-unique3lib.cc: New file.
30156         * elf/tst-unique3lib2.cc: New file.
30158         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30160 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
30162         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30163         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
30164         to _start.
30166 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
30168         * elf/dl-load.c (_dl_map_object): If we are looking for the first
30169         to-be-loaded object along a path to loader is ld.so.
30171 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
30172             Ulrich Drepper  <drepper@gmail.com>
30174         * sysdeps/x86_64/memset.S: After aligning destination, code
30175         branches to different locations depending on the value of
30176         misalignment, when multiarch is enabled. Fix this.
30178 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
30180         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30181         Set _x86_64_preferred_memory_instruction for AMD processsors.
30182         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30183         Set bit_Prefer_SSE_for_memop for AMD processors.
30185 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
30187         * libio/fmemopen.c (fmemopen): Optimize a bit.
30189 2011-03-03  Andreas Schwab  <schwab@redhat.com>
30191         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30193 2011-03-03  Roland McGrath  <roland@redhat.com>
30195         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30197 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
30199         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
30200         __bzero_ultra1 instead of __memset_ultra1.
30202 2011-02-23  Andreas Schwab  <schwab@redhat.com>
30203             Ulrich Drepper  <drepper@gmail.com>
30205         [BZ #12509]
30206         * include/link.h (struct link_map): Add l_orig_initfini.
30207         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30208         returning unsuccessfully.
30209         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30210         close of a file loaded at startup, restore the original l_initfini
30211         list.
30212         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30213         list, store the pointer.
30214         * elf/Makefile ($(objpfx)noload-mem): New rule.
30215         (noload-ENV): Define.
30216         (tests): Add $(objpfx)noload-mem.
30217         * elf/noload.c: Include <memcheck.h>.
30218         (main): Call mtrace.  Close all opened handles.
30220 2011-02-17  Andreas Schwab  <schwab@redhat.com>
30222         [BZ #12454]
30223         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30224         dependencies are missing.
30226 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30228         Fix __if_freereq crash: Unlike the generic version which uses free,
30229         Hurd needs munmap.
30230         * sysdeps/mach/hurd/ifreq.h: New file.
30232 2011-01-27  Petr Baudis  <pasky@suse.cz>
30233             Ulrich Drepper  <drepper@gmail.com>
30235         [BZ 12445]#
30236         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30237         to extend_alloca().
30238         * stdio-common/bug23.c: New file.
30239         * stdio-common/Makefile (tests): Add bug23.
30241 2010-09-28  Andreas Schwab  <schwab@redhat.com>
30242             Ulrich Drepper  <drepper@gmail.com>
30244         [BZ #12489]
30245         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30246         before performing relro protection.  At old place add assertion
30247         to make sure nothing changed.
30249 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
30250             Glauber de Oliveira Costa  <glommer@gmail.com>
30252         * elf/elf.h: Add new ARM TLS relocs.
30254 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
30256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30257         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30258         cast from r3.
30259         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
30260         'tests' variable.
30261         * sysdeps/wordsize-64/tst-writev.c: New file.
30263 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
30265         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30266         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30267         insns in _dl_start to prevent a TOC reference before relocs are
30268         resolved.
30270 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
30272         [BZ #12469]
30273         * Makeconfig: Remove RANLIB definition.
30274         * Makerules: Don't use RANLIB.
30275         * aclocal.m4: Remove ranlib test.
30276         * configure.in: No need to check for ranlib.
30277         * elf/rtld-Rules: Don't use RANLIB.
30279 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30281         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30282         protection macro.
30283         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30284         inclusion protection macro.
30286         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30287         SIGRTMIN and SIGRTMAX and print information in that case only when
30288         SIGRTMIN is defined.
30290 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
30292         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30293         arginfo fn returning -1.
30295         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30296         and thousands string is zero terminated.
30298 2011-02-03  Andreas Schwab  <schwab@redhat.com>
30300         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30301         sysdeps/unix/sysv/linux/bits/socket.h.
30303 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30305         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30306         (__CPU_COUNT): Remove old macros.
30307         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30308         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30309         (__CPU_ALLOC, __CPU_FREE): Add macros.
30310         (__sched_cpualloc, __sched_cpufree): Add declarations.
30312 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
30314         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30315         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30316         * nscd/aicache.c (addhstaiX): Return timeout of added value.
30317         (readdhstai): Return value of addhstaiX call.
30318         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30319         (addgrbyX): Return value returned by cache_addgr.
30320         (readdgrbyname): Return value returned by addgrbyX.
30321         (readdgrbygid): Likewise.
30322         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30323         (addpwbyX): Return value returned by cache_addpw.
30324         (readdpwbyname): Return value returned by addhstbyX.
30325         (readdpwbyuid): Likewise.
30326         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30327         (addservbyX): Return value returned by cache_addserv.
30328         (readdservbyname): Return value returned by addservbyX:
30329         (readdservbyport): Likewise.
30330         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30331         (addhstbyX): Return value returned by cache_addhst.
30332         (readdhstbyname): Return value returned by addhstbyX.
30333         (readdhstbyaddr): Likewise.
30334         (readdhstbynamev6): Likewise.
30335         (readdhstbyaddrv6): Likewise.
30336         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30337         (readdinitgroups): Return value returned by addinitgroupsX.
30338         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30339         (prune_cache): Keep track of timeout value of re-added entries.
30340         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30341         * nscd/nscd.h: Adjust prototypes of readd* functions.
30343 2011-02-04  Roland McGrath  <roland@redhat.com>
30345         * nis/nis_server.c (nis_servstate): Use the right name for 0.
30346         (nis_stats): Likewise.
30347         * nis/nis_modify.c (nis_modify): Likewise.
30348         * nis/nis_remove.c (nis_remove): Likewise.
30349         * nis/nis_add.c (nis_add): Likewise.
30351         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30353         * posix/fnmatch_loop.c: Add some consts.
30355         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30357 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
30359         [BZ #12460]
30360         * config.make.in (config-cflags-novzeroupper): Define.
30361         * configure.in: Substitute libc_cv_cc_novzeroupper.
30362         * elf/Makefile (AVX-CFLAGS): Define.
30363         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30364         (CFLAGS-tst-auditmod4a.c): Likewise.
30365         (CFLAGS-tst-auditmod4b.c): Likewise.
30366         (CFLAGS-tst-auditmod6b.c): Likewise.
30367         (CFLAGS-tst-auditmod6c.c): Likewise.
30368         (CFLAGS-tst-auditmod7b.c): Likewise.
30369         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30371 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
30373         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30374         function to the callback.
30375         Patch partly by Jiri Olsa <jolsa@redhat.com>.
30377 2011-02-02  Andreas Schwab  <schwab@redhat.com>
30379         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30380         of errno.
30382 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
30384         [BZ #11724]
30385         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30386         of constructors.
30387         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30388         of destructors.
30389         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30391         [BZ #11724]
30392         * elf/Makefile: Add rules to build and run new test.
30393         * elf/tst-initorder.c: New file.
30394         * elf/tst-initorder.exp: New file.
30395         * elf/tst-initordera1.c: New file.
30396         * elf/tst-initordera2.c: New file.
30397         * elf/tst-initordera3.c: New file.
30398         * elf/tst-initordera4.c: New file.
30399         * elf/tst-initorderb1.c: New file.
30400         * elf/tst-initorderb2.c: New file.
30401         * elf/tst-order-a1.c: New file.
30402         * elf/tst-order-a2.c: New file.
30403         * elf/tst-order-a3.c: New file.
30404         * elf/tst-order-a4.c: New file.
30405         * elf/tst-order-b1.c: New file.
30406         * elf/tst-order-b2.c: New file.
30407         * elf/tst-order-main.c: New file.
30408         New test case by George Gensure <werkt0@gmail.com>.
30410 2010-10-01  Andreas Schwab  <schwab@redhat.com>
30412         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30413         decoding ACE if AI_CANONIDN.
30415 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
30417         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30419 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
30421         * version.h (RELEASE): Bump for 2.13 release.
30422         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30424         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30426         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30427         MADV_NOHUGEPAGE.
30428         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30429         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30430         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30431         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30432         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30433         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30435         * posix/getconf.c: Update copyright year.
30436         * catgets/gencat.c: Likewise.
30437         * csu/version.c: Likewise.
30438         * debug/catchsegv.sh: Likewise.
30439         * debug/xtrace.sh: Likewise.
30440         * elf/ldconfig.c: Likewise.
30441         * elf/ldd.bash.in: Likewise.
30442         * elf/sprof.c (print_version): Likewise.
30443         * iconv/iconv_prog.c: Likewise.
30444         * iconv/iconvconfig.c: Likewise.
30445         * locale/programs/locale.c: Likewise.
30446         * locale/programs/localedef.c: Likewise.
30447         * malloc/memusage.sh: Likewise.
30448         * malloc/mtrace.pl: Likewise.
30449         * nscd/nscd.c (print_version): Likewise.
30450         * nss/getent.c: Likewise.
30452         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30453         PF_CAIF, and PF_ALG.
30454         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30456 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
30458         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30459         (modules-names): Use them.
30460         (ifunc-test-modules, ifunc-pie-tests): Define.
30461         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30462         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30463         (test-extras): Likewise.
30464         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30465         $(compile-command.c).
30466         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30467         (all-built-dso): Define.
30468         (check-textrel.out, check-execstack.out): Depend on it.
30470         * configure.in: Don't override --enable-multi-arch.
30472 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
30474         [BZ #6812]
30475         * nscd/hstcache.c (tryagain): Define.
30476         (cache_addhst): Return tryagain not notfound for temporary errors.
30477         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30478         failed.
30480 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
30482         [BZ #10563]
30483         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30484         to make the syscall.
30485         * sysdeps/unix/sysv/linux/setgroups.c: New file.
30487         [BZ #12378]
30488         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30489         and fall back to matching as normal character if the string ends before
30490         the matching ']' is found.  This is what POSIX requires.
30491         * posix/testfnm.c: Adjust test result.
30492         * posix/globtest.sh: Adjust test result.  Add new test.
30493         * posix/tst-fnmatch.input: Likewise.
30494         * posix/tst-fnmatch2.c: Add new test.
30496 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
30498         * elf/Makefile (check-execstack): Revert last change.  Depend on
30499         check-execstack.h.
30500         (check-execstack.h): New target.
30501         (generated): Add check-execstack.h.
30502         * elf/check-execstack.c: Include "check-execstack.h".
30503         (main): Revert last change.
30504         (handle_file): Return zero if GNU_STACK is absent and
30505         DEFAULT_STACK_PERMS doesn't include PF_X.
30507 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
30509         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30510         in child fails because the descriptor is already closed.
30511         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30512         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30513         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
30515         [BZ #12397]
30516         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30517         syscall.
30519         [BZ #10484]
30520         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30521         temporary buffer used to handle multi lookups locally.
30522         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
30524 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
30526         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30527         loader is ld.so.
30529 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
30531         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30532         alignment for SSE2.
30534 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
30536         [BZ #12394]
30537         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30538         characters.  When rounding increased number of integer digits recompute
30539         number of groups.
30540         * stdio-common/tst-grouping.c: New file.
30541         * stdio-common/Makefile: Add rules to build and run tst-grouping.
30543 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
30545         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30546         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
30548         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30549         void.
30550         * bits/select.h: Likewise.
30552 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
30554         * po/ja.po: Update from translation team.
30556 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
30558         [BZ #11155]
30559         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30560         implementation just like for lxstat, fxstatat, et al.
30562 2010-12-27  Jim Meyering  <meyering@redhat.com>
30564         [BZ #12348]
30565         * posix/regexec.c (build_trtable): Return failure indication upon
30566         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
30568 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
30570         [BZ #12201]
30571         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30572         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30573         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30574         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30576         [BZ #12207]
30577         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30579         [BZ #12204]
30580         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30581         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30583 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
30585         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30586         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30587         script has SORT_BY_INIT_PRIORITY.
30588         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30589         NO_CTORS_DTORS_SECTIONS is defined.
30590         * elf/soinit.c: Likewise.
30591         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30592         NO_CTORS_DTORS_SECTIONS is defined.
30593         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30594         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30595         * sysdeps/sh/init-first.c: Likewise.
30596         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30598 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
30600         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30601         always use the slow path.
30603 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
30605         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30606         similar rule which adds the sysdep directories to the header search in
30607         order to pick up the correct platform stackinfo.h.
30608         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30609         perform test if it is, otherwise return successfully without testing.
30610         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30611         DEFAULT_STACK_PERMS define in stackinfo.h.
30612         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30613         defined in stackinfo.h.
30614         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30615         DEFAULT_STACK_PERMS defined in stackinfo.h.
30616         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30617         * sysdeps/ia64/stackinfo.h: Likewise.
30618         * sysdeps/s390/stackinfo.h: Likewise.
30619         * sysdeps/sh/stackinfo.h: Likewise.
30620         * sysdeps/sparc/stackinfo.h: Likewise.
30621         * sysdeps/x86_64/stackinfo.h: Likewise.
30622         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30623         PF_X for powerpc64.  Retain PF_X for powerpc32.
30625 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
30627         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30628         accurately.
30629         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30630         GETDENTS_64BIT_ALIGNED.
30632 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
30634         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
30636 2010-12-10  Andreas Schwab  <schwab@redhat.com>
30638         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30639         _GNU_SOURCE.
30641         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30642         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30643         Remove __restrict.
30644         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30645         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30647 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
30649         [BZ #11655]
30650         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30651         are initialized.
30653 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
30655         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30657 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
30659         * po/it.po: Update from translation team.
30661 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
30663         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30664         unused codes.
30666 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
30668         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30670 2010-11-24  Andreas Schwab  <schwab@redhat.com>
30672         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30673         specially.
30674         (gaih_getanswer_slice): Likewise.
30676 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
30678         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30680 2010-05-31  Petr Baudis  <pasky@suse.cz>
30682         [BZ #11149]
30683         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30684         silently even in the chroot mode.
30686 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
30688         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30689         last patch a bit.  Pretty printing
30691 2010-05-31  Petr Baudis <pasky@suse.cz>
30693         [BZ #10085]
30694         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30695         initialization of skip_initgroups_dyn.
30697 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
30699         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30700         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30702 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
30704         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30706 2010-11-11  Andreas Schwab  <schwab@redhat.com>
30708         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30709         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30710         (tst-fnmatch-ENV): Set MALLOC_TRACE.
30711         ($(objpfx)tst-fnmatch-mem): New rule.
30712         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30713         * posix/tst-fnmatch.c (main): Call mtrace.
30715 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
30717         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30718         Support Intel processor model 6 and model 0x2c.
30720 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
30722         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30723           signed comparison.
30725 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
30727         [BZ #12205]
30728         * string/test-strncasecmp.c (check_result): New function.
30729         (do_one_test): Use it.
30730         (check1): New function.
30731         (test_main): Use it.
30732         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30733         Support strcasecmp and strncasecmp.
30735 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
30737         [BZ #12194]
30738         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30739         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30741 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
30743         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30744         IFUNC support.
30745         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30746         memset-x86-64.
30747         * sysdeps/x86_64/multiarch/bzero.S: New file.
30748         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30749         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30750         * sysdeps/x86_64/multiarch/memset.S: New file.
30751         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30752         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30753         Set bit_Prefer_SSE_for_memop for Intel processors.
30754         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30755         Define.
30756         (index_Prefer_SSE_for_memop): Define.
30757         (HAS_PREFER_SSE_FOR_MEMOP): Define.
30759 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
30761         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30762         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30764 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
30766         [BZ #12191]
30767         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30768         (__x86_64_raw_data_cache_size_half): Likewise.
30769         (__x86_64_raw_shared_cache_size): Likewise.
30770         (__x86_64_raw_shared_cache_size_half): Likewise.
30772         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30773         (__x86_64_raw_data_cache_size_half): Likewise.
30774         (__x86_64_raw_shared_cache_size): Likewise.
30775         (__x86_64_raw_shared_cache_size_half): Likewise.
30776         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30777         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30778         and __x86_64_raw_shared_cache_size_half.  Round
30779         __x86_64_data_cache_size_half, __x86_64_data_cache_size
30780         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30781         to multiple of 256 bytes.
30783 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
30785         [BZ #12167]
30786         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30787         of inacessible symlinks.  Verify result of symlink before returning it.
30788         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30789         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30791 2010-10-28  Erich Ritz  <erichritz@gmail.com>
30793         * math/math.h (isinf): Fix typo in comment.
30795 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
30797         * po/da.po: Update from translation team.
30799 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
30801         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30802         is added to the list.
30804 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30805             Ulrich Drepper  <drepper@gmail.com>
30807         * elf/dl-object.c (_dl_new_object): Don't append the new object to
30808         the global list here.  Move code to...
30809         (_dl_add_to_namespace_list): ...here.  New function.
30810         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30811         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30812         * elf/dl-load.c (lose): Don't remove the element from the list.
30813         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30814         (_dl_map_object): Likewise.
30816 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
30818         [BZ #12159]
30819         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30820         into all bytes of SSE register.
30821         Patch by Richard Li <richardpku@gmail.com>.
30823 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
30825         [BZ #12140]
30826         * malloc/malloc.c (_int_free): Fill correct number of bytes when
30827         perturbing.
30829 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
30831         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30832         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30833         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30834         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30836         submachine.
30837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30839 2010-10-22  Andreas Schwab  <schwab@redhat.com>
30841         * include/dlfcn.h (__RTLD_SECURE): Define.
30842         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
30843         mode & __RTLD_SECURE instead.
30844         (open_path): Rename preloaded parameter to secure.
30845         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30846         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30847         * elf/dl-deps.c (openaux): Likewise.
30848         * elf/rtld.c (struct map_args): Remove is_preloaded.
30849         (map_doit): Don't use it.
30850         (dl_main): Likewise.
30851         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30852         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30854 2010-09-09  Andreas Schwab  <schwab@redhat.com>
30856         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30857         (sysd-rules-targets): Remove duplicates.
30858         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30859         rtld-%.$o dependency.
30861 2010-10-18  Andreas Schwab  <schwab@redhat.com>
30863         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30864         _dl_map_object do it.
30866 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
30868         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30869         fast fma builtins, define the macros in the C99 standard.
30870         (FP_FAST_FMAF): Likewise.
30871         (FP_FAST_FMAL): Likewise.
30872         * sysdeps/x86_64/bits/mathdef.h: Likewise.
30874         * bits/mathdef.h: Update copyright year.
30875         * sysdeps/powerpc/bits/mathdef.h: Likewise.
30877 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
30879         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30880         builtins, define the macros in the C99 standard.
30881         (FP_FAST_FMAF): Likewise.
30882         (FP_FAST_FMAL): Likewise.
30883         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30884         multiply/add.
30885         (FP_FAST_FMAF): Likewise.
30887 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
30889         [BZ #3268]
30890         * math/libm-test.inc (fma_test): Some new testcases.
30891         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30892         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30893         y and infinite z.  Do multiplication by C already in long double.
30894         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30895         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30896         y and infinite z.  Do bitwise or of inexact bit into u.d.
30897         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30898         * sysdeps/i386/fpu/s_fmaf.S: Removed.
30899         * sysdeps/i386/fpu/s_fma.S: Removed.
30900         * sysdeps/i386/fpu/s_fmal.S: Removed.
30902 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
30904         [BZ #3268]
30905         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30906         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30907         computation is not scheduled after fetestexcept.  Fix value
30908         of minimum denormal long double.
30910 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
30912         [BZ #3268]
30913         * math/libm-test.inc (fma_test): Add some more tests.
30914         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30915         correctly.
30917 2010-10-15  Andreas Schwab  <schwab@redhat.com>
30919         * scripts/data/localplt-s390-linux-gnu.data: New file.
30920         * scripts/data/localplt-s390x-linux-gnu.data: New file.
30922 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
30924         [BZ #3268]
30925         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30926         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30927         instead of dbl-64.
30928         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30929         inlines.
30930         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30931         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30932         if one of x and y is very large and the other is subnormal.
30933         * sysdeps/s390/fpu/s_fmaf.c: New file.
30934         * sysdeps/s390/fpu/s_fma.c: New file.
30935         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30936         * sysdeps/powerpc/fpu/s_fma.S: New file.
30937         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30938         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30939         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30941 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
30943         [BZ #3268]
30944         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30945         fma tests.
30946         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30947         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30948         * sysdeps/i386/i686/multiarch/s_fma.c: Include
30949         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30950         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30951         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30952         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30954 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
30956         [BZ #12078]
30957         * posix/regcomp.c (parse_branch): One more memory leak plugged.
30958         * posix/bug-regex31.input: Add test case.
30960 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
30962         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30963         * posix/bug-regex31.input: New file.
30965         [BZ #12078]
30966         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30967         (parse_sub_exp): Fix last change, use postorder.
30969         * posix/bug-regex31.c: New file.
30970         * posix/Makefile: Add rules to build and run bug-regex31.
30972         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30974         [BZ #12078]
30975         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30977         [BZ #12108]
30978         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30979         to have entries in sys_siglist.
30981         [BZ #12093]
30982         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30983         be NULL.
30985 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
30987         [BZ #3268]
30988         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30989         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30990         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30991         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30992         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30993         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30994         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30995         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30996         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30997         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30998         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30999         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31000         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31001         * math/ftestexcept.c (fetestexcept): Likewise.
31002         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31003         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31004         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31005         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31006         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31007         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31008         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31010 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
31012         [BZ #12107]
31013         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31014         newline.
31016 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
31018         * string/bug-strstr1.c: New file.
31019         * string/Makefile: Add rules to build and run bug-strstr1.
31021 2010-10-05  Eric Blake  <eblake@redhat.com>
31023         [BZ #12092]
31024         * string/str-two-way.h (two_way_long_needle): Always clear memory
31025         when skipping input due to the shift table.
31027 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
31029         [BZ #12005]
31030         * malloc/mcheck.c: Handle large requests.
31032         [BZ #12077]
31033         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31034         for strncmp and strncasecmp.
31035         * string/stratcliff.c: Add tests for strcmp and strncmp.
31036         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31038 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31040         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31041         __set_fpscr.
31043 2010-09-30  Andreas Jaeger  <aj@suse.de>
31045         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31046         (CGROUP_SUPER_MAGIC): Define.
31047         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31048         Handle btrfs and cgroup file systems.
31049         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31050         Likewise.
31052 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
31054         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31055         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31057 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31059         [BZ #12067]
31060         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31061         trying to locate the ELF header.
31063 2010-09-27  Andreas Schwab  <schwab@redhat.com>
31065         [BZ #11611]
31066         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31067         Mask out sign-bit copies when constructing f_fsid.
31069 2010-09-24  Petr Baudis <pasky@suse.cz>
31071         * debug/stack_chk_fail_local.c: Add missing licence exception.
31072         * debug/warning-nop.c: Likewise.
31074 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
31076         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31077         implementing getdents64 using getdents syscall, set d_type if
31078         __ASSUME_GETDENTS32_D_TYPE.
31080 2010-09-16  Andreas Schwab  <schwab@redhat.com>
31082         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31083         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31085 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
31087         [BZ #12037]
31088         * posix/unistd.h: Undo change of feature selection for ftruncate from
31089         2010-01-11.
31091 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
31093         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
31094         detection.
31096 2010-09-20  Andreas Schwab  <schwab@redhat.com>
31098         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31099         fanotify_mark.
31100         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31102 2010-09-14  Andreas Schwab  <schwab@redhat.com>
31104         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31105         variables after CHECK_SP call.
31106         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31108 2010-09-13  Andreas Schwab  <schwab@redhat.com>
31109             Ulrich Drepper  <drepper@redhat.com>
31111         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31112         re-relocationg ld.so.
31113         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31114         _dl_init_paths call.
31115         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
31116         here anymore.
31118 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
31120         * resolv/res_init.c (__res_vinit): Count the default server we added.
31122 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
31123             Ulrich Drepper  <drepper@redhat.com>
31125         [BZ #11968]
31126         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31127         (____longjmp_chk): Use %ebx for saving value across system call.
31128         Add unwind info.
31130 2010-09-06  Andreas Schwab  <schwab@redhat.com>
31132         * manual/Makefile: Don't mix pattern rules with normal rules.
31134 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31136         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31137         operation.
31138         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31139         * libio/iofopncook.c (_IO_cookie_init): Likewise.
31140         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31141         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31142         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31143         Likewise.
31145 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
31147         [BZ #11979]
31148         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31149         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31151 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
31153         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31154         * sysdeps/x86_64/addmul_1.S: Likewise.
31155         * sysdeps/x86_64/lshift.S: Likewise.
31156         * sysdeps/x86_64/mul_1.S: Likewise.
31157         * sysdeps/x86_64/rshift.S: Likewise.
31158         * sysdeps/x86_64/sub_n.S: Likewise.
31159         * sysdeps/x86_64/submul_1.S: Likewise.
31161 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31163         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31164         Define __sched_param instead of SCHED_* and sched_param when
31165         <bits/sched.h> is included with __need_schedparam defined.
31166         * bits/sched.h [__need_schedparam]
31167         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
31168         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31169         (__defined_schedparam): Define to 1.
31170         (__sched_param): New structure, identical to sched_param.
31171         (__need_schedparam): Undefine.
31173 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
31175         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31176         (epoll_create1): Declare.
31178         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31180 2010-08-31  Andreas Schwab  <schwab@redhat.com>
31182         [BZ #7066]
31183         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31184         shifting retval into place.
31186 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
31188         * nis/rpcsvc/nis.h: Update copyright notice.
31189         * nis/rpcsvc/nis.x: Likewise.
31190         * nis/rpcsvc/nis_callback.h: Likewise.
31191         * nis/rpcsvc/nis_callback.x: Likewise.
31192         * nis/rpcsvc/nis_object.x: Likewise.
31193         * nis/rpcsvc/nis_tags.h: Likewise.
31194         * nis/rpcsvc/yp.h: Likewise.
31195         * nis/rpcsvc/yp.x: Likewise.
31196         * nis/rpcsvc/ypupd.h: Likewise.
31197         * nis/yp_xdr.c: Likewise.
31198         * nis/ypupdate_xdr.c: Likewise.
31200         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
31201         mainly the body of pmap_getport.  Add parameters to specify timeouts.
31202         (pmap_getport): Use __libc_rpc_getport.
31203         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31204         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31205         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31207 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
31209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31210         fanotify_mark.
31212 2010-08-27  Roland McGrath  <roland@redhat.com>
31214         * sysdeps/i386/i686/multiarch/Makefile
31215         (CFLAGS-varshift.c): New variable.
31217 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
31219         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31220         * sysdeps/i386/i686/multiarch/varshift.c: New file.
31222         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31224         * sysdeps/x86_64/strlen.S: Minimal code improvement.
31226 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
31228         * sysdeps/x86_64/strlen.S: Unroll the loop.
31229         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31230         strlen-sse2 strlen-sse2-bsf.
31231         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31232         __strlen_no_bsf if bit_Slow_BSF is set.
31233         (__strlen_sse42): Removed.
31234         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31235         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31237 2010-08-25  Roland McGrath  <roland@redhat.com>
31239         * sysdeps/x86_64/multiarch/varshift.S: File removed.
31240         * sysdeps/x86_64/multiarch/varshift.c: New file.
31241         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31242         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31243         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31244         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31246 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31248         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31249         strlen-sse2 strlen-sse2-bsf.
31250         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31251         __strlen_sse2_bsf if bit_Slow_BSF is unset.
31252         (__strlen_sse2): Removed.
31253         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31254         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31255         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31256         bit_Slow_BSF for Atom.
31257         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31258         (index_Slow_BSF): Define.
31259         (HAS_SLOW_BSF): Define.
31261 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
31263         [BZ #10851]
31264         * resolv/res_init.c (__res_vinit): When no server address at all
31265         is given default to loopback.
31267 2010-08-24  Roland McGrath  <roland@redhat.com>
31269         * configure.in: Remove config-name.h generation.
31270         * configure: Regenerated.
31271         * config-name.in: File removed.
31272         * scripts/config-uname.sh: New file.
31273         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31274         ($(objdir)config-name.h): New target.
31276         * sunrpc/rpc_parse.h: Avoid nested comment.
31278 2010-08-24  Richard Henderson  <rth@redhat.com>
31279             Ulrich Drepper  <drepper@redhat.com>
31280             H.J. Lu  <hongjiu.lu@intel.com>
31282         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31283         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31284         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31285         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
31286         _mm_alignr_epi8 with _mm_loadu_si128.
31287         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31288         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31289         (__m128i_shift_right): Removed.
31290         * sysdeps/i386/i686/multiarch/varshift.h: New file.
31291         * sysdeps/i386/i686/multiarch/varshift.S: New file.
31292         * sysdeps/x86_64/multiarch/varshift.h: New file.
31293         * sysdeps/x86_64/multiarch/varshift.S: New file.
31295 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
31297         * configure.in: Move assembler checks to before sysdep dir checking.
31299 2010-08-20  Petr Baudis  <pasky@suse.cz>
31301         * LICENSES: Sync the sunrpc license.
31303 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
31305         * sunrpc/auth_des.c: Update copyright notice once again.
31306         * sunrpc/auth_none.c: Likewise.
31307         * sunrpc/auth_unix.c: Likewise.
31308         * sunrpc/authdes_prot.c: Likewise.
31309         * sunrpc/authuxprot.c: Likewise.
31310         * sunrpc/bindrsvprt.c: Likewise.
31311         * sunrpc/clnt_gen.c: Likewise.
31312         * sunrpc/clnt_perr.c: Likewise.
31313         * sunrpc/clnt_raw.c: Likewise.
31314         * sunrpc/clnt_simp.c: Likewise.
31315         * sunrpc/clnt_tcp.c: Likewise.
31316         * sunrpc/clnt_udp.c: Likewise.
31317         * sunrpc/clnt_unix.c: Likewise.
31318         * sunrpc/des_crypt.c: Likewise.
31319         * sunrpc/des_soft.c: Likewise.
31320         * sunrpc/get_myaddr.c: Likewise.
31321         * sunrpc/getrpcport.c: Likewise.
31322         * sunrpc/key_call.c: Likewise.
31323         * sunrpc/key_prot.c: Likewise.
31324         * sunrpc/openchild.c: Likewise.
31325         * sunrpc/pm_getmaps.c: Likewise.
31326         * sunrpc/pm_getport.c: Likewise.
31327         * sunrpc/pmap_clnt.c: Likewise.
31328         * sunrpc/pmap_prot.c: Likewise.
31329         * sunrpc/pmap_prot2.c: Likewise.
31330         * sunrpc/pmap_rmt.c: Likewise.
31331         * sunrpc/rpc/auth.h: Likewise.
31332         * sunrpc/rpc/auth_unix.h: Likewise.
31333         * sunrpc/rpc/clnt.h: Likewise.
31334         * sunrpc/rpc/des_crypt.h: Likewise.
31335         * sunrpc/rpc/key_prot.h: Likewise.
31336         * sunrpc/rpc/netdb.h: Likewise.
31337         * sunrpc/rpc/pmap_clnt.h: Likewise.
31338         * sunrpc/rpc/pmap_prot.h: Likewise.
31339         * sunrpc/rpc/pmap_rmt.h: Likewise.
31340         * sunrpc/rpc/rpc.h: Likewise.
31341         * sunrpc/rpc/rpc_des.h: Likewise.
31342         * sunrpc/rpc/rpc_msg.h: Likewise.
31343         * sunrpc/rpc/svc.h: Likewise.
31344         * sunrpc/rpc/svc_auth.h: Likewise.
31345         * sunrpc/rpc/types.h: Likewise.
31346         * sunrpc/rpc/xdr.h: Likewise.
31347         * sunrpc/rpc_clntout.c: Likewise.
31348         * sunrpc/rpc_cmsg.c: Likewise.
31349         * sunrpc/rpc_common.c: Likewise.
31350         * sunrpc/rpc_cout.c: Likewise.
31351         * sunrpc/rpc_dtable.c: Likewise.
31352         * sunrpc/rpc_hout.c: Likewise.
31353         * sunrpc/rpc_main.c: Likewise.
31354         * sunrpc/rpc_parse.c: Likewise.
31355         * sunrpc/rpc_parse.h: Likewise.
31356         * sunrpc/rpc_prot.c: Likewise.
31357         * sunrpc/rpc_sample.c: Likewise.
31358         * sunrpc/rpc_scan.c: Likewise.
31359         * sunrpc/rpc_scan.h: Likewise.
31360         * sunrpc/rpc_svcout.c: Likewise.
31361         * sunrpc/rpc_tblout.c: Likewise.
31362         * sunrpc/rpc_util.c: Likewise.
31363         * sunrpc/rpc_util.h: Likewise.
31364         * sunrpc/rpcinfo.c: Likewise.
31365         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31366         * sunrpc/rpcsvc/key_prot.x: Likewise.
31367         * sunrpc/rpcsvc/klm_prot.x: Likewise.
31368         * sunrpc/rpcsvc/mount.x: Likewise.
31369         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31370         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31371         * sunrpc/rpcsvc/rex.x: Likewise.
31372         * sunrpc/rpcsvc/rstat.x: Likewise.
31373         * sunrpc/rpcsvc/rusers.x: Likewise.
31374         * sunrpc/rpcsvc/sm_inter.x: Likewise.
31375         * sunrpc/rpcsvc/spray.x: Likewise.
31376         * sunrpc/rpcsvc/yppasswd.x: Likewise.
31377         * sunrpc/rtime.c: Likewise.
31378         * sunrpc/svc.c: Likewise.
31379         * sunrpc/svc_auth.c: Likewise.
31380         * sunrpc/svc_authux.c: Likewise.
31381         * sunrpc/svc_raw.c: Likewise.
31382         * sunrpc/svc_run.c: Likewise.
31383         * sunrpc/svc_simple.c: Likewise.
31384         * sunrpc/svc_tcp.c: Likewise.
31385         * sunrpc/svc_udp.c: Likewise.
31386         * sunrpc/svc_unix.c: Likewise.
31387         * sunrpc/svcauth_des.c: Likewise.
31388         * sunrpc/xcrypt.c: Likewise.
31389         * sunrpc/xdr.c: Likewise.
31390         * sunrpc/xdr_array.c: Likewise.
31391         * sunrpc/xdr_float.c: Likewise.
31392         * sunrpc/xdr_mem.c: Likewise.
31393         * sunrpc/xdr_rec.c: Likewise.
31394         * sunrpc/xdr_ref.c: Likewise.
31395         * sunrpc/xdr_sizeof.c: Likewise.
31396         * sunrpc/xdr_stdio.c: Likewise.
31398         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31399         handling.
31401 2010-08-19  Andreas Schwab  <schwab@redhat.com>
31403         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31405 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
31407         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31408         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31409         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31410         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31411         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31412         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31413         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31414         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31415         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31416         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31417         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31418         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31419         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31420         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31422 2010-07-26  Anton Blanchard  <anton@samba.org>
31424         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31425         * malloc/arena.c (heap_trim): Likewise.
31427 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
31429         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31430         here.  Not...
31431         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31432         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31434 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
31436         * sysdeps/i386/elf/Makefile: New file.
31438 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
31440         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31441         from fanotify_init.
31442         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31443         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31445 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
31447         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31448         of strncasecmp_l.
31449         * sysdeps/multiarch/strcmp.S: Likewise.
31451 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
31453         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31454         strncase_l-nonascii.
31455         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31456         Add strncase_l-ssse3.
31457         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31458         * sysdeps/x86_64/strcmp.S: Likewise.
31459         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31460         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31461         * sysdeps/x86_64/strncase.S: New file.
31462         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31463         * sysdeps/x86_64/strncase_l.S: New file.
31464         * string/Makefile (strop-tests): Add strncasecmp.
31465         * string/test-strncasecmp.c: New file.
31467         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31468         warning.
31470         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31471         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31473 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
31475         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31477 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
31479         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31480         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31481         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31483 2010-05-01  Alan Modra  <amodra@gmail.com>
31485         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31486         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31487         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31488         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31489         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31490         tidying.  Don't tail-call __sigjmp_save for static lib.
31491         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31492         save location.
31493         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31494         (CALL_MCOUNT): Add eh info, and nop after bl.
31495         (TAIL_CALL_SYSCALL_ERROR): New macro.
31496         (PSEUDO_RET): Use it.
31497         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31498         Correct save location of integer regs and cr.
31499         (_dl_profile_resolve): Correct cr save location.  Delete nops
31500         after bl when SHARED.  Reduce cfi size a little by better
31501         placement of cfi directives.
31502         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31503         make a stack frame.  Instead use parm save area as a temp.
31504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31505         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
31506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31507         Don't make a stack frame for parent, use parm save area.
31508         Increase child stack frame to 112 bytes.  Don't save unused reg,
31509         and adjust reg usage.  Set up cfi on error recovery and
31510         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31512         (__makecontext): Add dummy nop after jump to exit.
31513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31514         Use correct parm save area and cr save, reduce stack frame.
31515         Correct cfi for possible PSEUDO_RET frame setup.
31516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31517         Branch to local label emitted by PSEUDO_RET rather than
31518         __syscall_error.
31520 2010-08-12  Andreas Schwab  <schwab@redhat.com>
31522         [BZ #11904]
31523         * locale/programs/locale.c (print_assignment): New function.
31524         (show_locale_vars): Use it.
31526 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
31528         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31529         field.
31530         (struct statfs64): Likewise.
31531         (_STATFS_F_FLAGS): Define.
31532         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31533         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31534         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31535         (ST_VALID): Define locally.
31536         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31537         __statvfs_getflags, use the provided value.
31538         * sysdeps/unix/sysv/linux/kernel-features.h: Define
31539         __ASSUME_STATFS_F_FLAGS.
31541         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31543         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31544         Add sys/fanotify.h.
31545         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31546         fanotify_mask for GLIBC_2.13.
31547         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31548         fanotify_init and fanotify_mark.
31549         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31550         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31552         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31553         Add prlimit.
31554         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31555         prlimit64 for GLIBC_2.13.
31556         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31557         prlimit64.
31558         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31559         syscall.
31560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31561         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31562         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31563         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31564         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
31565         add prlimit alias.
31566         * sysdeps/unix/sysv/linux/prlimit.c: New file.
31568         [BZ #11903]
31569         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31570         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31572         * nss/Makefile: Add rules to build and run tst-nss-test1.
31573         * shlib-versions: Add entry for libnss_test1.
31574         * nss/nss_test1.c: New file.
31575         * nss/tst-nss-test1.c: New file.
31577         * nss/nsswitch.c (__nss_database_custom): Define new variable.
31578         (__nss_configure_lookup): Set appropriate entry in
31579         __nss_configure_lookup to true.
31580         * nss/nsswitch.h: Define enum with indeces of databases in
31581         databases and __nss_database_custom arrays.  Declare
31582         __nss_database_custom.
31583         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31584         to avoid using nscd when custom rules are installed.
31585         * nss/getXXbyYY_r.c: Likewise.
31586         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31588         * nss/nss_files/files-parse.c: Whitespace fixes.
31590 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
31592         [BZ #11883]
31593         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31594         * posix/fnmatch_loop.c: Likewise.
31596 2010-07-17  Andi Kleen  <ak@linux.intel.com>
31598         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31599         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31600         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31601         * Versions.def [GLIBC_2.13]: Add.
31603 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
31605         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31606         Also fail if tpwd after pwuid call is NULL.
31608 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31610         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31611         when converting to ms.
31613 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31615         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31616         EOPNOTSUPP errors with ENOTTY.
31617         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31618         EOPNOTSUPP errors with ENOTTY.
31620 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
31622         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31623         Add strcasecmp_l-ssse3.
31624         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31625         strcasecmp.
31626         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31627         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31628         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31630 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
31632         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31634         * string/Makefile (strop-tests): Add strcasecmp.
31635         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31636         strcasecmp_l-nonascii.
31637         (gen-as-const-headers): Add locale-defines.sym.
31638         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31639         * sysdeps/x86_64/strcasecmp.S: New file.
31640         * sysdeps/x86_64/strcasecmp_l.S: New file.
31641         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31642         * sysdeps/x86_64/locale-defines.sym: New file.
31643         * string/test-strcasecmp.c: New file.
31645         * string/test-strcasestr.c: Test both ends of the range of characters.
31646         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31648 2010-07-29  Roland McGrath  <roland@redhat.com>
31650         [BZ #11856]
31651         * manual/locale.texi (Yes-or-No Questions): Fix example code.
31653 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
31655         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31656         for ld.so.
31658 2010-07-27  Andreas Schwab  <schwab@redhat.com>
31660         * manual/memory.texi (Malloc Tunable Parameters): Document
31661         M_PERTURB.
31663 2010-07-26  Roland McGrath  <roland@redhat.com>
31665         [BZ #11840]
31666         * configure.in (-fgnu89-inline check): Set and substitute
31667         gnu89_inline, not libc_cv_gnu89_inline.
31668         * configure: Regenerated.
31669         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31671 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
31673         * string/test-strnlen.c: New file.
31674         * string/Makefile (strop-tests): Add strnlen.
31675         * string/tester.c (test_strnlen): Add a few more test cases.
31676         * string/tst-strlen.c: Better error reporting.
31678         * sysdeps/x86_64/strnlen.S: New file.
31680 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
31682         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31683         lower-latency instructions.
31685 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
31687         * string/test-strcasestr.c: New file.
31688         * string/test-strstr.c: New file.
31689         * string/Makefile (strop-tests): Add strstr and strcasestr.
31690         * string/str-two-way.h: Don't undefine MAX.
31691         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31693 2010-07-21  Andreas Schwab  <schwab@redhat.com>
31695         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31696         strcasestr-nonascii.
31697         (CFLAGS-strcasestr-nonascii.c): Define.
31698         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31699         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31700         Remove unused attribute.
31702 2010-07-20  Roland McGrath  <roland@redhat.com>
31704         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31705         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
31706         ld.so.cache was broken.  With it, there is no way to disable dsocaps
31707         like LD_HWCAP_MASK can disable hwcaps.
31709 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
31711         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31713 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
31715         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31716         call in strcasestr.
31717         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31718         __strcasestr_sse42_nonascii.
31719         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31720         strcasestr-nonascii.c.
31721         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31723 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
31725         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31726         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31727         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31728         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31730 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
31732         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31733         fcntl.
31735 2010-07-06  Andreas Schwab  <schwab@redhat.com>
31737         [BZ #11577]
31738         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31739         dl_signal_cerror.
31741 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
31743         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31744         _PC_PIPE_BUF using F_GETPIPE_SZ.
31746 2010-07-05  Roland McGrath  <roland@redhat.com>
31748         * manual/arith.texi (Rounding Functions): Fix rint description
31749         implicit in round description.
31751 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
31753         * elf/Makefile: Fix linking for a few tests to make recent linker
31754         happy.
31756 2010-06-30  Andreas Schwab  <schwab@redhat.com>
31758         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31759         $(common-objpfx)libc_nonshared.a.
31761 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
31763         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31764         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31765         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31766         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31767         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31768         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31769         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31770         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31785         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31786         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31787         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31788         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31789         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31790         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31791         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31792         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31793         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31794         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31795         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31796         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31812 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
31814         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31815         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
31816         * string/memmove.c (memmove): Renamed to ...
31817         (MEMMOVE): ...this.  Default to memmove.
31818         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31819         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31820         (END_CHK): Define.
31821         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31822         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31823         mempcpy-ssse3-back memmove-ssse3-back.
31824         * sysdeps/x86_64/multiarch/bcopy.S: New file .
31825         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31826         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31827         * sysdeps/x86_64/multiarch/memcpy.S: New file.
31828         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31829         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31830         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31831         * sysdeps/x86_64/multiarch/memmove.c: New file.
31832         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31833         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31834         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31835         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31836         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31837         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31838         Define.
31839         (index_Fast_Copy_Backward): Define.
31840         (HAS_ARCH_FEATURE): Define.
31841         (HAS_FAST_REP_STRING): Define.
31842         (HAS_FAST_COPY_BACKWARD): Define.
31844 2010-06-21  Andreas Schwab  <schwab@redhat.com>
31846         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31847         Restore proper fallback handling.
31849 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
31851         [BZ #11701]
31852         * posix/group_member.c (__group_member): Correct checking loop.
31854         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31855         OOM in getpwuid_r correctly.  Return error number when the caller
31856         should return, otherwise -1.
31857         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31858         call returning > 0 value.
31859         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31861 2010-06-07  Andreas Schwab  <schwab@redhat.com>
31863         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31864         libc_nonshared.a from targets in modules-names.
31866 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
31868         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31869         requires it.
31871 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
31873         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31874         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31875         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31876         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31878 2010-06-02  Andreas Schwab  <schwab@redhat.com>
31880         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31882 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
31884         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31885         and F_GETPIPE_SZ.
31886         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31887         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31888         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31889         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31890         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31891         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31893 2010-06-14  Roland McGrath  <roland@redhat.com>
31895         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31897 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
31899         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31900         __REDIRECT followed by __THROW.
31901         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31902         * posix/getopt.h (getopt): Likewise.
31904 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
31906         * hurd/lookup-at.c (__file_name_lookup_at): Accept
31907         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
31908         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31909         in AT_FLAGS.
31910         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31911         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31913 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
31915         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31917 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
31919         [BZ #11640]
31920         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31921         Properly check family and model.
31923 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
31925         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31927 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
31929         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31931 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
31933         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31934         symbol reference.
31936 2010-05-19  Andreas Schwab  <schwab@redhat.com>
31938         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31939         symbol reference.
31941 2010-05-21  Andreas Schwab  <schwab@redhat.com>
31943         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31944         and internal_recvmmsg.
31945         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31946         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31947         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31948         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31950         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31951         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31952         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31954 2010-05-20  Andreas Schwab  <schwab@redhat.com>
31956         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31958 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
31960         POWER7 optimizations.
31961         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31962         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31964 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
31966         * version.h: Update for 2.13 development version.
31968 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
31970         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31971         exceptions.  Return 0.
31973 2010-05-07  Roland McGrath  <roland@redhat.com>
31975         * elf/ldconfig.c (main): Add a const.
31977 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
31979         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31980         (args_options): Add no-idn option.
31981         (ahosts_keys_int): Add idn_flags to ai_flags.
31982         (parse_option): Handle 'i' option to clear idn_flags.
31984         * malloc/malloc.c (_int_free): Possible race in the most recently
31985         added check.  Only act on the data if no current modification
31986         happened.
31988 See ChangeLog.17 for earlier changes.